Comparing version 0.15.0 to 0.16.0
{ | ||
"name": "@std/esm", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Enable ES modules in Node today!", | ||
@@ -5,0 +5,0 @@ "keywords": "commonjs, ecmascript, export, import, modules, node, require", |
@@ -126,3 +126,3 @@ # @std/esm | ||
<p>A boolean to support gzipped module <i>(i.e. <code>.js.gz</code>, <code>.mjs.gz</code>).</i></p> | ||
<p><i>Note: Don’t forget the webpack <a href="https://webpack.js.org/loaders/gzip-loader/">gzip-loader</a>.</i></p> | ||
<p><i>Note: Don’t forget the webpack <a href="https://webpack.js.org/loaders/gzip-loader/"><code>gzip-loader</code></a>.</i></p> | ||
</td> | ||
@@ -250,7 +250,9 @@ </tr> | ||
* Load `@std/esm` before [`@babel/register`](https://www.npmjs.com/package/@babel/register) v7+ | ||
* Load `@std/esm` with the *“require”* option of [AVA](https://github.com/avajs/ava#options), | ||
[Mocha](https://mochajs.org/#-r---require-module-name), and [nyc](https://github.com/istanbuljs/nyc#require-additional-modules) | ||
* Load `@std/esm` with the `--node-arg=-r --node-arg=@std/esm` option of [TAP](http://www.node-tap.org/cli/) | ||
* Load `@std/esm` with the *“require”* option of [`ava`](https://github.com/avajs/ava#options), | ||
[`mocha`](https://mochajs.org/#-r---require-module-name), | ||
[`nyc`](https://github.com/istanbuljs/nyc#require-additional-modules), and | ||
[`tape`](https://github.com/substack/tape#preloading-modules) | ||
* Load `@std/esm` with the `--node-arg=-r --node-arg=@std/esm` option of [`node-tap`](http://www.node-tap.org/cli/) | ||
* Use options `"@std/esm":"cjs"` or `"@std/esm":{"cjs":{"cache":true}}` with the Mocha [`--watch` option](https://mochajs.org/#-w---watch) | ||
* Use options `"@std/esm":"cjs"` with [webpack](https://webpack.js.org/) | ||
* Use options `"@std/esm":"cjs"` with [`webpack`](https://webpack.js.org/) | ||
* When in doubt, use options `"@std/esm":"cjs"` |
Sorry, the diff of this file is not supported yet
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
57820
257
0