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

read-package-json

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-package-json - npm Package Versions

13
10

4.1.2

Diff

Changelog

Source

5.0.0 (2022-03-15)

⚠ BREAKING CHANGES

  • This drops support for node10 and non-LTS versions of node12 and node14

Bug Fixes

  • always use / in package.json paths (18cc3fa)

  • move files to lib (bd7fac4)

  • @npmcli/template-oss@2.9.2 (2122bc2)

Dependencies

  • bump normalize-package-data from 3.0.3 to 4.0.0 (#113) (b905443)
  • update glob requirement from ^7.1.1 to ^7.2.0 (#115) (35482c4)
  • update json-parse-even-better-errors requirement (#116) (1b1b3f0)
  • update npm-normalize-package-bin requirement from ^1.0.0 to ^1.0.1 (#114) (d1f64a5)
gar
published 4.1.1 •

gar
published 4.1.0 •

gar
published 4.0.1 •

gar
published 4.0.0 •

Changelog

Source

4.0.0 (2021-08-18)

Bug Fixes

  • parseError: use file not path attribute (5002e00)

BREAKING CHANGES

  • parseError: rename file attribute to path

In order to align with the way our other "fast" json parsers work the err.file attribute needs to be renamed to err.path.

Also other errors i.e. ENOENT attach a path attribute.

<a name="3.0.1"></a>

isaacs
published 3.0.1 •

Changelog

Source

3.0.1 (2021-02-22)

Bug Fixes

  • Strip underscore prefixed fields from file contents (ac771d8)

<a name="3.0.0"></a>

darcyclarke
published 3.0.0 •

Changelog

Source

3.0.0 (2020-10-13)

Bug Fixes

  • check-in updated lockfile (19d9fbe)

<a name="2.1.2"></a>

isaacs
published 2.1.2 •

Changelog

Source

2.1.2 (2020-08-20)

Bug Fixes

  • even better json errors, remove graceful-fs (fdbf082)

<a name="2.1.1"></a>

isaacs
published 2.1.1 •

Changelog

Source

2.1.1 (2019-12-09)

Bug Fixes

  • normalize and sanitize pkg bin entries (b8cb5fa)

<a name="2.1.0"></a>

isaacs
published 2.1.0 •

Changelog

Source

2.1.0 (2019-08-13)

Features

  • support bundleDependencies: true (76f6f42)

<a name="2.0.13"></a>

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