HomeSoftware Heritage

npm.client: Ensure package.json parsing

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

npm.client: Ensure package.json parsing

  • refine JSON loading code to avoid UnicodeDecodeError
  • discard malformed JSON
  • remove any BOM to avoid JSONDecodeError
  • cover more tarball layouts

Related T1726

Details

Provenance
anlambertAuthored on May 21 2019, 4:57 PM
anlambertPushed on May 23 2019, 3:54 PM
Differential Revision
D1498: npm.client: Ensure package.json parsing
Build Status
Buildable 5899
Build 8083: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.