Socket
Socket
Sign inDemoInstall

qs

Package Overview
Dependencies
0
Maintainers
3
Versions
110
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
11Next

6.8.0

Diff

Changelog

Source

6.8.0

  • [New] add depth=false to preserve the original key; [Fix] depth=0 should preserve the original key (#326)
  • [New] [Fix] stringify symbols and bigints
  • [Fix] ensure node 0.12 can stringify Symbols
  • [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  • [Refactor] formats: tiny bit of cleanup.
  • [Dev Deps] update eslint, @ljharb/eslint-config, browserify, safe-publish-latest, iconv-lite, tape
  • [Tests] add tests for depth=0 and depth=false behavior, both current and intuitive/intended (#326)
  • [Tests] use eclint instead of editorconfig-tools
  • [docs] readme: add security note
  • [meta] add github sponsorship
  • [meta] add FUNDING.yml
  • [meta] Clean up license text so it’s properly detected as BSD-3-Clause
ljharb
published 6.7.0 •

Changelog

Source

6.7.0

  • [New] stringify/parse: add comma as an arrayFormat option (#276, #219)
  • [Fix] correctly parse nested arrays (#212)
  • [Fix] utils.merge: avoid a crash with a null target and a truthy non-array source, also with an array source
  • [Robustness] stringify: cache Object.prototype.hasOwnProperty
  • [Refactor] utils: isBuffer: small tweak; add tests
  • [Refactor] use cached Array.isArray
  • [Refactor] parse/stringify: make a function to normalize the options
  • [Refactor] utils: reduce observable [[Get]]s
  • [Refactor] stringify/utils: cache Array.isArray
  • [Tests] always use String(x) over x.toString()
  • [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
  • [Tests] temporarily allow coverage to fail
ljharb
published 6.6.0 •

Changelog

Source

6.6.0

  • [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268)
  • [New] move two-value combine to a utils function (#189)
  • [Fix] stringify: fix a crash with strictNullHandling and a custom filter/serializeDate (#279)
  • [Fix] when parseArrays is false, properly handle keys ending in [] (#260)
  • [Fix] stringify: do not crash in an obscure combo of interpretNumericEntities, a bad custom decoder, & iso-8859-1
  • [Fix] utils: merge: fix crash when source is a truthy primitive & no options are provided
  • [refactor] stringify: Avoid arr = arr.concat(...), push to the existing instance (#269)
  • [Refactor] parse: only need to reassign the var once
  • [Refactor] parse/stringify: clean up charset options checking; fix defaults
  • [Refactor] add missing defaults
  • [Refactor] parse: one less concat call
  • [Refactor] utils: compactQueue: make it explicitly side-effecting
  • [Dev Deps] update browserify, eslint, @ljharb/eslint-config, iconv-lite, safe-publish-latest, tape
  • [Tests] up to node v10.10, v9.11, v8.12, v6.14, v4.9; pin included builds to LTS
ljharb
published 6.5.2 •

Changelog

Source

6.5.2

  • [Fix] use safer-buffer instead of Buffer constructor
  • [Refactor] utils: module.exports one thing, instead of mutating exports (#230)
  • [Dev Deps] update browserify, eslint, iconv-lite, safer-buffer, tape, browserify
ljharb
published 6.5.1 •

Changelog

Source

6.5.1

  • [Fix] Fix parsing & compacting very deep objects (#224)
  • [Refactor] name utils functions
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape
  • [Tests] up to node v8.4; use nvm install-latest-npm so newer npm doesn’t break older node
  • [Tests] Use precise dist for Node.js 0.6 runtime (#225)
  • [Tests] make 0.6 required, now that it’s passing
  • [Tests] on node v8.2; fix npm on node 0.6
ljharb
published 6.5.0 •

Changelog

Source

6.5.0

  • [New] add utils.assign
  • [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
  • [New] parse/stringify: add ignoreQueryPrefix/addQueryPrefix options, respectively (#213)
  • [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
  • [Fix] do not mutate options argument (#207)
  • [Refactor] parse: cache index to reuse in else statement (#182)
  • [Docs] add various badges to readme (#208)
  • [Dev Deps] update eslint, browserify, iconv-lite, tape
  • [Tests] up to node v8.1, v7.10, v6.11; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
  • [Tests] add editorconfig-tools
ljharb
published 6.0.4 •

Changelog

Source

6.0.4

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds
ljharb
published 6.1.2 •

Changelog

Source

6.1.2

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds
ljharb
published 6.2.3 •

Changelog

Source

6.2.3

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds
ljharb
published 6.3.2 •

Changelog

Source

6.3.2

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Dev Deps] update eslint
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc