binary-decision-diagram 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- { "type": "module" }
1
+ { "type": "module", "sideEffects": false }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binary-decision-diagram",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "A library to create, minimize and optimize binary decision diagrams",
5
5
  "keywords": [
6
6
  "binary decision diagram",
@@ -33,6 +33,8 @@
33
33
  },
34
34
  "./package.json": "./package.json"
35
35
  },
36
+ "main": "./dist/cjs/src/index.es5.js",
37
+ "module": "./dist/esm/src/index.js",
36
38
  "engines": {
37
39
  "node": ">=16"
38
40
  },
@@ -42,13 +44,13 @@
42
44
  "lint": "tslint --project .",
43
45
  "lint:fix": "tslint --project . --fix",
44
46
  "transpile": "tsc -p ./ --module commonjs && echo '# transpile es5 (require) sucess!'",
45
- "transpile:es": "tsc -p ./ --outDir ./dist/esm && echo '{ \"type\": \"module\" }' > dist/esm/src/package.json && echo '# transpile esm (modules) sucess!'",
47
+ "transpile:es": "tsc -p ./ --outDir ./dist/esm && echo '{ \"type\": \"module\", \"sideEffects\": false }' > dist/esm/src/package.json && echo '# transpile esm (modules) sucess!'",
46
48
  "build": "rimraf -r ./dist && npm run transpile && npm run transpile:es",
47
49
  "test": "npm run build && mocha ./dist/cjs/test/unit/index.test.js --timeout 40000 --bail"
48
50
  },
49
51
  "devDependencies": {
50
52
  "@types/mocha": "10.0.2",
51
- "@types/node": "18.18.4",
53
+ "@types/node": "18.18.5",
52
54
  "assert": "2.1.0",
53
55
  "async-test-util": "2.1.1",
54
56
  "mocha": "10.2.0",