@pnpm/modules-yaml
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12
8675
+ Addedread-yaml-file@1.1.0
+ Addedpify@4.0.1(transitive)
+ Addedread-yaml-file@1.1.0(transitive)
+ Addedwrite-yaml-file@2.0.0(transitive)
- Removedload-yaml-file@^0.1.0
- Removedload-yaml-file@0.1.1(transitive)
- Removedpify@2.3.03.0.0(transitive)
- Removedwrite-yaml-file@1.0.1(transitive)
Updatedwrite-yaml-file@2.0.0