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

immutable-json-patch

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-json-patch - npm Package Versions

2

6.0.1

Diff

Changelog

Source

2024-01-19, version 6.0.1

  • Fix Object.create(null) not being recognized as object.
josdejong
published 6.0.0 •

Changelog

Source

2023-12-13, version 6.0.0

  • BREAKING: deprecated the JSONValue type, use generics instead.
  • Implement generics, improving the TypeScript experience.
  • Drop official support for Node.js 16.
josdejong
published 5.1.3 •

Changelog

Source

2023-07-07, version 5.1.3

  • Fix #2: the main field not pointing to the CommonJS version of the library.
  • Fix UMD export not correctly exporting to window.immutableJSONPatch in the browser.
  • Drop official support for Nodejs 14.
josdejong
published 5.1.2 •

Changelog

Source

2023-01-12, version 5.1.2

  • Add exports object to package.json to improve support different bundlers.
josdejong
published 5.1.1 •

Changelog

Source

2022-11-17, version 5.1.1

  • Fix helper function existsIn not handling recursive paths containing null.
josdejong
published 5.1.0 •

Changelog

Source

2022-09-28, version 5.1.0

  • Exports a new utility function transform.
josdejong
published 5.0.0 •

Changelog

Source

2022-09-13, version 5.0.0

  • BREAKING: Type JSONData has been renamed to JSONValue.
  • BREAKING: The optional property json in the returned objects from callbacks JSONPatchOperations.before and RevertJSONPatchOptions.before has been renamed to document.
  • Fixed isJSONObject returning true for class instances.
josdejong
published 4.0.1 •

Changelog

Source

2022-08-22, version 4.0.1

  • Mark the package as side-effects free, allowing better optimization in bundlers.
josdejong
published 4.0.0 •

Changelog

Source

2022-08-22, version 4.0.0

  • BREAKING: Changed the "main" field in package.json to point to the ES Module entry point instead of CommonJS.
  • BREAKING: Converted the source code to TypeScript. There are some subtle changes in the TypeScript definitions of util functions.
  • Implemented two new typeguard functions: isJSONObject and isJSONArray.
josdejong
published 3.0.0 •

Changelog

Source

2022-07-01, version 3.0.0

  • BREAKING: the before and after hooks of the function immutableJSONPatch now pass a JSONPatchOperation instead of a PreprocessedJSONPatchOperation.
  • BREAKING: dropping function parseJSONPointerWithArrayIndices (introduced in v2.0.0) again, and changing JSONPath to always return an array with strings. Reason is that a mix of strings and numbers is fragile. It leads to bad usage patterns and can easily cause bugs.
  • Implement a before callback for revertJSONPatch.
  • Export utility functions parsePath and parseFrom, isJSONPatchOperation, isJSONPatchAdd, isJSONPatchRemove, isJSONPatchReplace, isJSONPatchCopy, isJSONPatchMove, isJSONPatchTest.
2
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