inferno-shared
Advanced tools
Comparing version 4.0.0-10 to 4.0.0-11
@@ -1,1 +0,1 @@ | ||
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n.Inferno=n.Inferno||{})}(this,function(n){"use strict";var r="a runtime error occured! Use Inferno in development environment to find the error.",e=!("undefined"==typeof window||!window.document);var o=Array.isArray;function t(n){return null===n}function i(n){return!0===n}function u(n){return void 0===n}n.NO_OP="$NO_OP",n.ERROR_MSG=r,n.isBrowser=e,n.toArray=function(n){return o(n)?n:n?[n]:n},n.isArray=o,n.isStringOrNumber=function(n){var r=typeof n;return"string"===r||"number"===r},n.isNullOrUndef=function(n){return u(n)||t(n)},n.isInvalid=function(n){return t(n)||!1===n||i(n)||u(n)},n.isFunction=function(n){return"function"==typeof n},n.isString=function(n){return"string"==typeof n},n.isNumber=function(n){return"number"==typeof n},n.isNull=t,n.isTrue=i,n.isUndefined=u,n.isObject=function(n){return"object"==typeof n},n.throwError=function(n){throw n||(n=r),new Error("Inferno Error: "+n)},n.warning=function(n){console.error(n)},n.combineFrom=function(n,r){var e={};if(n)for(var o in n)e[o]=n[o];if(r)for(var t in r)e[t]=r[t];return e},Object.defineProperty(n,"__esModule",{value:!0})}); | ||
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n.Inferno=n.Inferno||{})}(this,function(n){"use strict";var r="a runtime error occured! Use Inferno in development environment to find the error.",e=!("undefined"==typeof window||!window.document),o=Array.isArray;function t(n){return null===n}function i(n){return!0===n}function u(n){return void 0===n}n.NO_OP="$NO_OP",n.ERROR_MSG=r,n.isBrowser=e,n.toArray=function(n){return o(n)?n:n?[n]:n},n.isArray=o,n.isStringOrNumber=function(n){var r=typeof n;return"string"===r||"number"===r},n.isNullOrUndef=function(n){return u(n)||t(n)},n.isInvalid=function(n){return t(n)||!1===n||i(n)||u(n)},n.isFunction=function(n){return"function"==typeof n},n.isString=function(n){return"string"==typeof n},n.isNumber=function(n){return"number"==typeof n},n.isNull=t,n.isTrue=i,n.isUndefined=u,n.isObject=function(n){return"object"==typeof n},n.throwError=function(n){throw n||(n=r),new Error("Inferno Error: "+n)},n.warning=function(n){console.error(n)},n.combineFrom=function(n,r){var e={};if(n)for(var o in n)e[o]=n[o];if(r)for(var t in r)e[t]=r[t];return e},Object.defineProperty(n,"__esModule",{value:!0})}); |
@@ -1,3 +0,7 @@ | ||
module.exports = require('./dist'); | ||
module.exports.default = module.exports; | ||
'use strict'; | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./dist/index.cjs.min.js'); | ||
} else { | ||
module.exports = require('./dist/index.cjs.js'); | ||
} |
{ | ||
"name": "inferno-shared", | ||
"version": "4.0.0-10", | ||
"version": "4.0.0-11", | ||
"license": "MIT", | ||
@@ -15,3 +15,3 @@ "description": "Helpers functions for Inferno", | ||
"main": "index.js", | ||
"module": "dist/index.es.js", | ||
"module": "dist/index.mjs", | ||
"typings": "dist/index.d.ts", | ||
@@ -18,0 +18,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
12054
8
290
2
1