@percy/cli-command 1.32.11-beta.1 → 1.32.11

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.
@@ -2,7 +2,7 @@ import { createRequire } from 'module';
2
2
  import logger from '@percy/logger';
3
3
 
4
4
  // snyk-nodejs-lockfile-parser is a CommonJS optionalDependency. It requires
5
- // Node >=18 while the CLI supports Node >=14, so we defer the require to call
5
+ // Node >=20.19 while the CLI supports Node >=14, so we defer the require to call
6
6
  // time — that way importing this module never throws on older Node versions
7
7
  // (or when the optional install was skipped for any other reason). Cached on
8
8
  // first successful load so the require only resolves once per process.
@@ -14,7 +14,7 @@ import logger from '@percy/logger';
14
14
  // initializer (TypeError: _require is not a function). See PER intelliStory binary.
15
15
  const cjsRequire = createRequire(import.meta.url);
16
16
  let _snykModule;
17
- /* istanbul ignore next: snyk-backed path — the parser requires Node >=18 while
17
+ /* istanbul ignore next: snyk-backed path — the parser requires Node >=20.19 while
18
18
  CI runs the suite on Node 14, so these lines can't execute there; they're
19
19
  exercised by the describeSnyk tests on Node >=18 */
20
20
  function loadSnyk() {
@@ -23,7 +23,7 @@ function loadSnyk() {
23
23
  _snykModule = cjsRequire('snyk-nodejs-lockfile-parser');
24
24
  return _snykModule;
25
25
  } catch (e) {
26
- const err = new Error(`snyk-nodejs-lockfile-parser is not available (requires Node >=18, or the optional install was skipped): ${e.message}`);
26
+ const err = new Error(`snyk-nodejs-lockfile-parser is not available (requires Node >=20.19, or the optional install was skipped): ${e.message}`);
27
27
  err.code = 'SNYK_LOCKFILE_PARSER_UNAVAILABLE';
28
28
  throw err;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-command",
3
- "version": "1.32.11-beta.1",
3
+ "version": "1.32.11",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "beta"
12
+ "tag": "latest"
13
13
  },
14
14
  "files": [
15
15
  "dist",
@@ -37,13 +37,13 @@
37
37
  "test:coverage": "yarn test --coverage"
38
38
  },
39
39
  "dependencies": {
40
- "@percy/config": "1.32.11-beta.1",
41
- "@percy/core": "1.32.11-beta.1",
42
- "@percy/logger": "1.32.11-beta.1",
40
+ "@percy/config": "1.32.11",
41
+ "@percy/core": "1.32.11",
42
+ "@percy/logger": "1.32.11",
43
43
  "glob-to-regexp": "^0.4.1"
44
44
  },
45
45
  "optionalDependencies": {
46
- "snyk-nodejs-lockfile-parser": "2.7.1"
46
+ "snyk-nodejs-lockfile-parser": "2.10.4"
47
47
  },
48
- "gitHead": "c72c103d81636a59792393576a82c9471686c3c0"
48
+ "gitHead": "fe385ef03c5dbeb599a0152eab855c9ce9875071"
49
49
  }