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

php-serialize

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

php-serialize - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

lib/cjs/isSerialized.js

@@ -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",

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