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

@polygenx/esm-cjs-test

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polygenx/esm-cjs-test - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1-cjs

9

index.js

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

import { b } from './utils';
console.log(b);
export const a = 42;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.a = void 0;
const utils_1 = require("./utils");
console.log(utils_1.b);
exports.a = 42;
{
"name": "@polygenx/esm-cjs-test",
"version": "1.0.0",
"version": "1.0.1-cjs",
"description": "ESM and CommonJS NPM package test.",

@@ -16,7 +16,8 @@ "license": "SEE LICENSE IN README.md",

"publishConfig": {
"access": "public"
"access": "public",
"tag": "latest-cjs"
},
"keywords": [
"polygenx",
"esm"
"commonjs"
],

@@ -50,7 +51,3 @@ "scripts": {

},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=14.16"
}
"main": "index.js"
}

@@ -5,2 +5,3 @@ # Experimental NPM Packages

## License

@@ -7,0 +8,0 @@

@@ -1,1 +0,4 @@

export const b = 101;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.b = void 0;
exports.b = 101;
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