step-node-agent 3.24.2 → 3.24.4

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 (44) hide show
  1. package/node_modules/express/History.md +14 -5
  2. package/node_modules/express/Readme.md +1 -1
  3. package/node_modules/express/lib/router/index.js +1 -1
  4. package/node_modules/express/lib/router/route.js +7 -2
  5. package/node_modules/express/lib/utils.js +3 -4
  6. package/node_modules/express/package.json +5 -6
  7. package/node_modules/hasown/CHANGELOG.md +12 -0
  8. package/node_modules/hasown/index.d.ts +2 -2
  9. package/node_modules/hasown/package.json +5 -2
  10. package/node_modules/hasown/tsconfig.json +3 -46
  11. package/node_modules/set-function-length/CHANGELOG.md +11 -0
  12. package/node_modules/set-function-length/env.d.ts +9 -6
  13. package/node_modules/set-function-length/env.js +1 -0
  14. package/node_modules/set-function-length/index.d.ts +6 -6
  15. package/node_modules/set-function-length/index.js +1 -3
  16. package/node_modules/set-function-length/package.json +11 -13
  17. package/node_modules/set-function-length/tsconfig.json +7 -57
  18. package/node_modules/side-channel/CHANGELOG.md +9 -0
  19. package/node_modules/side-channel/index.d.ts +27 -0
  20. package/node_modules/side-channel/index.js +19 -7
  21. package/node_modules/side-channel/package.json +11 -9
  22. package/node_modules/side-channel/test/index.js +1 -1
  23. package/node_modules/side-channel/tsconfig.json +50 -0
  24. package/package.json +1 -1
  25. package/node_modules/express/node_modules/body-parser/HISTORY.md +0 -657
  26. package/node_modules/express/node_modules/body-parser/LICENSE +0 -23
  27. package/node_modules/express/node_modules/body-parser/README.md +0 -464
  28. package/node_modules/express/node_modules/body-parser/SECURITY.md +0 -25
  29. package/node_modules/express/node_modules/body-parser/index.js +0 -156
  30. package/node_modules/express/node_modules/body-parser/lib/read.js +0 -205
  31. package/node_modules/express/node_modules/body-parser/lib/types/json.js +0 -236
  32. package/node_modules/express/node_modules/body-parser/lib/types/raw.js +0 -101
  33. package/node_modules/express/node_modules/body-parser/lib/types/text.js +0 -121
  34. package/node_modules/express/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  35. package/node_modules/express/node_modules/body-parser/package.json +0 -56
  36. package/node_modules/express/node_modules/raw-body/HISTORY.md +0 -303
  37. package/node_modules/express/node_modules/raw-body/LICENSE +0 -22
  38. package/node_modules/express/node_modules/raw-body/README.md +0 -223
  39. package/node_modules/express/node_modules/raw-body/SECURITY.md +0 -24
  40. package/node_modules/express/node_modules/raw-body/index.d.ts +0 -87
  41. package/node_modules/express/node_modules/raw-body/index.js +0 -329
  42. package/node_modules/express/node_modules/raw-body/package.json +0 -49
  43. package/node_modules/set-function-length/env.d.ts.map +0 -1
  44. package/node_modules/set-function-length/index.d.ts.map +0 -1
@@ -1,23 +1,20 @@
1
1
  {
2
2
  "name": "side-channel",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
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": {
7
7
  "./package.json": "./package.json",
8
- ".": [
9
- {
10
- "default": "./index.js"
11
- },
12
- "./index.js"
13
- ]
8
+ ".": "./index.js"
14
9
  },
10
+ "types": "./index.d.ts",
15
11
  "scripts": {
16
12
  "prepack": "npmignore --auto --commentLines=autogenerated",
17
13
  "prepublishOnly": "safe-publish-latest",
18
14
  "prepublish": "not-in-publish || npm run prepublishOnly",
19
15
  "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
20
16
  "lint": "eslint --ext=js,mjs .",
17
+ "postlint": "tsc -p .",
21
18
  "pretest": "npm run lint",
22
19
  "tests-only": "nyc tape 'test/**/*.js'",
23
20
  "test": "npm run tests-only",
@@ -47,6 +44,10 @@
47
44
  "homepage": "https://github.com/ljharb/side-channel#readme",
48
45
  "devDependencies": {
49
46
  "@ljharb/eslint-config": "^21.1.0",
47
+ "@types/call-bind": "^1.0.5",
48
+ "@types/get-intrinsic": "^1.2.2",
49
+ "@types/object-inspect": "^1.8.4",
50
+ "@types/tape": "^5.6.4",
50
51
  "aud": "^2.0.4",
51
52
  "auto-changelog": "^2.4.0",
52
53
  "eclint": "^2.8.1",
@@ -55,10 +56,11 @@
55
56
  "npmignore": "^0.3.1",
56
57
  "nyc": "^10.3.2",
57
58
  "safe-publish-latest": "^2.0.0",
58
- "tape": "^5.7.4"
59
+ "tape": "^5.7.5",
60
+ "typescript": "next"
59
61
  },
60
62
  "dependencies": {
61
- "call-bind": "^1.0.6",
63
+ "call-bind": "^1.0.7",
62
64
  "es-errors": "^1.3.0",
63
65
  "get-intrinsic": "^1.2.4",
64
66
  "object-inspect": "^1.13.1"
@@ -32,7 +32,7 @@ test('assert', function (t) {
32
32
 
33
33
  test('has', function (t) {
34
34
  var channel = getSideChannel();
35
- var o = [];
35
+ /** @type {unknown[]} */ var o = [];
36
36
 
37
37
  t.equal(channel.has(o), false, 'nonexistent value yields false');
38
38
 
@@ -0,0 +1,50 @@
1
+ {
2
+ "compilerOptions": {
3
+ /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
+
5
+ /* Projects */
6
+
7
+ /* Language and Environment */
8
+ "target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9
+ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
10
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
11
+ "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
12
+ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
13
+
14
+ /* Modules */
15
+ "module": "commonjs", /* Specify what module code is generated. */
16
+ // "rootDir": "./", /* Specify the root folder within your source files. */
17
+ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
18
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
19
+ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
20
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
21
+ // "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */
22
+ "resolveJsonModule": true, /* Enable importing .json files. */
23
+ // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
24
+
25
+ /* JavaScript Support */
26
+ "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
27
+ "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
28
+ "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
29
+
30
+ /* Emit */
31
+ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
32
+ "declarationMap": true, /* Create sourcemaps for d.ts files. */
33
+ "noEmit": true, /* Disable emitting files from a compilation. */
34
+
35
+ /* Interop Constraints */
36
+ "allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */
37
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
38
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
39
+
40
+ /* Type Checking */
41
+ "strict": true, /* Enable all strict type-checking options. */
42
+
43
+ /* Completeness */
44
+ // "skipLibCheck": true /* Skip type checking all .d.ts files. */
45
+ },
46
+ "exclude": [
47
+ "coverage",
48
+ "test/list-exports"
49
+ ],
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "step-node-agent",
3
- "version": "3.24.2",
3
+ "version": "3.24.4",
4
4
  "description": "The official STEP Agent implementation for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {