@hebcal/core 5.0.1 → 5.0.3

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.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
7
- "Danny Sadinoff (https://github.com/dsadinoff)"
7
+ "Danny Sadinoff (https://github.com/dsadinoff)",
8
+ "Benny Powers (https://github.com/bennypowers)"
8
9
  ],
9
10
  "keywords": [
10
11
  "hebcal",
@@ -20,8 +21,13 @@
20
21
  "zmanim"
21
22
  ],
22
23
  "description": "A perpetual Jewish Calendar API",
23
- "main": "./dist/index.js",
24
+ "main": "./dist/index.cjs",
24
25
  "module": "./dist/index.mjs",
26
+ "type": "module",
27
+ "exports": {
28
+ "import": "./dist/index.mjs",
29
+ "require": "./dist/index.cjs"
30
+ },
25
31
  "typings": "hebcal.d.ts",
26
32
  "engines": {
27
33
  "node": ">= 16.0.0"
@@ -40,9 +46,10 @@
40
46
  ],
41
47
  "scripts": {
42
48
  "build:rollup": "rollup -c",
43
- "build": "npm run po2json && npm run build:rollup",
49
+ "build": "npm run po2json && npm run version && npm run build:rollup",
44
50
  "prepublish": "npm run build",
45
- "po2json": "node ./po2json.js po/*.po",
51
+ "po2json": "node ./po2json.cjs po/*.po",
52
+ "version": "node ./version.cjs package.json src/pkgVersion.js",
46
53
  "readme": "npx -p jsdoc-to-markdown jsdoc2md dist/index.js",
47
54
  "pretest": "npm run build",
48
55
  "lint": "eslint src",
@@ -63,24 +70,24 @@
63
70
  "temporal-polyfill": "^0.1.1"
64
71
  },
65
72
  "devDependencies": {
66
- "@babel/core": "^7.23.5",
67
- "@babel/preset-env": "^7.23.5",
73
+ "@babel/core": "^7.23.6",
74
+ "@babel/preset-env": "^7.23.6",
68
75
  "@babel/register": "^7.22.15",
69
- "@hebcal/hdate": "^0.8.2",
70
- "@hebcal/noaa": "^0.8.10",
76
+ "@hebcal/hdate": "^0.9.0",
77
+ "@hebcal/noaa": "^0.8.11",
71
78
  "@rollup/plugin-babel": "^6.0.4",
72
79
  "@rollup/plugin-commonjs": "^25.0.7",
73
- "@rollup/plugin-json": "^6.0.1",
80
+ "@rollup/plugin-json": "^6.1.0",
74
81
  "@rollup/plugin-node-resolve": "^15.2.3",
75
82
  "@rollup/plugin-terser": "^0.4.4",
76
83
  "ava": "^6.0.1",
77
84
  "core-js": "^3.34.0",
78
- "eslint": "^8.55.0",
85
+ "eslint": "^8.56.0",
79
86
  "eslint-config-google": "^0.14.0",
80
87
  "jsdoc": "^4.0.2",
81
88
  "jsdoc-to-markdown": "^8.0.0",
82
89
  "nyc": "^15.1.0",
83
- "rollup": "^4.7.0",
84
- "ttag-cli": "^1.10.9"
90
+ "rollup": "^4.9.1",
91
+ "ttag-cli": "^1.10.10"
85
92
  }
86
93
  }