@visma/react-intl-helpers
Advanced tools
Comparing version 0.1.3-patch to 0.1.3
@@ -168,5 +168,3 @@ "use strict"; | ||
return "export const ".concat((0, _lodash.camelCase)(key), " = '").concat(addNamespace(key), "';"); | ||
}).join('\n'), "\nexport default {").concat(keys.map(_lodash.camelCase).map(function (key) { | ||
return "".concat(key, ": ").concat(key); | ||
}).join(', '), "};\n").concat(process.env.NODE_ENV === 'production' ? '' : // If only message values change, content of returned data does | ||
}).join('\n'), "\nexport default {").concat(keys.map(_lodash.camelCase).join(', '), "};\n").concat(process.env.NODE_ENV === 'production' ? '' : // If only message values change, content of returned data does | ||
// not change. Add timestamp to notify Webpack for changes. | ||
@@ -173,0 +171,0 @@ "/* ".concat(Date.now(), " */"))); |
@@ -147,5 +147,3 @@ import _getIterator from "@babel/runtime/core-js/get-iterator"; | ||
return "export const ".concat(camelCase(key), " = '").concat(addNamespace(key), "';"); | ||
}).join('\n'), "\nexport default {").concat(keys.map(camelCase).map(function (key) { | ||
return "".concat(key, ": ").concat(key); | ||
}).join(', '), "};\n").concat(process.env.NODE_ENV === 'production' ? '' : // If only message values change, content of returned data does | ||
}).join('\n'), "\nexport default {").concat(keys.map(camelCase).join(', '), "};\n").concat(process.env.NODE_ENV === 'production' ? '' : // If only message values change, content of returned data does | ||
// not change. Add timestamp to notify Webpack for changes. | ||
@@ -152,0 +150,0 @@ "/* ".concat(Date.now(), " */"))); |
{ | ||
"name": "@visma/react-intl-helpers", | ||
"version": "0.1.3-patch", | ||
"version": "0.1.3", | ||
"description": "Modular messages.properties, loaded dynamically.", | ||
@@ -5,0 +5,0 @@ "main": "cjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
138876
1767