php-serialize
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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" | ||
} | ||
} |
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
14556