@sumup/intl
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -50,13 +50,3 @@ "use strict"; | ||
*/ | ||
exports.isIntlSupported = (function () { | ||
if (process.env.NODE_ENV !== 'production') { | ||
// eslint-disable-next-line no-console | ||
console.warn([ | ||
'DEPRECATED: isIntlSupported has been replaced', | ||
'by isNumberFormatSupported & isNumberFormatToPartsSupported', | ||
'and will be removed in the next major version.', | ||
].join(' ')); | ||
} | ||
return exports.isNumberFormatSupported; | ||
})(); | ||
exports.isIntlSupported = exports.isNumberFormatSupported; | ||
var memoizedIntl; | ||
@@ -63,0 +53,0 @@ exports.memoizeIntl = function () { |
@@ -44,13 +44,3 @@ /** | ||
*/ | ||
export const isIntlSupported = (() => { | ||
if (process.env.NODE_ENV !== 'production') { | ||
// eslint-disable-next-line no-console | ||
console.warn([ | ||
'DEPRECATED: isIntlSupported has been replaced', | ||
'by isNumberFormatSupported & isNumberFormatToPartsSupported', | ||
'and will be removed in the next major version.', | ||
].join(' ')); | ||
} | ||
return isNumberFormatSupported; | ||
})(); | ||
export const isIntlSupported = isNumberFormatSupported; | ||
let memoizedIntl; | ||
@@ -57,0 +47,0 @@ export const memoizeIntl = () => { |
{ | ||
"name": "@sumup/intl", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Format numbers and currency values for any locale with the ECMAScript Internationalization API", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:sumup-oss/intl-js.git", |
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
3
112826
2455