Comparing version 0.16.0 to 0.17.0
{ | ||
"name": "@std/esm", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "Enable ES modules in Node today!", | ||
@@ -5,0 +5,0 @@ "keywords": "commonjs, ecmascript, export, import, modules, node, require", |
@@ -22,8 +22,5 @@ # @std/esm | ||
By default, `@std/esm` **only** processes files of packages that opt-in | ||
with a `@std/esm` options object or `@std/esm` as a dependency, dev | ||
dependency, or peer dependency in their package.json. However, you can | ||
enable processing **all** files with specific options by passing an options | ||
Enable processing **all** files with specific options by passing an options | ||
object as the second argument or passing `true` to use the options from | ||
your package.json. | ||
your .esmrc or package.json. | ||
@@ -85,4 +82,4 @@ ```js | ||
Unlock extra features with `"@std/esm":options` or `"@std":{"esm":options}` | ||
in your package.json. | ||
Unlock extra features by specifying options in your .esmrc or `"@std/esm"` field | ||
of your package.json. | ||
@@ -97,4 +94,3 @@ Commonly used options may be specified in shorthand form: | ||
<td colspan="2"> | ||
<pre><code>{ | ||
"@std/esm": {</code></pre> | ||
<pre><code>{</code></pre> | ||
</td> | ||
@@ -134,4 +130,3 @@ </tr> | ||
<td colspan="2"> | ||
<pre><code> } | ||
}</code></pre> | ||
<pre><code>}</code></pre> | ||
</td> | ||
@@ -150,4 +145,3 @@ </tr> | ||
<pre><code>{ | ||
"@std/esm": { | ||
"cjs": {</code></pre> | ||
"cjs": {</code></pre> | ||
</td> | ||
@@ -199,4 +193,3 @@ </tr> | ||
<td colspan="2"> | ||
<pre><code> } | ||
} | ||
<pre><code> } | ||
}</code></pre> | ||
@@ -213,4 +206,3 @@ </td> | ||
<td colspan="2"> | ||
<pre><code>{ | ||
"@std/esm": {</code></pre> | ||
<pre><code>{</code></pre> | ||
</td> | ||
@@ -247,4 +239,3 @@ </tr> | ||
<td colspan="2"> | ||
<pre><code> } | ||
}</code></pre> | ||
<pre><code>}</code></pre> | ||
</td> | ||
@@ -262,4 +253,5 @@ </tr> | ||
* 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/) | ||
* When in doubt, use options `"@std/esm":"cjs"` | ||
* Load `@std/esm` with the `--node-args="-r @std/esm"` option of [`pm2`](http://pm2.keymetrics.io/docs/usage/quick-start/#options) | ||
* Use `"@std/esm":"cjs"` or `"@std/esm":{"cjs":{"cache":true}}` with the Mocha [`--watch` option](https://mochajs.org/#-w---watch) | ||
* Use `"@std/esm":"cjs"` with [`webpack`](https://webpack.js.org/) | ||
* When in doubt, use `"@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
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
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
57896
249
1