Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcodes committed May 14, 2024
2 parents 087325d + a72d5e1 commit d48335e
Show file tree
Hide file tree
Showing 7 changed files with 6,203 additions and 3,257 deletions.
1 change: 0 additions & 1 deletion lib/@dsvgui/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const defaultConfig = {
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-mdx-gfm",
],
framework: {
name: "@storybook/nextjs",
Expand Down
2 changes: 1 addition & 1 deletion lib/@dsvgui/document/document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const Document: React.FC<IDocumentProps> = (props) => {
w + margin + padding
} ${h + margin + padding}`}
fill="none"
{...rest}
// {...rest}
dangerouslySetInnerHTML={undefined}
>
<Style />
Expand Down
9,318 changes: 6,135 additions & 3,183 deletions lib/@dsvgui/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions lib/@dsvgui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"author": "sametcodes",
"license": "ISC",
"dependencies": {
"@storybook/addon-essentials": "^7.0.6",
"@storybook/addon-interactions": "^7.0.6",
"@storybook/addon-links": "^7.0.6",
"@storybook/blocks": "^7.0.6",
"@storybook/nextjs": "^7.0.6",
"@storybook/addon-essentials": "^7.6.19",
"@storybook/addon-interactions": "^7.6.19",
"@storybook/addon-links": "^7.6.19",
"@storybook/blocks": "^7.6.19",
"@storybook/nextjs": "^7.6.19",
"@storybook/react": "^7.0.6",
"@storybook/testing-library": "^0.1.0",
"buffer": "^6.0.3",
Expand Down
121 changes: 58 additions & 63 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@types/passport-github2": "^1.2.5",
"@types/passport-oauth2": "^1.4.12",
"@types/passport-oauth2-refresh": "^1.1.1",
"@types/react": "18.0.24",
"@types/react": "18.3.2",
"@types/react-dom": "18.0.8",
"@types/testing-library__jest-dom": "^5.14.5",
"autoprefixer": "^10.4.14",
Expand All @@ -77,7 +77,7 @@
"jest-environment-jsdom": "^29.4.3",
"jsdoc": "^4.0.2",
"jsdoc-api": "^8.0.0",
"next": "^13.5.6",
"next": "^14.1.1",
"next-test-api-route-handler": "^3.1.8",
"node-fetch": "^3.3.1",
"postcss": "^8.4.31",
Expand Down
4 changes: 2 additions & 2 deletions pages/api/view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import {
validatePublicRequest,
validatePublicBody,
} from "@/middlewares/api/public";
// import { setCacheControl } from "@/middlewares/api/cache";
import { setCacheControl } from "@/middlewares/api/cache";
import handlePlatformAPI from "@/services/api/handler";

export default nextConnect()
.use(validatePublicRequest)
.use(validatePublicBody)
.use(resolveHandler)
// .use(setCacheControl)
.use(setCacheControl)
.get((req: NextApiRequest, res: NextApiResponse) => {
const { services, templates, query, config } = res.locals;
return handlePlatformAPI(services, templates, query, config)(req, res);
Expand Down

0 comments on commit d48335e

Please sign in to comment.