@hi-ui/env
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -12,10 +12,4 @@ /** @LICENSE | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
var __DEV__ = process.env.NODE_ENV !== 'production'; | ||
var isBrowser = !!(typeof window !== 'undefined' && window.document && window.document.createElement); | ||
var invariant = function invariant(condition, format) { | ||
@@ -25,3 +19,2 @@ for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { | ||
} | ||
if (__DEV__) { | ||
@@ -33,3 +26,2 @@ if (!condition) { | ||
}); | ||
try { | ||
@@ -47,5 +39,4 @@ // To find the call stack of error. | ||
}; | ||
exports.__DEV__ = __DEV__; | ||
exports.invariant = invariant; | ||
exports.isBrowser = isBrowser; |
@@ -11,5 +11,3 @@ /** @LICENSE | ||
var __DEV__ = process.env.NODE_ENV !== 'production'; | ||
var isBrowser = !!(typeof window !== 'undefined' && window.document && window.document.createElement); | ||
var invariant = function invariant(condition, format) { | ||
@@ -19,3 +17,2 @@ for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { | ||
} | ||
if (__DEV__) { | ||
@@ -27,3 +24,2 @@ if (!condition) { | ||
}); | ||
try { | ||
@@ -41,3 +37,2 @@ // To find the call stack of error. | ||
}; | ||
export { __DEV__, invariant, isBrowser }; |
{ | ||
"name": "@hi-ui/env", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM", | ||
@@ -39,6 +39,4 @@ "keywords": [], | ||
"dependencies": { | ||
"inject-head-style": "^1.0.0", | ||
"style-inject": "^0.3.0" | ||
}, | ||
"gitHead": "cc2be2029ebdd139b4c658071db864827d138f70" | ||
} | ||
} |
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
1
4241
74
- Removedinject-head-style@^1.0.0
- Removedinject-head-style@1.0.1(transitive)