@n8n/scan-community-package 0.8.0 → 0.9.0
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/package.json +2 -2
- package/scanner/scanner.mjs +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/scan-community-package",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Static code analyser for n8n community packages",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"bin": "scanner/cli.mjs",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"axios": "1.12.0",
|
|
16
16
|
"semver": "^7.5.4",
|
|
17
17
|
"tmp": "0.2.4",
|
|
18
|
-
"@n8n/eslint-plugin-community-nodes": "0.
|
|
18
|
+
"@n8n/eslint-plugin-community-nodes": "0.7.0"
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://n8n.io",
|
|
21
21
|
"author": {
|
package/scanner/scanner.mjs
CHANGED
|
@@ -81,6 +81,7 @@ const downloadAndExtractPackage = async (packageName, version) => {
|
|
|
81
81
|
const npmResult = spawnSync('npm', ['-q', 'pack', `${packageName}@${version}`], {
|
|
82
82
|
cwd: TEMP_DIR,
|
|
83
83
|
stdio: 'pipe',
|
|
84
|
+
shell: process.platform === 'win32',
|
|
84
85
|
});
|
|
85
86
|
if (npmResult.status !== 0) {
|
|
86
87
|
throw new Error(`npm pack failed: ${npmResult.stderr?.toString()}`);
|
|
@@ -99,6 +100,7 @@ const downloadAndExtractPackage = async (packageName, version) => {
|
|
|
99
100
|
{
|
|
100
101
|
cwd: TEMP_DIR,
|
|
101
102
|
stdio: 'pipe',
|
|
103
|
+
shell: process.platform === 'win32',
|
|
102
104
|
},
|
|
103
105
|
);
|
|
104
106
|
if (tarResult.status !== 0) {
|