Huge News!Announcing our $40M Series B led by Abstract Ventures.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-cjs to 1.0.0

9

index.js

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

"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;
import { b } from './utils';
console.log(b);
export const a = 42;
{
"name": "@polygenx/esm-cjs-test",
"version": "1.0.0-cjs",
"version": "1.0.0",
"description": "ESM and CommonJS NPM package test.",

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

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

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

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

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

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