step-node-agent 3.21.1 → 3.21.3

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "graceful-fs",
3
3
  "description": "A drop-in replacement for fs, making various improvements.",
4
- "version": "4.2.10",
4
+ "version": "4.2.11",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/isaacs/node-graceful-fs"
@@ -38,7 +38,7 @@
38
38
  "import-fresh": "^2.0.0",
39
39
  "mkdirp": "^0.5.0",
40
40
  "rimraf": "^2.2.8",
41
- "tap": "^12.7.0"
41
+ "tap": "^16.3.4"
42
42
  },
43
43
  "files": [
44
44
  "fs.js",
@@ -46,5 +46,8 @@
46
46
  "legacy-streams.js",
47
47
  "polyfills.js",
48
48
  "clone.js"
49
- ]
49
+ ],
50
+ "tap": {
51
+ "reporter": "classic"
52
+ }
50
53
  }
@@ -101,7 +101,7 @@ function patch (fs) {
101
101
  var backoff = 0;
102
102
  fs$rename(from, to, function CB (er) {
103
103
  if (er
104
- && (er.code === "EACCES" || er.code === "EPERM")
104
+ && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
105
105
  && Date.now() - start < 60000) {
106
106
  setTimeout(function() {
107
107
  fs.stat(to, function (stater, st) {
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v2.12.0](https://github.com/inspect-js/is-core-module/compare/v2.11.0...v2.12.0) - 2023-04-10
9
+
10
+ ### Commits
11
+
12
+ - [actions] update rebase action to use reusable workflow [`c0a7251`](https://github.com/inspect-js/is-core-module/commit/c0a7251f734f3c621932c5fcdfd1bf966b42ca32)
13
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9ae8b7f`](https://github.com/inspect-js/is-core-module/commit/9ae8b7fac03c369861d0991b4a2ce8d4848e6a7d)
14
+ - [New] `test/reporters` added in v19.9, `wasi` added in v20 [`9d5341a`](https://github.com/inspect-js/is-core-module/commit/9d5341ab32053f25b7fa7db3c0e18461db24a79c)
15
+ - [Dev Deps] add missing `in-publish` dep [`5980245`](https://github.com/inspect-js/is-core-module/commit/59802456e9ac919fa748f53be9d8fbf304a197df)
16
+
8
17
  ## [v2.11.0](https://github.com/inspect-js/is-core-module/compare/v2.10.0...v2.11.0) - 2022-10-18
9
18
 
10
19
  ### Commits
@@ -114,6 +114,8 @@
114
114
  "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
115
115
  "sys": [">= 0.4 && < 0.7", ">= 0.8"],
116
116
  "node:sys": [">= 14.18 && < 15", ">= 16"],
117
+ "test/reporters": [">= 19.9", ">= 20"],
118
+ "node:test/reporters": [">= 19.9", ">= 20"],
117
119
  "node:test": [">= 16.17 && < 17", ">= 18"],
118
120
  "timers": true,
119
121
  "node:timers": [">= 14.18 && < 15", ">= 16"],
@@ -147,7 +149,8 @@
147
149
  "node:v8": [">= 14.18 && < 15", ">= 16"],
148
150
  "vm": true,
149
151
  "node:vm": [">= 14.18 && < 15", ">= 16"],
150
- "wasi": ">= 13.4 && < 13.5",
152
+ "wasi": [">= 13.4 && < 13.5", ">= 20"],
153
+ "node:wasi": ">= 20",
151
154
  "worker_threads": ">= 11.7",
152
155
  "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
153
156
  "zlib": ">= 0.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-core-module",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Is this specifier a node.js core module?",
5
5
  "main": "index.js",
6
6
  "sideEffects": false,
@@ -45,16 +45,17 @@
45
45
  "has": "^1.0.3"
46
46
  },
47
47
  "devDependencies": {
48
- "@ljharb/eslint-config": "^21.0.0",
49
- "aud": "^2.0.1",
48
+ "@ljharb/eslint-config": "^21.0.1",
49
+ "aud": "^2.0.2",
50
50
  "auto-changelog": "^2.4.0",
51
51
  "eslint": "=8.8.0",
52
+ "in-publish": "^2.0.1",
52
53
  "mock-property": "^1.0.0",
53
54
  "npmignore": "^0.3.0",
54
55
  "nyc": "^10.3.2",
55
56
  "safe-publish-latest": "^2.0.0",
56
57
  "semver": "^6.3.0",
57
- "tape": "^5.6.1"
58
+ "tape": "^5.6.3"
58
59
  },
59
60
  "auto-changelog": {
60
61
  "output": "CHANGELOG.md",
@@ -1,52 +1,12 @@
1
- var current = (process.versions && process.versions.node && process.versions.node.split('.')) || [];
2
-
3
- function specifierIncluded(specifier) {
4
- var parts = specifier.split(' ');
5
- var op = parts.length > 1 ? parts[0] : '=';
6
- var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split('.');
7
-
8
- for (var i = 0; i < 3; ++i) {
9
- var cur = parseInt(current[i] || 0, 10);
10
- var ver = parseInt(versionParts[i] || 0, 10);
11
- if (cur === ver) {
12
- continue; // eslint-disable-line no-restricted-syntax, no-continue
13
- }
14
- if (op === '<') {
15
- return cur < ver;
16
- } else if (op === '>=') {
17
- return cur >= ver;
18
- }
19
- return false;
20
- }
21
- return op === '>=';
22
- }
23
-
24
- function matchesRange(range) {
25
- var specifiers = range.split(/ ?&& ?/);
26
- if (specifiers.length === 0) { return false; }
27
- for (var i = 0; i < specifiers.length; ++i) {
28
- if (!specifierIncluded(specifiers[i])) { return false; }
29
- }
30
- return true;
31
- }
32
-
33
- function versionIncluded(specifierValue) {
34
- if (typeof specifierValue === 'boolean') { return specifierValue; }
35
- if (specifierValue && typeof specifierValue === 'object') {
36
- for (var i = 0; i < specifierValue.length; ++i) {
37
- if (matchesRange(specifierValue[i])) { return true; }
38
- }
39
- return false;
40
- }
41
- return matchesRange(specifierValue);
42
- }
1
+ 'use strict';
43
2
 
3
+ var isCoreModule = require('is-core-module');
44
4
  var data = require('./core.json');
45
5
 
46
6
  var core = {};
47
7
  for (var mod in data) { // eslint-disable-line no-restricted-syntax
48
8
  if (Object.prototype.hasOwnProperty.call(data, mod)) {
49
- core[mod] = versionIncluded(data[mod]);
9
+ core[mod] = isCoreModule(mod);
50
10
  }
51
11
  }
52
12
  module.exports = core;
@@ -57,6 +57,8 @@
57
57
  "node:https": [">= 14.18 && < 15", ">= 16"],
58
58
  "inspector": ">= 8",
59
59
  "node:inspector": [">= 14.18 && < 15", ">= 16"],
60
+ "inspector/promises": [">= 19"],
61
+ "node:inspector/promises": [">= 19"],
60
62
  "_linklist": "< 8",
61
63
  "module": true,
62
64
  "node:module": [">= 14.18 && < 15", ">= 16"],
@@ -112,7 +114,7 @@
112
114
  "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
113
115
  "sys": [">= 0.4 && < 0.7", ">= 0.8"],
114
116
  "node:sys": [">= 14.18 && < 15", ">= 16"],
115
- "node:test": ">= 18",
117
+ "node:test": [">= 16.17 && < 17", ">= 18"],
116
118
  "timers": true,
117
119
  "node:timers": [">= 14.18 && < 15", ">= 16"],
118
120
  "timers/promises": ">= 15",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "resolve",
3
3
  "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
4
- "version": "1.22.1",
4
+ "version": "1.22.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git://github.com/browserify/resolve.git"
@@ -17,8 +17,8 @@
17
17
  "module"
18
18
  ],
19
19
  "scripts": {
20
- "prepack": "npmignore --auto --commentLines=autogenerated",
21
- "prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
20
+ "prepack": "npmignore --auto --commentLines=autogenerated && cp node_modules/is-core-module/core.json ./lib/ ||:",
21
+ "prepublishOnly": "safe-publish-latest",
22
22
  "prepublish": "not-in-publish || npm run prepublishOnly",
23
23
  "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
24
24
  "lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",
@@ -30,9 +30,9 @@
30
30
  "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
31
31
  },
32
32
  "devDependencies": {
33
- "@ljharb/eslint-config": "^21.0.0",
34
- "array.prototype.map": "^1.0.4",
35
- "aud": "^2.0.0",
33
+ "@ljharb/eslint-config": "^21.0.1",
34
+ "array.prototype.map": "^1.0.5",
35
+ "aud": "^2.0.2",
36
36
  "copy-dir": "^1.3.0",
37
37
  "eclint": "^2.8.1",
38
38
  "eslint": "=8.8.0",
@@ -45,7 +45,7 @@
45
45
  "safe-publish-latest": "^2.0.0",
46
46
  "semver": "^6.3.0",
47
47
  "tap": "0.4.13",
48
- "tape": "^5.5.3",
48
+ "tape": "^5.6.3",
49
49
  "tmp": "^0.0.31"
50
50
  },
51
51
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "url": "https://github.com/sponsors/ljharb"
59
59
  },
60
60
  "dependencies": {
61
- "is-core-module": "^2.9.0",
61
+ "is-core-module": "^2.11.0",
62
62
  "path-parse": "^1.0.7",
63
63
  "supports-preserve-symlinks-flag": "^1.0.0"
64
64
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "step-node-agent",
3
- "version": "3.21.1",
3
+ "version": "3.21.3",
4
4
  "description": "The official STEP Agent implementation for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {