inferno-create-class
Advanced tools
Comparing version 7.4.10 to 8.0.0-alpha.0
import { Component } from 'inferno'; | ||
var ERROR_MSG = 'a runtime error occured! Use Inferno in development environment to find the error.'; | ||
const ERROR_MSG = 'a runtime error occured! Use Inferno in development environment to find the error.'; | ||
function isFunction(o) { | ||
@@ -11,3 +11,3 @@ return typeof o === 'function'; | ||
} | ||
throw new Error(("Inferno Error: " + message)); | ||
throw new Error(`Inferno Error: ${message}`); | ||
} | ||
@@ -14,0 +14,0 @@ |
@@ -5,3 +5,3 @@ (function (global, factory) { | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Inferno = global.Inferno || {}, global.Inferno)); | ||
}(this, (function (exports, inferno) { 'use strict'; | ||
})(this, (function (exports, inferno) { 'use strict'; | ||
@@ -172,2 +172,2 @@ var ERROR_MSG = 'a runtime error occured! Use Inferno in development environment to find the error.'; | ||
}))); | ||
})); |
{ | ||
"name": "inferno-create-class", | ||
"version": "7.4.10", | ||
"version": "8.0.0-alpha.0", | ||
"license": "MIT", | ||
@@ -40,7 +40,7 @@ "description": "Provides a helper to create Inferno Components without needing ES2015", | ||
"dependencies": { | ||
"inferno": "7.4.10" | ||
"inferno": "8.0.0-alpha.0" | ||
}, | ||
"devDependencies": { | ||
"inferno-create-element": "7.4.10", | ||
"inferno-shared": "7.4.10" | ||
"inferno-create-element": "8.0.0-alpha.0", | ||
"inferno-shared": "8.0.0-alpha.0" | ||
}, | ||
@@ -53,3 +53,3 @@ "rollup": { | ||
}, | ||
"gitHead": "50ee5642a8adb5f95432da69e51466eab9b11de0" | ||
"gitHead": "7df70a812d233af097acffcc336ebe9a84dfd831" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
33452
3
+ Addedinferno@8.0.0-alpha.0(transitive)
+ Addedinferno-shared@8.0.0-alpha.0(transitive)
+ Addedinferno-vnode-flags@8.0.0-alpha.0(transitive)
- Removedinferno@7.4.10(transitive)
- Removedinferno-shared@7.4.10(transitive)
- Removedinferno-vnode-flags@7.4.10(transitive)
Updatedinferno@8.0.0-alpha.0