Socket
Socket
Sign inDemoInstall

@yarnpkg/lockfile

Package Overview
Dependencies
0
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

10

package.json
{
"name": "@yarnpkg/lockfile",
"version": "1.0.0",
"version": "1.0.1",
"description": "The parser/stringifier for Yarn lockfiles.",
"main": "index.js",
"repository": "https://github.com/yarnpkg/yarn/blob/master/packages/lockfile",
"keywords": [
"yarn",
"yarnpkg",
"lockfile",
"dependency",
"npm"
],
"license": "BSD-2-Clause"
}

8

README.md
# yarn-lockfile
parse and/or write `yarn.lock` files
## Usage Example
Parse and/or write `yarn.lock` files
## Usage Examples
```js
const fs = require('fs');
const lockfile = require('@yarnpkg/lockfile');
// or (es6)
import fs from 'fs';
import * as lockfile from '@yarnpkg/lockfile';

@@ -10,0 +14,0 @@ let file = fs.readFileSync('yarn.lock', 'utf8');

Sorry, the diff of this file is too big to display

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