@form8ion/javascript 11.7.2 → 11.8.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/README.md +4 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ toolset
|
|
|
8
8
|
[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]
|
|
9
9
|
[![Codecov][coverage-badge]][coverage-link]
|
|
10
10
|
[](https://securityscorecards.dev/viewer/?uri=github.com/form8ion/javascript)
|
|
11
|
+
![SLSA Level 2][slsa-badge]
|
|
11
12
|
|
|
12
13
|
<!--status-badges end -->
|
|
13
14
|
|
|
@@ -181,7 +182,7 @@ $ npm test
|
|
|
181
182
|
|
|
182
183
|
[npm-badge]: https://img.shields.io/npm/v/@form8ion/javascript.svg?logo=npm
|
|
183
184
|
|
|
184
|
-
[node-badge]: https://img.shields.io/node/v/@form8ion/javascript
|
|
185
|
+
[node-badge]: https://img.shields.io/node/v/@form8ion/javascript?logo=node.js
|
|
185
186
|
|
|
186
187
|
[runkit-link]: https://npm.runkit.com/@form8ion/javascript
|
|
187
188
|
|
|
@@ -190,3 +191,5 @@ $ npm test
|
|
|
190
191
|
[coverage-link]: https://codecov.io/github/form8ion/javascript
|
|
191
192
|
|
|
192
193
|
[coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/javascript.svg?logo=codecov
|
|
194
|
+
|
|
195
|
+
[slsa-badge]: https://slsa.dev/images/gh-badge-level2.svg
|
package/lib/index.js
CHANGED
|
@@ -121,8 +121,8 @@ async function removeNyc ({projectRoot, packageManager}) {
|
|
|
121
121
|
]);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
async function lift$2({projectRoot, packageManager}) {
|
|
125
|
-
const codecovResults = await codecov.lift({projectRoot, packageManager});
|
|
124
|
+
async function lift$2({projectRoot, packageManager, vcs}) {
|
|
125
|
+
const codecovResults = await codecov.lift({projectRoot, packageManager, vcs});
|
|
126
126
|
|
|
127
127
|
if (await nycIsConfigured({projectRoot})) {
|
|
128
128
|
const [c8Results] = await Promise.all([
|
|
@@ -468,6 +468,7 @@ async function scaffoldPackageType ({
|
|
|
468
468
|
main: './lib/index.js',
|
|
469
469
|
module: './lib/index.mjs',
|
|
470
470
|
exports: {
|
|
471
|
+
module: './lib/index.mjs',
|
|
471
472
|
require: './lib/index.js',
|
|
472
473
|
import: './lib/index.mjs'
|
|
473
474
|
}
|