Comparing version 1.7.0 to 1.7.1
{ | ||
"name": "types.js", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "A tiny and fast dynamic type checker/enforcer library", | ||
@@ -5,0 +5,0 @@ "main": "types.min.js", |
@@ -19,3 +19,3 @@ types.js | ||
// if for untested reason the type of arr at run time is | ||
// something like null, your app will crash in all its glory | ||
// something like null, my app would crash in all its glory | ||
@@ -52,6 +52,2 @@ // I prefer 100% safety at all times, functional and readable: | ||
const COLORS= enumerate( ['RED', 'GREEN', 'BLUE'] ); | ||
console.log( COLORS.BLUE ); | ||
// 2 | ||
typeOf( [] ); | ||
@@ -84,2 +80,6 @@ // 'array' | ||
const COLORS= enumerate( ['RED', 'GREEN', 'BLUE'] ); | ||
console.log( COLORS.BLUE ); | ||
// 2 | ||
// there is much more, see below. | ||
@@ -86,0 +86,0 @@ ``` |
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
0
130794