@es-shims/api
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -166,2 +166,3 @@ #!/usr/bin/env node | ||
&& d !== 'node_modules' | ||
&& d !== 'coverage' | ||
&& d !== 'helpers' | ||
@@ -168,0 +169,0 @@ && d !== 'test' |
@@ -0,1 +1,6 @@ | ||
2.2.1 / 2021-09-02 | ||
================== | ||
* [Fix] `--multi`: test subpackages’ `auto` endpoint | ||
* [Fix] `--multi`: skip `coverage` directory | ||
2.2.0 / 2021-09-02 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -26,10 +26,14 @@ #!/usr/bin/env node | ||
subPackages.forEach(function (subPackage) { | ||
require(path.join(process.cwd(), subPackage, 'auto')); | ||
}); | ||
console.log('## shims were called ' + fakeShim.calls.length + ' times'); | ||
assert.equal(fakeShim.calls.length, subPackages.length, 'shim was called once per sub-package'); | ||
assert.equal(fakeShim.calls.length, subPackages.length * 2, 'shim was called twice per sub-package'); | ||
var expectedCalls = subPackages.map(function () { | ||
return [undefined, []]; | ||
}); | ||
assert.deepEqual(fakeShim.calls, expectedCalls, 'all shims were invoked with no receiver or arguments'); | ||
assert.deepEqual(fakeShim.calls, expectedCalls.concat(expectedCalls), 'all shims were invoked with no receiver or arguments'); | ||
console.log('## all shims were invoked with no receiver or arguments'); |
{ | ||
"name": "@es-shims/api", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": "Jordan Harband", | ||
@@ -5,0 +5,0 @@ "funding": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32778
226
1
10