Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: staylor/react-helmet-async
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b903f505f502cf165ec20ccd8f24ba01df14eafe
Choose a base ref
...
head repository: staylor/react-helmet-async
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4083e9b382ec4c66044151177af70ea09f671767
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Dec 1, 2023

  1. fix: make context.helmet optional in Provider

    yangjieqiang authored and staylor committed Dec 1, 2023
    Copy the full SHA
    ebc8cc4 View commit details
  2. chore: bump deps

    staylor committed Dec 1, 2023
    Copy the full SHA
    4083e9b View commit details
Showing with 555 additions and 484 deletions.
  1. +15 −15 package.json
  2. +1 −1 src/Provider.tsx
  3. +539 −468 yarn.lock
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helmet-async",
"version": "2.0.1",
"version": "2.0.2",
"description": "Thread-safe Helmet for React 16+ and friends",
"sideEffects": false,
"main": "./lib/index.js",
@@ -18,29 +18,29 @@
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@remix-run/eslint-config": "2.2.0",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@types/eslint": "8.44.7",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@remix-run/eslint-config": "2.3.1",
"@testing-library/jest-dom": "6.1.5",
"@testing-library/react": "14.1.2",
"@types/eslint": "8.44.8",
"@types/invariant": "2.2.37",
"@types/jsdom": "21.1.5",
"@types/react": "18.2.36",
"@types/shallowequal": "1.1.3",
"@vitejs/plugin-react": "4.1.1",
"esbuild": "0.19.5",
"eslint": "8.53.0",
"@types/jsdom": "21.1.6",
"@types/react": "18.2.39",
"@types/shallowequal": "1.1.5",
"@vitejs/plugin-react": "4.2.0",
"esbuild": "0.19.8",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.1",
"husky": "8.0.3",
"jsdom": "22.1.0",
"prettier": "3.0.3",
"prettier": "3.1.0",
"raf": "3.4.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "5.0.5",
"tsx": "3.14.0",
"tsx": "4.6.1",
"typescript": "5.2.2",
"vite": "4.5.0",
"vitest": "0.34.6"
2 changes: 1 addition & 1 deletion src/Provider.tsx
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ export const Context = React.createContext(defaultValue);

interface ProviderProps {
context?: {
helmet: HelmetServerState;
helmet?: HelmetServerState;
};
}

Loading