Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@std/esm

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@std/esm - npm Package Compare versions

Comparing version 0.16.0 to 0.17.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc