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

tiny-invariant

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-invariant - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

LICENSE

6

dist/tiny-invariant.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.invariant = factory());
}(this, (function () { 'use strict';
(global = global || self, global.invariant = factory());
}(this, function () { 'use strict';

@@ -20,2 +20,2 @@ var prefix = 'Invariant failed';

})));
}));

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.invariant=n()}(this,function(){"use strict";return function(e,n){if(!e)throw new Error("Invariant failed")}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).invariant=n()}(this,function(){"use strict";return function(e,n){if(!e)throw new Error("Invariant failed")}});
{
"name": "tiny-invariant",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [

@@ -11,2 +11,3 @@ "invariant",

"module": "dist/tiny-invariant.esm.js",
"types": "src/index.d.ts",
"sideEffects": false,

@@ -18,2 +19,6 @@ "files": [

"author": "Alex Reardon <alexreardon@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/alexreardon/tiny-invariant.git"
},
"license": "MIT",

@@ -32,16 +37,17 @@ "scripts": {

"devDependencies": {
"@babel/core": "^7.1.5",
"@babel/preset-env": "^7.1.5",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-flow": "^7.0.0",
"@babel/runtime-corejs2": "^7.4.2",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"flow-bin": "^0.85.0",
"jest": "^23.6.0",
"prettier": "^1.15.0",
"rimraf": "^2.6.2",
"rollup": "^0.67.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-uglify": "^6.0.0"
"babel-jest": "^24.5.0",
"flow-bin": "^0.95.1",
"jest": "^24.5.0",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"rollup": "^1.7.3",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-replace": "^2.1.1",
"rollup-plugin-uglify": "^6.0.2"
}
}

@@ -19,5 +19,5 @@ // @flow

// When not in production we allow the message to pass through
// *This block will be removed in non-production builds*
// *This block will be removed in production builds*
throw new Error(`${prefix}: ${message || ''}`);
}
}
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