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

@rnw-scripts/package-utils

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rnw-scripts/package-utils - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Fri, 20 Nov 2020 05:06:58 GMT",
"date": "Tue, 24 Nov 2020 05:06:33 GMT",
"tag": "@rnw-scripts/package-utils_v0.0.11",
"version": "0.0.11",
"comments": {
"patch": [
{
"comment": "Add more eslint rules",
"author": "ngerlem@microsoft.com",
"commit": "adc0617836a0fba4112646595645e65f93e0106f",
"package": "@rnw-scripts/package-utils"
}
]
}
},
{
"date": "Fri, 20 Nov 2020 05:08:43 GMT",
"tag": "@rnw-scripts/package-utils_v0.0.10",

@@ -8,0 +23,0 @@ "version": "0.0.10",

# Change Log - @rnw-scripts/package-utils
This log was last generated on Thu, 01 Oct 2020 05:08:11 GMT and should not be manually modified.
This log was last generated on Tue, 24 Nov 2020 05:06:33 GMT and should not be manually modified.
<!-- Start content -->
## 0.0.11
Tue, 24 Nov 2020 05:06:33 GMT
### Patches
- Add more eslint rules (ngerlem@microsoft.com)
## 0.0.8

@@ -8,0 +16,0 @@

2

lib-commonjs/packageUtils.d.ts

@@ -11,3 +11,3 @@ /**

export declare class NpmPackage {
private pkgPath;
private readonly pkgPath;
protected pkgJson: any;

@@ -14,0 +14,0 @@ /**

@@ -46,7 +46,12 @@ "use strict";

const jsonPath = path.join(pkgPath, 'package.json');
const jsonBuffer = await fs.promises.readFile(jsonPath);
if (!jsonBuffer) {
return null;
try {
const jsonBuffer = await fs.promises.readFile(jsonPath);
return new WritableNpmPackage(pkgPath, JSON.parse(jsonBuffer.toString()));
}
return new WritableNpmPackage(pkgPath, JSON.parse(jsonBuffer.toString()));
catch (ex) {
if (ex.code === 'ENOENT') {
return null;
}
throw ex;
}
}

@@ -53,0 +58,0 @@ /**

{
"name": "@rnw-scripts/package-utils",
"version": "0.0.10",
"version": "0.0.11",
"license": "MIT",

@@ -14,3 +14,3 @@ "scripts": {

"dependencies": {
"@rnw-scripts/find-repo-root": "^0.0.13",
"@rnw-scripts/find-repo-root": "^0.0.14",
"get-monorepo-packages": "^1.2.0",

@@ -20,3 +20,3 @@ "lodash": "^4.17.15"

"devDependencies": {
"@rnw-scripts/eslint-config": "0.1.5",
"@rnw-scripts/eslint-config": "0.1.6",
"@rnw-scripts/just-task": "0.0.6",

@@ -23,0 +23,0 @@ "@rnw-scripts/ts-config": "0.1.0",

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