@zuplo/cli 6.70.66 → 6.70.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/node_modules/@fastify/reply-from/node_modules/undici/lib/global.js +1 -1
  2. package/node_modules/@fastify/reply-from/node_modules/undici/package.json +1 -1
  3. package/node_modules/@zuplo/core/package.json +1 -1
  4. package/node_modules/@zuplo/graphql/package.json +1 -1
  5. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  6. package/node_modules/@zuplo/otel/package.json +1 -1
  7. package/node_modules/@zuplo/runtime/out/esm/{chunk-C2TBCXWG.js → chunk-34MOY5RI.js} +1 -1
  8. package/node_modules/@zuplo/runtime/out/esm/{chunk-C2TBCXWG.js.map → chunk-34MOY5RI.js.map} +1 -1
  9. package/node_modules/@zuplo/runtime/out/esm/chunk-IXLWCUYQ.js +356 -0
  10. package/node_modules/@zuplo/runtime/out/esm/chunk-IXLWCUYQ.js.map +1 -0
  11. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  12. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +9 -9
  13. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  14. package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
  15. package/node_modules/@zuplo/runtime/package.json +1 -1
  16. package/node_modules/graphql/package.json +1 -1
  17. package/node_modules/graphql/type/definition.d.ts +20 -20
  18. package/node_modules/graphql/type/definition.js +6 -6
  19. package/node_modules/graphql/type/definition.mjs +6 -6
  20. package/node_modules/graphql/type/directives.d.ts +2 -2
  21. package/node_modules/graphql/type/directives.js +1 -1
  22. package/node_modules/graphql/type/directives.mjs +1 -1
  23. package/node_modules/graphql/type/schema.d.ts +2 -2
  24. package/node_modules/graphql/type/schema.js +1 -1
  25. package/node_modules/graphql/type/schema.mjs +1 -1
  26. package/node_modules/graphql/version.js +2 -2
  27. package/node_modules/graphql/version.mjs +2 -2
  28. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +5 -3
  29. package/node_modules/hono/dist/adapter/lambda-edge/handler.js +8 -2
  30. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +5 -3
  31. package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +8 -2
  32. package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +1 -1
  33. package/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -5
  34. package/node_modules/hono/dist/cjs/middleware/language/language.js +10 -32
  35. package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -1
  36. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +3 -1
  37. package/node_modules/hono/dist/cjs/utils/ipaddr.js +6 -1
  38. package/node_modules/hono/dist/middleware/bearer-auth/index.js +1 -1
  39. package/node_modules/hono/dist/middleware/cors/index.js +2 -5
  40. package/node_modules/hono/dist/middleware/language/language.js +10 -32
  41. package/node_modules/hono/dist/middleware/serve-static/index.js +1 -1
  42. package/node_modules/hono/dist/middleware/timing/timing.js +3 -1
  43. package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -1
  44. package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +1 -1
  45. package/node_modules/hono/dist/utils/ipaddr.js +6 -1
  46. package/node_modules/hono/package.json +18 -10
  47. package/node_modules/side-channel/CHANGELOG.md +10 -0
  48. package/node_modules/side-channel/README.md +1 -1
  49. package/node_modules/side-channel/index.js +5 -2
  50. package/node_modules/side-channel/package.json +10 -10
  51. package/node_modules/side-channel/test/index.js +16 -0
  52. package/package.json +6 -6
  53. package/node_modules/@zuplo/runtime/out/esm/chunk-WDGKR433.js +0 -370
  54. package/node_modules/@zuplo/runtime/out/esm/chunk-WDGKR433.js.map +0 -1
  55. /package/node_modules/@zuplo/runtime/out/esm/{chunk-WDGKR433.js.LEGAL.txt → chunk-IXLWCUYQ.js.LEGAL.txt} +0 -0
@@ -57,5 +57,5 @@ Clone the repo, `npm install`, and run `npm test`
57
57
  [downloads-url]: https://npm-stat.com/charts.html?package=side-channel
58
58
  [codecov-image]: https://codecov.io/gh/ljharb/side-channel/branch/main/graphs/badge.svg
59
59
  [codecov-url]: https://app.codecov.io/gh/ljharb/side-channel/
