10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-13 18:24:21 +00:00

v2 new release (#77)

This commit is contained in:
github-actions[bot] 2022-06-27 14:12:49 -04:00 committed by GitHub
parent 217bf70cbd
commit 199ab446df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
611 changed files with 8668 additions and 45625 deletions

16
node_modules/minimist/test/proto.js generated vendored
View file

@ -42,3 +42,19 @@ test('proto pollution (constructor)', function (t) {
t.equal(argv.y, undefined);
t.end();
});
test('proto pollution (constructor function)', function (t) {
var argv = parse(['--_.concat.constructor.prototype.y', '123']);
function fnToBeTested() {}
t.equal(fnToBeTested.y, undefined);
t.equal(argv.y, undefined);
t.end();
});
// powered by snyk - https://github.com/backstage/backstage/issues/10343
test('proto pollution (constructor function) snyk', function (t) {
var argv = parse('--_.constructor.constructor.prototype.foo bar'.split(' '));
t.equal((function(){}).foo, undefined);
t.equal(argv.y, undefined);
t.end();
})