-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cookies function and dependency libraries
- Loading branch information
Showing
25 changed files
with
4,526 additions
and
18,665 deletions.
There are no files selected for viewing
574 changes: 287 additions & 287 deletions
574
.yarn/releases/yarn-4.5.3.cjs → .yarn/releases/yarn-4.6.0.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.5.3.cjs | ||
yarnPath: .yarn/releases/yarn-4.6.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,31 +16,31 @@ | |
"dependencies": { | ||
"@formkit/auto-animate": "^0.8.2", | ||
"@heroicons/react": "^2.2.0", | ||
"@mui/base": "5.0.0-beta.68", | ||
"@next/third-parties": "15.1.4", | ||
"@mui/base": "5.0.0-beta.69", | ||
"@next/third-parties": "15.1.6", | ||
"@tailwindcss/container-queries": "^0.1.1", | ||
"@types/node": "^22.10.7", | ||
"@types/react": "^19.0.7", | ||
"@types/node": "^22.13.1", | ||
"@types/react": "^19.0.8", | ||
"@types/react-dom": "19.0.3", | ||
"algoliasearch": "5.19.0", | ||
"algoliasearch": "5.20.0", | ||
"autoprefixer": "^10.4.20", | ||
"clsx": "^2.1.1", | ||
"decanter": "^7.3.0", | ||
"decanter": "^7.3.1", | ||
"drupal-jsonapi-params": "^2.3.2", | ||
"graphql": "^16.10.0", | ||
"graphql-request": "^7.1.2", | ||
"graphql-tag": "^2.12.6", | ||
"html-entities": "^2.5.2", | ||
"html-react-parser": "^5.2.2", | ||
"next": "^15.2.0-canary.12", | ||
"next": "^15.1.6", | ||
"plaiceholder": "^3.0.0", | ||
"postcss": "^8.5.1", | ||
"qs": "^6.14.0", | ||
"react": "19.0.0", | ||
"react-dom": "19.0.0", | ||
"react-focus-lock": "^2.13.5", | ||
"react-instantsearch": "^7.15.0", | ||
"react-instantsearch-nextjs": "^0.4.1", | ||
"react-instantsearch": "^7.15.3", | ||
"react-instantsearch-nextjs": "^0.4.4", | ||
"react-slick": "^0.30.3", | ||
"react-tiny-oembed": "^1.1.0", | ||
"sharp": "^0.33.5", | ||
|
@@ -51,36 +51,36 @@ | |
}, | ||
"devDependencies": { | ||
"@graphql-codegen/add": "^5.0.3", | ||
"@graphql-codegen/cli": "^5.0.3", | ||
"@graphql-codegen/cli": "^5.0.4", | ||
"@graphql-codegen/import-types-preset": "^3.0.0", | ||
"@graphql-codegen/typescript-graphql-request": "^6.2.0", | ||
"@graphql-codegen/typescript-operations": "^4.4.0", | ||
"@next/bundle-analyzer": "15.1.4", | ||
"@storybook/addon-essentials": "^8.5.0", | ||
"@storybook/addon-interactions": "^8.5.0", | ||
"@storybook/addon-links": "^8.5.0", | ||
"@graphql-codegen/typescript-operations": "^4.4.1", | ||
"@next/bundle-analyzer": "15.1.6", | ||
"@storybook/addon-essentials": "^8.5.3", | ||
"@storybook/addon-interactions": "^8.5.3", | ||
"@storybook/addon-links": "^8.5.3", | ||
"@storybook/addon-styling": "^1.3.7", | ||
"@storybook/blocks": "^8.5.0", | ||
"@storybook/nextjs": "^8.5.0", | ||
"@storybook/react": "^8.5.0", | ||
"@storybook/blocks": "^8.5.3", | ||
"@storybook/nextjs": "^8.5.3", | ||
"@storybook/react": "^8.5.3", | ||
"@storybook/testing-library": "^0.2.2", | ||
"@types/react-slick": "^0.23.13", | ||
"concurrently": "^9.1.2", | ||
"encoding": "^0.1.13", | ||
"eslint": "9.18.0", | ||
"eslint-config-next": "15.1.4", | ||
"eslint": "9.19.0", | ||
"eslint-config-next": "15.1.6", | ||
"eslint-config-prettier": "^10.0.1", | ||
"eslint-plugin-prettier": "^5.2.2", | ||
"eslint-plugin-prettier": "^5.2.3", | ||
"eslint-plugin-storybook": "^0.11.2", | ||
"prettier": "^3.4.2", | ||
"prettier-plugin-tailwindcss": "^0.6.10", | ||
"react-docgen": "^7.1.0", | ||
"storybook": "^8.5.0", | ||
"prettier-plugin-tailwindcss": "^0.6.11", | ||
"react-docgen": "^7.1.1", | ||
"storybook": "^8.5.3", | ||
"storybook-addon-module-mock": "^1.3.4", | ||
"tsconfig-paths-webpack-plugin": "^4.2.0", | ||
"typescript-eslint": "8.20.0" | ||
"typescript-eslint": "8.23.0" | ||
}, | ||
"packageManager": "yarn@4.5.3", | ||
"packageManager": "yarn@4.6.0", | ||
"resolutions": { | ||
"@types/react": "npm:[email protected]", | ||
"@types/react-dom": "npm:[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import {cookies, type UnsafeUnwrappedCookies} from "next/headers" | ||
import {cookies} from "next/headers" | ||
|
||
/* | ||
* Draft mode works when in normal builds. Use environment variable during development. | ||
*/ | ||
export const isPreviewMode = (): boolean => { | ||
export const isPreviewMode = async (): Promise<boolean> => { | ||
return ( | ||
process.env.NODE_ENV === "development" || | ||
(cookies() as unknown as UnsafeUnwrappedCookies)?.get("preview")?.value === process.env.DRUPAL_PREVIEW_SECRET | ||
(await cookies())?.get("preview")?.value === process.env.DRUPAL_PREVIEW_SECRET | ||
) | ||
} |
Oops, something went wrong.