intl-format-cache
Advanced tools
Comparing version 2.1.0 to 2.2.0
'use strict'; | ||
exports = module.exports = require('./lib/memoizer')['default']; | ||
exports = module.exports = require('./dist')['default']; | ||
exports['default'] = exports; |
{ | ||
"name": "intl-format-cache", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "A memoizer factory for Intl format constructors.", | ||
"main": "index.js", | ||
"jsnext:main": "src/memoizer.js", | ||
"module": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"scripts": { | ||
"prepublish": "grunt", | ||
"browserify": "browserify index.js -s memoizeFormatConstructor > tmp/intl-format-cache.js", | ||
"test:saucelabs": "npm run browserify && grunt saucelabs", | ||
"test:unit": "mocha --require test/setup/node-unit --recursive test/unit/", | ||
"test": "npm run test:unit", | ||
"travis": "npm test && npm run test:saucelabs" | ||
"build": "tsc -p src && tsc -p src/tsconfig.cjs.json", | ||
"clean": "rimraf lib dist", | ||
"cover": "nyc npm t", | ||
"prepublishOnly": "npm run clean && npm run build", | ||
"prettier": "prettier --write {src,tests}/*.ts", | ||
"test": "TS_NODE_PROJECT='tests/tsconfig.json' mocha -r ts-node/register -r source-map-support/register -r chai/register-expect tests/index.ts --reporter spec" | ||
}, | ||
@@ -31,16 +32,19 @@ "repository": { | ||
"devDependencies": { | ||
"browserify": "^12.0.1", | ||
"expect": "^1.13.0", | ||
"grunt": "^0.4.5", | ||
"grunt-bundle-jsnext-lib": "^0.5.0", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-connect": "^0.11.2", | ||
"grunt-contrib-copy": "^0.7.0", | ||
"grunt-saucelabs": "^8.6.1", | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^5.2.6", | ||
"chai": "^4.2.0", | ||
"intl": "^1.0.1", | ||
"intl-messageformat": "^1.2.0", | ||
"intl-relativeformat": "^1.2.0", | ||
"mocha": "^2.3.4" | ||
"intl-messageformat": "3", | ||
"intl-relativeformat": "^2.1.0", | ||
"mocha": "^6.1.0", | ||
"nyc": "^14.1.1", | ||
"prettier": "^1.17.1", | ||
"rimraf": "^2.6.3", | ||
"source-map-support": "^0.5.12", | ||
"ts-node": "^8.2.0", | ||
"typescript": "^3.4.5" | ||
}, | ||
"prettier": { | ||
"singleQuote": true | ||
} | ||
} |
@@ -62,12 +62,12 @@ Intl Format Cache | ||
[npm-badge]: https://img.shields.io/npm/v/intl-format-cache.svg?style=flat-square | ||
[david]: https://david-dm.org/yahoo/intl-format-cache | ||
[david-badge]: https://img.shields.io/david/yahoo/intl-format-cache.svg?style=flat-square | ||
[travis]: https://travis-ci.org/yahoo/intl-format-cache | ||
[travis-badge]: https://img.shields.io/travis/yahoo/intl-format-cache/master.svg?style=flat-square | ||
[david]: https://david-dm.org/formatjs/intl-format-cache | ||
[david-badge]: https://img.shields.io/david/formatjs/intl-format-cache.svg?style=flat-square | ||
[travis]: https://travis-ci.org/formatjs/intl-format-cache | ||
[travis-badge]: https://img.shields.io/travis/formatjs/intl-format-cache/master.svg?style=flat-square | ||
[Intl]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl | ||
[Intl-NF]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat | ||
[Intl-DTF]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat | ||
[Intl-MF]: https://github.com/yahoo/intl-messageformat | ||
[Intl-RF]: https://github.com/yahoo/intl-relativeformat | ||
[Intl-MF]: https://github.com/formatjs/formatjs | ||
[Intl-RF]: https://github.com/formatjs/intl-relativeformat | ||
[FormatJS]: http://formatjs.io/ | ||
[LICENSE]: https://github.com/yahoo/intl-format-cache/blob/master/LICENSE | ||
[LICENSE]: https://github.com/formatjs/intl-format-cache/blob/master/LICENSE |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17
304
25597
2