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

react-intl-universal

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-intl-universal - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

22

lib/index.js

@@ -17,7 +17,5 @@ /*

var queryParser = _interopDefault(require('querystring'));
var loadScript = _interopDefault(require('load-script'));
var invariant = _interopDefault(require('invariant'));
require('console-polyfill');
var merge = _interopDefault(require('lodash.merge'));
var isElectron = _interopDefault(require('is-electron'));

@@ -67,22 +65,2 @@ /**

// const COMMON_LOCALE_DATA_URLS = {
// en: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/en.js",
// zh: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/zh.js",
// fr: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/fr.js",
// fa: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/fa.js",
// ja: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/ja.js",
// de: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/de.js",
// es: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/es.js",
// ko: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/ko.js",
// pt: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/pt.js",
// it: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/it.js",
// ru: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/ru.js",
// pl: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/pl.js",
// nl: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/nl.js",
// sv: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/sv.js",
// tr: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/tr.js",
// };
var isBrowser = !isElectron() && !!(typeof window !== 'undefined' && window.document && window.document.createElement);
String.prototype.defaultMessage = String.prototype.d = function (msg) {

@@ -89,0 +67,0 @@ return this || msg || "";

4

package.json
{
"name": "react-intl-universal",
"version": "2.0.0",
"version": "2.0.1",
"description": "Internationalize React apps. Not only for React.Component but also for Vanilla JS.",

@@ -36,4 +36,2 @@ "keywords": [

"invariant": "^2.2.2",
"is-electron": "^2.1.0",
"load-script": "^1.0.0",
"lodash.merge": "^4.6.1",

@@ -40,0 +38,0 @@ "object-keys": "^1.0.11",

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