Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .syncpackrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"label": "Next.js 15 compatibility fixture must stay on 15.x",
"packages": ["next-15"],
"dependencies": ["next"],
"pinVersion": "15.5.26"
"pinVersion": "15.5.27"
},
{
"label": "Next.js 15 fixture keeps its original React release candidate",
Expand Down
1 change: 1 addition & 0 deletions apps/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vercel
.env*.local
.env*
4 changes: 2 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"geist": "1.7.1",
"lucide-react": "^0.555.0",
"motion": "^12.23.25",
"next": "16.3.6",
"next": "16.3.8",
"radix-ui": "latest",
"react": "19.2.4",
"react-dom": "19.2.4",
Expand All @@ -42,7 +42,7 @@
"tailwindcss": "^4.1.17",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"packageManager": "pnpm@10.19.0"
}
4 changes: 2 additions & 2 deletions apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/vercel": "workspace:*",
"flags": "workspace:*",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand All @@ -21,7 +21,7 @@
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"eslint": "^9",
"eslint-config-next": "16.3.6",
"eslint-config-next": "16.3.8",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/shirt-shop-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@upstash/redis": "1.34.4",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/flagsmith/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/flagsmith": "^2.0.0",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/growthbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/growthbook": "^0.3.1",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/launchdarkly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/launchdarkly": "^1.1.1",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/openfeature/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@flags-sdk/openfeature": "^0.1.3",
"@openfeature/server-sdk": "^1.17.1",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/posthog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/posthog": "^1.1.0",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/reflag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/reflag": "^1.0.2",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/statsig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/statsig": "^0.3.1",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/providers/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@flags-sdk/vercel": "^1.5.0",
"flags": "^4.3.1",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"@vercel/toolbar": "0.2.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/shirt-shop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"js-xxhash": "4.0.0",
"motion": "^12.23.25",
"nanoid": "5.1.16",
"next": "16.3.6",
"next": "16.3.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"sonner": "^2.0.7"
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"clsx": "^2.1.1",
"flags": "workspace:*",
"nanoid": "5.1.16",
"next": "16.3.6",
"next": "16.3.8",
"next-themes": "0.4.4",
"react": "19.2.4",
"react-dom": "19.2.4",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"gray-matter": "4.0.3",
"husky": "9.0.10",
"lint-staged": "^16.4.0",
"next": "16.3.6",
"next": "16.3.8",
"playwright": "1.56.1",
"publint": "0.3.14",
"react": "canary",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-flagsmith/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-global-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-growthbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-hypertune/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-launchdarkly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-openfeature/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {
"@openfeature/server-sdk": "^1.17.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-optimizely/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-posthog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-reflag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-split/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-statsig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
"@types/node": "22.14.0",
"flags": "workspace:*",
"msw": "2.6.4",
"next": "16.3.6",
"next": "16.3.8",
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {
"flags": "*"
Expand Down
6 changes: 3 additions & 3 deletions packages/flags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@
"jose": "^5.10.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@arethetypeswrong/cli": "0.18.5",
"@types/node": "22.14.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@sveltejs/kit": "^2.70.1",
"@vitejs/plugin-react": "6.0.4",
"msw": "2.6.4",
"next": "16.3.6",
"next": "16.3.8",
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {
"@opentelemetry/api": "^1.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/prepare-flags-definitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/vercel-flags-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
"js-xxhash": "4.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@arethetypeswrong/cli": "0.18.5",
"@types/node": "22.14.0",
"next": "16.3.6",
"next": "16.3.8",
"tsup": "8.5.1",
"typescript": "^5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10"
"vitest": "4.1.11"
},
"peerDependencies": {
"@openfeature/server-sdk": "1.18.0",
Expand Down
62 changes: 62 additions & 0 deletions patches/js-yaml@3.15.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
diff --git a/bin/js-yaml.js b/bin/js-yaml.js
index e79186be6f56f1d92de9bcd4fa4b10fff9564795..aef99e12d4416a83139e2a7c9e837586565f21d0 100755
--- a/bin/js-yaml.js
+++ b/bin/js-yaml.js
@@ -23,42 +23,45 @@ var yaml = require('..');

var cli = new argparse.ArgumentParser({
prog: 'js-yaml',
- version: require('../package.json').version,
- addHelp: true
+ add_help: true
});

+cli.add_argument('-v', '--version', {
+ action: 'version',
+ version: require('../package.json').version
+});

-cli.addArgument([ '-c', '--compact' ], {
+cli.add_argument('-c', '--compact', {
help: 'Display errors in compact mode',
- action: 'storeTrue'
+ action: 'store_true'
});


// deprecated (not needed after we removed output colors)
// option suppressed, but not completely removed for compatibility
-cli.addArgument([ '-j', '--to-json' ], {
- help: argparse.Const.SUPPRESS,
+cli.add_argument('-j', '--to-json', {
+ help: argparse.SUPPRESS,
dest: 'json',
- action: 'storeTrue'
+ action: 'store_true'
});


-cli.addArgument([ '-t', '--trace' ], {
+cli.add_argument('-t', '--trace', {
help: 'Show stack trace on error',
- action: 'storeTrue'
+ action: 'store_true'
});

-cli.addArgument([ 'file' ], {
+cli.add_argument('file', {
help: 'File to read, utf-8 encoded without BOM',
nargs: '?',
- defaultValue: '-'
+ default: '-'
});


////////////////////////////////////////////////////////////////////////////////


-var options = cli.parseArgs();
+var options = cli.parse_args();


////////////////////////////////////////////////////////////////////////////////
Loading
Loading