Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: yahoo/serialize-javascript

v7.0.2

07 Dec 13:28
@okuryu okuryu
v7.0.2
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
SSH Key Fingerprint: EtWUDeoLVe2CsbyYaX8WO4KwPvjtTfxsvBt2QvBHr9s
Verified
Learn about vigilant mode.
44f544b
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

Full Changelog: v7.0.1...v7.0.2

Contributors

okuryu
Assets 2
Loading

v7.0.1

28 Nov 13:32
@okuryu okuryu
v7.0.1
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
SSH Key Fingerprint: EtWUDeoLVe2CsbyYaX8WO4KwPvjtTfxsvBt2QvBHr9s
Verified
Learn about vigilant mode.
f7fff15
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.0...v7.0.1

Contributors

okuryu, redonkulus, and valadaptive
Loading

v7.0.0

04 Oct 12:56
@okuryu okuryu
v7.0.0
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
SSH Key Fingerprint: EtWUDeoLVe2CsbyYaX8WO4KwPvjtTfxsvBt2QvBHr9s
Verified
Learn about vigilant mode.
bb0048c
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Breaking Changes

  • requires Node.js v20+

What's Changed

New Contributors

Full Changelog: v6.0.2...v7.0.0

Contributors

okuryu, dependabot, and valadaptive
Loading

v6.0.2

09 Jan 01:06
@redonkulus redonkulus

Choose a tag to compare

v6.0.1...v6.0.2

Loading

v6.0.1

15 Jan 14:35
@okuryu okuryu
v6.0.1
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
SSH Key Fingerprint: EtWUDeoLVe2CsbyYaX8WO4KwPvjtTfxsvBt2QvBHr9s
Verified
Learn about vigilant mode.
7139f92
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.0.1

Contributors

okuryu, momocow, and 2 other contributors
Loading

v6.0.0

21 Jun 14:08
@okuryu okuryu
v6.0.0
This tag was signed with the committer’s verified signature. The key has expired.
okuryu Ryuichi Okumura
GPG key ID: 4315B346F7125919
Expired
Verified
Learn about vigilant mode.
3302c44
This commit was signed with the committer’s verified signature. The key has expired.
okuryu Ryuichi Okumura
GPG key ID: 4315B346F7125919
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Changelog

  • Add support for URL's (#123)
  • Bump mocha from 9.0.0 to 9.0.1 (#124)
  • Bump mocha from 8.4.0 to 9.0.0 (#121)
  • Update Node.js CI matrix (#122)
  • Bump mocha from 8.3.2 to 8.4.0 (#120)
  • Bump lodash from 4.17.19 to 4.17.21 (#119)
  • Bump y18n from 4.0.0 to 4.0.1 (#116)
  • Bump chai from 4.3.3 to 4.3.4 (#115)
  • Bump mocha from 8.3.1 to 8.3.2 (#114)
  • Bump mocha from 8.3.0 to 8.3.1 (#113)
  • Bump chai from 4.3.1 to 4.3.3 (#112)
  • Bump chai from 4.2.0 to 4.3.1 (#111)
  • Bump mocha from 8.2.1 to 8.3.0 (#109)
  • Bump mocha from 8.1.3 to 8.2.1 (#105)
  • Drop Travis CI settings (#100)
  • Change default branch name to main (#99)
  • GitHub Aactions (#98)

Behavior changes for URL objects

It serializes URL objects as follows since this version. The result of serialization may be changed if you are passing URL object values into the serialize-javascript.

const serialize = require("serialize-javascript");
serialize({u: new URL("http://example.com/")}); // '{"u":new URL("http://example.com/")}'

Thank you @rrdelaney for this release.

Loading
SudhanPlayz, lsongdev, ntvinhit, rifandani, hanakla, rrdelaney, and ambar reacted with hooray emoji
7 people reacted

v5.0.1

10 Sep 12:54
@okuryu okuryu
8eb19aa
This commit was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.

Choose a tag to compare

Changelog

  • Exclude .vscode and .github directories from package (#97)
Loading

v5.0.0

09 Sep 12:40
@okuryu okuryu
282a3b8
This commit was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.

Choose a tag to compare

Changelog

  • Bump mocha from 8.1.2 to 8.1.3 (#96)
  • Support sparse arrays (#95)
  • Bump mocha from 8.1.1 to 8.1.2 (#94)
  • Bump mocha from 8.1.0 to 8.1.1 (#92)
  • Create Dependabot config file (#91)
  • Bump mocha from 8.0.1 to 8.1.0 (#90)
  • Bump lodash from 4.17.15 to 4.17.19 (#89)
  • Bump mocha from 7.2.0 to 8.0.1 (#88)

Behavior changes for sparse arrays

It serializes sparse arrays as follows since this version. The result of serialization may be changed if you are passing sparse arrays values into the serialize-javascript.

const serialize = require('serialize-javascript');
var a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
delete a[0];
a.length = 3;
a[5] = 'wat';
serialize(a) // 'Array.prototype.slice.call({"1":2,"2":3,"5":"wat","length":6})'

Thank you @victorporof for this release.

Loading

v4.0.0

08 Jun 13:47
@okuryu okuryu
v4.0.0
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.
a8a458c
This commit was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.

Choose a tag to compare

Changelog

  • Bump nyc from 15.0.1 to 15.1.0 (#85)
  • support for bigint (#80)

Behavior changes for BigInt

It serializes BigInt values as follows since this version. The result of serialization may be changed if you are passing BigInt values into the serialize-javascript.

v4.x:

const serialize = require('serialize-javascript');
serialize({big: BigInt('10')}); // '{"big":BigInt("10")}'

v3.x:

const serialize = require('serialize-javascript');
serialize({big: BigInt('10')}); // throws error

Thank you @mum-never-proud for this release.

Loading

v3.1.0

28 May 11:46
@okuryu okuryu
v3.1.0
This tag was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.
b54341e
This commit was signed with the committer’s verified signature.
okuryu Ryuichi Okumura
GPG key ID: 451DB93FCDD9571E
Verified
Learn about vigilant mode.

Choose a tag to compare

  • Bump mocha from 7.1.2 to 7.2.0 (#83)
  • Bump mocha from 7.1.1 to 7.1.2 (#82)
  • Bump nyc from 15.0.0 to 15.0.1 (#81)
  • Don't replace regex / function placeholders within string literals (#79)
  • [Security] Bump minimist from 1.2.0 to 1.2.5 (#78)
  • Bump mocha from 7.1.0 to 7.1.1 (#77)
  • Bump mocha from 7.0.1 to 7.1.0 (#74)
  • Update example in README (#73)

Note: the randombytes has been added to the dependency package to improve the generation of UIDs. Check the #22 for more information. Thanks to @JordanMilne and @Siebes for this change.

Loading
Previous 1 3
Previous

AltStyle によって変換されたページ (->オリジナル) /