New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esm-hook

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esm-hook - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"name": "esm-hook",
"version": "0.1.1",
"main": "lib/index.js",
"version": "0.1.2",
"main": "register.js",
"license": "MIT-0",

@@ -6,0 +6,0 @@ "repository": {

@@ -9,3 +9,3 @@ # esm-hook

```ts
require("esm-hook/register");
require("esm-hook");

@@ -12,0 +12,0 @@ const fetch = require("node-fetch").default;

@@ -0,1 +1,3 @@

// Use `require("esm-hook")` instead of `require("esm-hook/register")`.
// This file is not part of the public API.
module.exports = require("./lib/index").register({});
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