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

@pnpm/write-project-manifest

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/write-project-manifest - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

CHANGELOG.md
# @pnpm/write-project-manifest
## 2.0.1
### Patch Changes
- Updated dependencies [97c64bae4]
- @pnpm/types@7.1.0
## 2.0.0

@@ -4,0 +11,0 @@

4

lib/index.js

@@ -19,3 +19,3 @@ "use strict";

if (fileType === 'yaml') {
return (0, write_yaml_file_1.default)(filePath, manifest, YAML_FORMAT);
return write_yaml_file_1.default(filePath, manifest, YAML_FORMAT);
}

@@ -26,5 +26,5 @@ await fs_1.promises.mkdir(path_1.default.dirname(filePath), { recursive: true });

.stringify(manifest, undefined, (_a = opts === null || opts === void 0 ? void 0 : opts.indent) !== null && _a !== void 0 ? _a : '\t');
return (0, write_file_atomic_1.default)(filePath, `${json}${trailingNewline}`);
return write_file_atomic_1.default(filePath, `${json}${trailingNewline}`);
}
exports.default = writeProjectManifest;
//# sourceMappingURL=index.js.map
{
"name": "@pnpm/write-project-manifest",
"version": "2.0.0",
"version": "2.0.1",
"description": "Write a project manifest (called package.json in most cases)",

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

],
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/write-project-manifest",

@@ -32,3 +25,3 @@ "keywords": [

"dependencies": {
"@pnpm/types": "7.0.0",
"@pnpm/types": "7.1.0",
"json5": "^2.1.3",

@@ -43,3 +36,9 @@ "write-file-atomic": "^3.0.3",

},
"funding": "https://opencollective.com/pnpm"
"funding": "https://opencollective.com/pnpm",
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
}
}
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