@autoguru/utilities
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -6,4 +6,3 @@ 'use strict'; | ||
const warning = (condition, message, ...args) => { | ||
if (process.env.NODE_ENV === 'development' || | ||
process.env.NODE_ENV === 'test') { | ||
if (process.env.NODE_ENV !== 'production') { | ||
if (condition === true) { | ||
@@ -34,3 +33,3 @@ if (message === void 0) { | ||
exports.invariant = invariant; | ||
exports.warning = warning; | ||
exports.invariant = invariant; |
{ | ||
"name": "@autoguru/utilities", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "A collection of smallish things that help AutoGuru write code.", | ||
@@ -20,7 +20,7 @@ "homepage": "https://github.com/autoguru-au/octane/tree/master/packages/utilities#readme", | ||
"devDependencies": { | ||
"@autoguru/jest-preset": "^1.0.13", | ||
"@autoguru/jest-preset": "^1.0.14", | ||
"@autoguru/tsconfig": "^1.0.12", | ||
"rollup": "^1.6.0", | ||
"rollup-plugin-typescript2": "^0.20.1", | ||
"typescript": "^3.3.0" | ||
"typescript": "~3.3.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "fd6b8a1799285b3e2fd9939b3b9005ce8505aca8" | ||
"gitHead": "ef655c4326406c011906f8bda85c0c8016d64f89" | ||
} |
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
4335
60