react-intl-universal
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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 || ""; |
{ | ||
"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", |
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
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
10
34567
360
- Removedis-electron@^2.1.0
- Removedload-script@^1.0.0
- Removedis-electron@2.2.2(transitive)
- Removedload-script@1.0.0(transitive)