Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hi-ui/env

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/env - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

CHANGELOG.md

9

lib/cjs/index.js

@@ -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 };

6

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc