Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

intl-format-cache

Package Overview
Dependencies
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-format-cache - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

dist/index.d.ts

2

index.js
'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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc