sr-npm 1.0.7 → 1.0.9

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.
package/.wix/debug.log ADDED
@@ -0,0 +1,74 @@
1
+ ----- CLI crash report at 2025-07-04T08:24:57.754Z
2
+ Error Trace
3
+ FailedToFetchPackageDetails: FailedToFetchPackageDetails
4
+ at fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:54:11)
5
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
6
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
7
+ caused by: FailedToWriteCache: FailedToWriteCache
8
+ at Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:75:13)
9
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
10
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
11
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
12
+ caused by: FailedToWriteJson: FailedToWriteJson
13
+ at writeJson (/usr/local/lib/node_modules/@wix/cli-fs/src/index.ts:29:11)
14
+ at async Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:69:7)
15
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
16
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
17
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
18
+ caused by: Error: EACCES: permission denied, open '/usr/local/lib/node_modules/@wix/cli/version.cache.json'
19
+ at async open (node:internal/fs/promises:633:25)
20
+ at async writeFile (node:internal/fs/promises:1207:14)
21
+ at async writeJson (/usr/local/lib/node_modules/@wix/cli-fs/src/index.ts:27:5)
22
+ at async Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:69:7)
23
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
24
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
25
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
26
+ Error Info
27
+ {}
28
+ ----- CLI crash report at 2025-07-04T08:24:57.801Z
29
+ Error Trace
30
+ FailedToIdentifyProgramFlow: FailedToIdentifyProgramFlow
31
+ at _Command.<anonymous> (/usr/local/lib/node_modules/@wix/cli/src/program.ts:72:15)
32
+ at _Command.emit (node:events:518:28)
33
+ at _Command._parseCommand (/usr/local/lib/node_modules/node_modules/commander/lib/command.js:1607:14)
34
+ at _Command.parseAsync (/usr/local/lib/node_modules/node_modules/commander/lib/command.js:1104:16)
35
+ at <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:80:39)
36
+ Error Info
37
+ {}
38
+ ----- CLI crash report at 2025-07-04T08:24:59.930Z
39
+ Error Trace
40
+ FailedToFetchPackageDetails: FailedToFetchPackageDetails
41
+ at fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:54:11)
42
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
43
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
44
+ caused by: FailedToWriteCache: FailedToWriteCache
45
+ at Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:75:13)
46
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
47
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
48
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
49
+ caused by: FailedToWriteJson: FailedToWriteJson
50
+ at writeJson (/usr/local/lib/node_modules/@wix/cli-fs/src/index.ts:29:11)
51
+ at async Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:69:7)
52
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
53
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
54
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
55
+ caused by: Error: EACCES: permission denied, open '/usr/local/lib/node_modules/@wix/cli/version.cache.json'
56
+ at async open (node:internal/fs/promises:633:25)
57
+ at async writeFile (node:internal/fs/promises:1207:14)
58
+ at async writeJson (/usr/local/lib/node_modules/@wix/cli-fs/src/index.ts:27:5)
59
+ at async Object.set (/usr/local/lib/node_modules/@wix/cli-fs-cache/src/index.ts:69:7)
60
+ at async fetchPackageDetails (/usr/local/lib/node_modules/@wix/cli-version-manager/src/package-details-reader.ts:49:7)
61
+ at async versionNotifier (/usr/local/lib/node_modules/@wix/cli-version-manager/src/version-notifier.tsx:8:26)
62
+ at async <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:56:26)
63
+ Error Info
64
+ {}
65
+ ----- CLI crash report at 2025-07-04T08:24:59.969Z
66
+ Error Trace
67
+ FailedToIdentifyProgramFlow: FailedToIdentifyProgramFlow
68
+ at _Command.<anonymous> (/usr/local/lib/node_modules/@wix/cli/src/program.ts:72:15)
69
+ at _Command.emit (node:events:518:28)
70
+ at _Command._parseCommand (/usr/local/lib/node_modules/node_modules/commander/lib/command.js:1607:14)
71
+ at _Command.parseAsync (/usr/local/lib/node_modules/node_modules/commander/lib/command.js:1104:16)
72
+ at <anonymous> (/usr/local/lib/node_modules/@wix/cli/src/index.tsx:80:39)
73
+ Error Info
74
+ {}
package/backend/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export async function chunkedBulkOperation({ items, chunkSize, processChunk }) {
1
+ async function chunkedBulkOperation({ items, chunkSize, processChunk }) {
2
2
  for (let i = 0; i < items.length; i += chunkSize) {
3
3
  const chunk = items.slice(i, i + chunkSize);
4
4
  await processChunk(chunk, Math.floor(i / chunkSize) + 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,6 +17,6 @@
17
17
  },
18
18
  "homepage": "https://github.com/psdevteamenterprise/sr-npm#readme",
19
19
  "dependencies": {
20
- "@hisense-staging/velo-npm": "^3.0.10"
20
+ "@hisense-staging/velo-npm": "3.0.14"
21
21
  }
22
22
  }