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

php-serialize

Package Overview
Dependencies
Maintainers
1
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 1.3.0 to 1.3.1

30

CHANGELOG.md

@@ -0,42 +1,46 @@

## 1.3.1
* Fix serialization support for big numbers
## 1.3.0
- Added support for namespaced serializations
* Added support for namespaced serializations
## 1.2.5
- Fixed support for multi-byte strings
- Rewrote most of decode internals to work on Buffers instead of strings (external API still the same)
* Fixed support for multi-byte strings
* Rewrote most of decode internals to work on Buffers instead of strings (external API still the same)
## 1.2.4
- Move `flow-bin` to dev dependencies from dependencies (sorry guys!)
* Move `flow-bin` to dev dependencies from dependencies (sorry guys!)
## 1.2.3
- Fix decoding of empty arrays (Thanks @incadawr)
* Fix decoding of empty arrays (Thanks @incadawr)
## 1.2.2
- Fix encoding/decoding of multi-byte utf8 strings
* Fix encoding/decoding of multi-byte utf8 strings
## 1.2.1
- Fix a bug where objects/Array guessing would fail when values were/not numeric.
* Fix a bug where objects/Array guessing would fail when values were/not numeric.
## 1.2.0
- Add support for `__PHP_Incomplete_Class`
* Add support for `__PHP_Incomplete_Class`
## 1.1.1
- Add support for deep serialization (Thanks @cantremember)
* Add support for deep serialization (Thanks @cantremember)
## 1.1.0
- Complete rewrite
- Fixed a lot of bugs/limitations
- Added specs to ensure stability
* Complete rewrite
* Fixed a lot of bugs/limitations
* Added specs to ensure stability
## 1.0.0
- Initial release
* Initial release

@@ -30,6 +30,6 @@ 'use strict';

if (type === 'number') {
if (item % 1 === 0) {
if (item === parseInt(item, 10)) {
return 'i:' + item + ';';
}
return 'd:' + item + ';';
return 'd:' + item.toString().toUpperCase() + ';';
}

@@ -36,0 +36,0 @@ if (type === 'string') {

{
"name": "php-serialize",
"version": "1.3.0",
"version": "1.3.1",
"description": "PHP serialize/unserialize in Javascript",

@@ -27,5 +27,5 @@ "main": "lib/index.js",

"eslint-config-steelbrain": "^3.0.0",
"flow-bin": "^0.46.0",
"flow-bin": "^0.47.0",
"sb-exec": "^4.0.0"
}
}
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