php-serialize
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -48,2 +48,4 @@ "use strict"; | ||
case 's': | ||
case 'a': | ||
case 'O': | ||
if (strict) { | ||
@@ -57,6 +59,2 @@ if (item.substr(-2, 1) !== '"') { | ||
} | ||
break; | ||
// or else fall through | ||
case 'a': | ||
case 'O': | ||
return item.match(new RegExp("^" + token + ":[0-9]+:", 's')) !== null; | ||
@@ -63,0 +61,0 @@ case 'b': |
@@ -46,2 +46,4 @@ /** | ||
case 's': | ||
case 'a': | ||
case 'O': | ||
if (strict) { | ||
@@ -55,6 +57,2 @@ if (item.substr(-2, 1) !== '"') { | ||
} | ||
break; | ||
// or else fall through | ||
case 'a': | ||
case 'O': | ||
return item.match(new RegExp("^" + token + ":[0-9]+:", 's')) !== null; | ||
@@ -61,0 +59,0 @@ case 'b': |
{ | ||
"name": "php-serialize", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "PHP serialize/unserialize in Javascript", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
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
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
36782
876