New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/intl-core

Package Overview
Dependencies
Maintainers
19
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/intl-core - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

12

CHANGELOG.md

@@ -6,3 +6,11 @@ # Change Log

<a name="1.0.11"></a>
<a name="1.0.12"></a>
## [1.0.12](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/intl-core@1.0.11...@cloudflare/intl-core@1.0.12) (2018-10-15)
**Note:** Version bump only for package @cloudflare/intl-core
<a name="1.0.11"></a>
## [1.0.11](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/intl-core@1.0.10...@cloudflare/intl-core@1.0.11) (2018-10-12)

@@ -15,3 +23,3 @@

<a name="1.0.10"></a>
<a name="1.0.10"></a>
## [1.0.10](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/intl-core@1.0.9...@cloudflare/intl-core@1.0.10) (2018-10-11)

@@ -18,0 +26,0 @@

2

es/Translator.js

@@ -12,3 +12,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

import markdown from '@cloudflare/util-markdown';
import { mapValues } from 'lodash-es';
import { mapValues } from 'lodash';

@@ -15,0 +15,0 @@ var Translator =

@@ -14,3 +14,3 @@ "use strict";

var _lodashEs = require("lodash-es");
var _lodash = require("lodash");

@@ -166,3 +166,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

value: function translateObject(phrases) {
return (0, _lodashEs.mapValues)(phrases, this.t);
return (0, _lodash.mapValues)(phrases, this.t);
}

@@ -169,0 +169,0 @@ }]);

{
"name": "@cloudflare/intl-core",
"description": "",
"version": "1.0.11",
"version": "1.0.12",
"types": "./src",

@@ -16,3 +16,3 @@ "main": "lib/index.js",

"@cloudflare/util-markdown": "^1.0.13",
"lodash-es": "^4.17.11",
"lodash": "2.4.2",
"node-polyglot": "^2.3.0"

@@ -31,5 +31,5 @@ },

"path": "es/index.js",
"limit": "18 KB"
"limit": "36 KB"
}
]
}
import Polyglot from 'node-polyglot';
import { ESupportedLocales, IPhrases } from './types';
import markdown from '@cloudflare/util-markdown';
import { mapValues } from 'lodash-es';
import { mapValues } from 'lodash';

@@ -6,0 +6,0 @@ class Translator {

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