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

@pnpm/modules-yaml

Package Overview
Dependencies
Maintainers
3
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/modules-yaml - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

lib/index.js

@@ -11,4 +11,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const loadYamlFile = require("load-yaml-file");
const path = require("path");
const read_yaml_file_1 = require("read-yaml-file");
const writeYamlFile = require("write-yaml-file");

@@ -22,3 +22,3 @@ // The dot prefix is needed because otherwise `npm shrinkwrap`

try {
const m = yield loadYamlFile(modulesYamlPath);
const m = yield read_yaml_file_1.default(modulesYamlPath);
// for backward compatibility

@@ -25,0 +25,0 @@ // tslint:disable:no-string-literal

{
"name": "@pnpm/modules-yaml",
"version": "2.0.0",
"version": "2.0.1",
"description": "Reads/writes `node_modules/.modules.yaml`",

@@ -14,3 +14,3 @@ "main": "lib/index.js",

"scripts": {
"lint": "tslint -c tslint.json --project .",
"lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
"tsc": "rimraf lib && tsc",

@@ -20,3 +20,3 @@ "test": "npm run tsc && npm run lint && ts-node test --type-check && mos t",

"prepublishOnly": "npm run tsc",
"fix": "tslint -c tslint.json --project . --fix"
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix"
},

@@ -36,19 +36,18 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/modules-yaml",

"@pnpm/types": "2.0.0",
"load-yaml-file": "^0.1.0",
"write-yaml-file": "^1.0.1"
"read-yaml-file": "1.1.0",
"write-yaml-file": "2.0.0"
},
"devDependencies": {
"@pnpm/modules-yaml": "link:.",
"@types/tape": "^4.2.31",
"@types/tempy": "^0.2.0",
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"rimraf": "^2.6.2",
"tape": "^4.8.0",
"tempy": "^0.2.1",
"ts-node": "^7.0.0",
"tslint": "^5.8.0",
"tslint-config-standard": "8.0.1",
"tslint-eslint-rules": "5.4.0",
"typescript": "^3.0.0"
"@pnpm/modules-yaml": "link:",
"@pnpm/tslint-config": "0.0.0",
"@types/tape": "4.2.32",
"@types/tempy": "0.2.0",
"mos": "2.0.0-alpha.3",
"mos-plugin-readme": "1.0.4",
"rimraf": "2.6.2",
"tape": "4.9.1",
"tempy": "0.2.1",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"typescript": "3.1.6"
},

@@ -55,0 +54,0 @@ "mos": {

Sorry, the diff of this file is not supported yet

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