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.15.0 to 0.16.0

2

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

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