javascript-time-ago 2.5.1 → 2.5.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "javascript-time-ago",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Localized relative date/time formatting",
5
5
  "main": "index.cjs",
6
6
  "module": "index.js",
@@ -31,6 +31,7 @@
31
31
  "import": "./prop-types/index.js",
32
32
  "require": "./prop-types/index.cjs"
33
33
  },
34
+ "./package.json": "./package.json",
34
35
  "./locale/af": "./locale/af.json",
35
36
  "./locale/af.json": "./locale/af.json",
36
37
  "./locale/am": "./locale/am.json",
@@ -598,7 +599,7 @@
598
599
  "./load-all-locales/index.cjs.js"
599
600
  ],
600
601
  "dependencies": {
601
- "relative-time-format": "^1.0.8"
602
+ "relative-time-format": "^1.1.2"
602
603
  },
603
604
  "devDependencies": {
604
605
  "@babel/cli": "^7.17.10",
@@ -609,7 +610,6 @@
609
610
  "@babel/polyfill": "^7.0.0",
610
611
  "@babel/preset-env": "^7.17.12",
611
612
  "@babel/register": "^7.17.7",
612
- "@handlebars/allow-prototype-access": "^1.0.5",
613
613
  "babel-eslint": "^9.0.0",
614
614
  "babel-loader": "^8.2.5",
615
615
  "babel-plugin-istanbul": "^6.1.1",
@@ -634,7 +634,7 @@
634
634
  "test-coverage": "npm-run-all build-commonjs build-commonjs-test-coverage-setup test-coverage-commonjs",
635
635
  "test-coverage-commonjs": "node --experimental-json-modules node_modules/istanbul/lib/cli.js cover -x \"*.test.js\" node_modules/mocha/bin/_mocha -- --colors --reporter dot --require ./test/setup.js ./commonjs/setupLocales.js \"commonjs/**/*.test.js\" --recursive",
636
636
  "build-commonjs-test-coverage-setup": "cross-env babel ./test/setupLocales.js ./test/addLabels.test.js --out-dir ./commonjs --source-maps",
637
- "test-coverage-run--does-not-work": "cross-env NODE_ENV=test nyc node --experimental-json-modules node_modules/mocha/bin/_mocha --bail --require ./test/setup.js ./test/setupLocales.js \"source/**/*.test.js\" \"test/**/*.test.js\"",
637
+ "test-coverage--does-not-work": "cross-env NODE_ENV=test nyc node --experimental-json-modules node_modules/mocha/bin/_mocha --bail --require ./test/setup.js ./test/setupLocales.js \"source/**/*.test.js\" \"test/**/*.test.js\"",
638
638
  "coveralls": "nyc report --reporter=text-lcov | coveralls",
639
639
  "browser-build": "rollup --config rollup.config.mjs",
640
640
  "clean-for-build": "rimraf ./commonjs/**/* ./modules/**/*",
@@ -668,4 +668,4 @@
668
668
  "url": "https://gitlab.com/catamphetamine/javascript-time-ago/issues"
669
669
  },
670
670
  "homepage": "https://gitlab.com/catamphetamine/javascript-time-ago#readme"
671
- }
671
+ }