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]})`);
163
+
return;
153
164
}
154
165
155
-
returntrue;
166
+
allowedPackages.push(entry);
156
167
});
157
168
169
+
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