You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2024. It is now read-only.
warnings.push(`==========> skip ${path} (because ${childPkg.version} is outside of allowed range: ${allowScripts[name]})`);
164
+
return;
153
165
}
154
166
155
-
returntrue;
167
+
allowedPackages.push(entry);
156
168
});
157
169
170
+
Assert.strictEqual(packagesWithScripts.length,errors.length+warnings.length+allowedPackages.length,'Package count does not match. Please raise an issue at https://github.com/dominykas/allow-scripts');
awaitexpect(Allow.run({})).to.reject('No entry for @example/with-install-script');
207
+
awaitexpect(Allow.run({})).to.reject('Mis-configured allowedScripts: @example/with-install-script (no entry), @example/with-postinstall-script (no entry)');
0 commit comments