Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
enykeev committed Mar 5, 2024
1 parent 32df5bc commit 57cfa04
Show file tree
Hide file tree
Showing 13 changed files with 15,522 additions and 10,789 deletions.
Binary file modified bun.lockb
Binary file not shown.
26,189 changes: 15,482 additions & 10,707 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ program
token: "secret",
});
const flags = await client.getFlags();
console.log(flags);
await Bun.write(Bun.stdout, drawTable(FLAG_COLS, flags) + "\n");
});

Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "module",
"dependencies": {
"cliui": "^8.0.1",
"commander": "^11.0.0",
"ora": "^7.0.1",
"zod": "^3.21.4"
"commander": "^12.0.0",
"ora": "^8.0.1",
"zod": "^3.22.4"
}
}
2 changes: 1 addition & 1 deletion packages/core/auth/bearer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const BearerMiddleware = () => {
return await next();
}

const header = c.req.headers.get("Authorization");
const header = c.req.header("Authorization");
if (!header) {
return c.json({ error: "unauthorized" }, 401);
}
Expand Down
18 changes: 9 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "@feature-flag-service/core",
"type": "module",
"dependencies": {
"autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.18",
"drizzle-kit": "^0.20.14",
"drizzle-orm": "^0.29.4",
"esbuild": "^0.19.1",
"esbuild": "^0.20.1",
"esbuild-plugin-solid": "^0.5.0",
"esbuild-sass-plugin": "^2.10.0",
"hono": "^3.3.4",
"oauth4webapi": "^2.3.0",
"pino": "^8.15.0",
"postcss": "^8.4.27",
"esbuild-sass-plugin": "^3.1.0",
"hono": "^4.0.9",
"oauth4webapi": "^2.10.3",
"pino": "^8.19.0",
"postcss": "^8.4.35",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.1.1",
"zod": "^3.21.4"
"postcss-preset-env": "^9.4.0",
"zod": "^3.22.4"
},
"scripts": {
"postinstall": "patch-package"
Expand Down
12 changes: 6 additions & 6 deletions packages/demo-log-analytics-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@reduxjs/toolkit": "^2.2.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.6",
"react-redux": "^9.1.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
"web-vitals": "^3.5.2"
},
"scripts": {
"start": "PORT=4000 react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion packages/filter-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"type": "module",
"dependencies": {},
"devDependencies": {
"mitata": "^0.1.6"
"mitata": "^0.1.11"
}
}
6 changes: 3 additions & 3 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"react": "^16.8 || ^17.0 || ^18.0"
},
"devDependencies": {
"tsup": "^7.2.0",
"tsup-preset-solid": "^2.1.0",
"typescript": "^5.2.2"
"tsup": "^8.0.2",
"tsup-preset-solid": "^2.2.0",
"typescript": "^5.3.3"
},
"main": "./dist/index/index.js",
"types": "./dist/index/index.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "@feature-flag-service/web",
"type": "module",
"dependencies": {
"@kobalte/core": "^0.10.0",
"@tanstack/solid-table": "^8.9.3",
"solid-icons": "^1.0.11",
"solid-js": "^1.7.9",
"solid-spinner": "^0.1.9",
"temporal-polyfill": "^0.1.1"
"@kobalte/core": "^0.12.3",
"@tanstack/solid-table": "^8.13.2",
"solid-icons": "^1.1.0",
"solid-js": "^1.8.15",
"solid-spinner": "^0.2.0",
"temporal-polyfill": "^0.2.3"
}
}
14 changes: 0 additions & 14 deletions patches/esbuild-plugin-solid+0.5.0.patch

This file was deleted.

37 changes: 10 additions & 27 deletions patches/mitata+0.1.6.patch → patches/mitata+0.1.11.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/mitata/src/cli.d.ts b/node_modules/mitata/src/cli.d.ts
index 7da4829..b04aa9b 100644
index acd42b3..415130f 100644
--- a/node_modules/mitata/src/cli.d.ts
+++ b/node_modules/mitata/src/cli.d.ts
@@ -5,6 +5,8 @@ export function group(fn: () => void): void;
Expand All @@ -10,9 +10,9 @@ index 7da4829..b04aa9b 100644
+
export function run(options?: {
avg?: boolean,
colors?: boolean,
silent?: boolean,
diff --git a/node_modules/mitata/src/cli.mjs b/node_modules/mitata/src/cli.mjs
index 9204ad5..ce5d847 100644
index 45be23e..651a206 100644
--- a/node_modules/mitata/src/cli.mjs
+++ b/node_modules/mitata/src/cli.mjs
@@ -32,6 +32,7 @@ export function bench(name, fn) {
Expand All @@ -23,7 +23,7 @@ index 9204ad5..ce5d847 100644
async: AsyncFunction === fn.constructor,
});
};
@@ -47,10 +48,26 @@ export function baseline(name, fn) {
@@ -47,10 +48,27 @@ export function baseline(name, fn) {
time: 500,
warmup: true,
baseline: true,
Expand All @@ -35,7 +35,7 @@ index 9204ad5..ce5d847 100644
+export function prepare(name, fn) {
+ if ([Function, AsyncFunction].includes(name.constructor)) (fn = name, name = fn.name);
+ if (![Function, AsyncFunction].includes(fn.constructor)) throw new TypeError(`expected function, got ${fn.constructor.name}`);
+
+
+ benchmarks.push({
+ fn,
+ name,
Expand All @@ -47,10 +47,11 @@ index 9204ad5..ce5d847 100644
+ async: AsyncFunction === fn.constructor,
+ });
+}
+
let _print;

try {
@@ -204,6 +221,11 @@ export async function run(opts = {}) {
@@ -243,6 +261,11 @@ export async function run(opts = {}) {
_f = true;

try {
Expand All @@ -59,19 +60,10 @@ index 9204ad5..ce5d847 100644
+ continue;
+ }
+
b.stats = !b.async ? await sync(b.time, b.fn, collect) : await async(b.time, b.fn, collect);

b.stats = (await measure(b.fn, {})).stats;
if (!json) log(table.benchmark(b.name, b.stats, opts));
@@ -215,7 +237,7 @@ export async function run(opts = {}) {
}
}

- if (_b && !json) log('\n' + table.summary(benchmarks.filter(b => null === b.group), opts));
+ if (_b && !json) log('\n' + table.summary(benchmarks.filter(b => null === b.group && !b.hook), opts));

for (const group of groups) {
if (!json) {
@@ -229,6 +251,11 @@ export async function run(opts = {}) {
@@ -267,6 +290,11 @@ export async function run(opts = {}) {
if (group !== b.group) continue;

try {
Expand All @@ -80,15 +72,6 @@ index 9204ad5..ce5d847 100644
+ continue;
+ }
+
b.stats = !b.async ? await sync(b.time, b.fn, collect) : await async(b.time, b.fn, collect);

b.stats = (await measure(b.fn, {})).stats;
if (!json) log(table.benchmark(b.name, b.stats, opts));
@@ -240,7 +267,7 @@ export async function run(opts = {}) {
}
}

- if (summaries[group] && !json) log('\n' + table.summary(benchmarks.filter(b => group === b.group), opts));
+ if (summaries[group] && !json) log('\n' + table.summary(benchmarks.filter(b => group === b.group && !b.hook), opts));
}

if (json) log(JSON.stringify(report, null, 'number' !== typeof opts.json ? 0 : opts.json));
12 changes: 0 additions & 12 deletions patches/solid-spinner+0.1.9.patch

This file was deleted.

0 comments on commit 57cfa04

Please sign in to comment.