@polygenx/esm-cjs-test
Advanced tools
Comparing version 1.2.0-cjs to 1.2.0
@@ -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.2.0-cjs", | ||
"version": "1.2.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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
Yes
2529
6
1