60
- [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/side-channel
60
+ [actions-image]: https://img.shields.io/github/check-runs/ljharb/side-channel/main
61
61
  [actions-url]: https://github.com/ljharb/side-channel/actions
@@ -18,7 +18,10 @@ module.exports = function getSideChannel() {
18
18
  var channel = {
19
19
  assert: function (key) {
20
20
  if (!channel.has(key)) {
21
- throw new $TypeError('Side channel does not contain ' + inspect(key));
21
+ var keyDesc = key && Object(key) === key
22
+ ? 'the given object key'
23
+ : inspect(key);
24
+ throw new $TypeError('Side channel does not contain ' + keyDesc);
22
25
  }
23
26
  },
24
27
  'delete': function (key) {
@@ -38,6 +41,6 @@ module.exports = function getSideChannel() {
38
41
  $channelData.set(key, value);
39
42
  }
40
43
  };
41
- // @ts-expect-error TODO: figure out why this is erroring
44
+
42
45
  return channel;
43
46
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "side-channel",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -44,23 +44,23 @@
44
44
  "homepage": "https://github.com/ljharb/side-channel#readme",
45
45
  "dependencies": {
46
46
  "es-errors": "^1.3.0",
47
- "object-inspect": "^1.13.3",
48
- "side-channel-list": "^1.0.0",
47
+ "object-inspect": "^1.13.4",
48
+ "side-channel-list": "^1.0.1",
49
49
  "side-channel-map": "^1.0.1",
50
50
  "side-channel-weakmap": "^1.0.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@arethetypeswrong/cli": "^0.17.1",
54
- "@ljharb/eslint-config": "^21.1.1",
55
- "@ljharb/tsconfig": "^0.2.2",
53
+ "@arethetypeswrong/cli": "^0.18.3",
54
+ "@ljharb/eslint-config": "^22.2.3",
55
+ "@ljharb/tsconfig": "^0.3.2",
56
56
  "@types/object-inspect": "^1.13.0",
57
- "@types/tape": "^5.6.5",
58
- "auto-changelog": "^2.5.0",
57
+ "@types/tape": "^5.8.1",
58
+ "auto-changelog": "^2.6.0",
59
59
  "eclint": "^2.8.1",
60
60
  "encoding": "^0.1.13",
61
- "eslint": "=8.8.0",
61
+ "eslint": "^8.57.1",
62
62
  "in-publish": "^2.0.1",
63
- "npmignore": "^0.3.1",
63
+ "npmignore": "^0.3.5",
64
64
  "nyc": "^10.3.2",
65
65
  "safe-publish-latest": "^2.0.0",
66
66
  "tape": "^5.9.0",
@@ -28,6 +28,22 @@ test('getSideChannel', function (t) {
28
28
  channel.set(o, 'data');
29
29
  st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops');
30
30
 
31
+ var accessed = false;
32
+ var trap = {};
33
+ Object.defineProperty(trap, 'foo', {
34
+ enumerable: true,
35
+ get: function () {
36
+ accessed = true;
37
+ return 1;
38
+ }
39
+ });
40
+ st['throws'](
41
+ function () { channel.assert(trap); },
42
+ TypeError,
43
+ 'missing object key throws'
44
+ );
45
+ st.equal(accessed, false, 'a missing object key is not observably accessed');
46
+
31
47
  st.end();
32
48
  });
33
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "6.70.66",
3
+ "version": "6.70.68",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -29,10 +29,10 @@
29
29
  "@opentelemetry/api": "1.9.0",
30
30
  "@sentry/node": "9.22.0",
31
31
  "@swc/core": "1.10.18",
32
- "@zuplo/core": "6.70.66",
32
+ "@zuplo/core": "6.70.68",
33
33
  "@zuplo/editor": "1.0.20821740935",
34
- "@zuplo/openapi-tools": "6.70.66",
35
- "@zuplo/runtime": "6.70.66",
34
+ "@zuplo/openapi-tools": "6.70.68",
35
+ "@zuplo/runtime": "6.70.68",
36
36
  "chalk": "5.4.1",
37
37
  "chokidar": "3.5.3",
38
38
  "cookie": "1.0.2",
@@ -66,8 +66,8 @@
66
66
  "workerd": "1.20241230.0",
67
67
  "yargs": "17.7.2",
68
68
  "zod": "3.25.76",
69
- "@zuplo/graphql": "6.70.66",
70
- "@zuplo/otel": "6.70.66"
69
+ "@zuplo/graphql": "6.70.68",
70
+ "@zuplo/otel": "6.70.68"
71
71
  },
72
72
  "bundleDependencies": [
73
73
  "@fastify/cors",