react-intl-universal
Advanced tools
Comparing version 2.5.3 to 2.6.0
@@ -11,3 +11,3 @@ /* | ||
var intl = _interopDefault(require('intl')); | ||
require('intl'); | ||
var React = _interopDefault(require('react')); | ||
@@ -336,3 +336,5 @@ var IntlMessageFormat = _interopDefault(require('intl-messageformat')); | ||
module.exports = new ReactIntlUniversal(); | ||
module.exports.ReactIntlUniversal = ReactIntlUniversal; | ||
var defaultInstance = new ReactIntlUniversal(); | ||
defaultInstance.ReactIntlUniversal = ReactIntlUniversal; | ||
module.exports = defaultInstance; |
{ | ||
"name": "react-intl-universal", | ||
"version": "2.5.3", | ||
"version": "2.6.0", | ||
"description": "Internationalize React apps. Not only for React.Component but also for Vanilla JS.", | ||
@@ -19,2 +19,8 @@ "keywords": [ | ||
"main": "./lib/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./es/index.js", | ||
"require": "./lib/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
@@ -21,0 +27,0 @@ "test": "jest --coverage", |
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
47608
6
677