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

@react-native-windows/package-utils

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-windows/package-utils - npm Package Compare versions

Comparing version 0.65.0 to 0.66.0-preview.1

101

CHANGELOG.json

@@ -5,13 +5,51 @@ {

{
"date": "Mon, 23 Aug 2021 15:08:33 GMT",
"tag": "@react-native-windows/package-utils_v0.65.0",
"version": "0.65.0",
"date": "Fri, 03 Sep 2021 18:47:33 GMT",
"tag": "@react-native-windows/package-utils_v0.66.0-preview.1",
"version": "0.66.0-preview.1",
"comments": {
"prerelease": [
{
"comment": "Promote 0.66 to preview",
"author": "ngerlem@microsoft.com",
"commit": "cf1dcfbe108028869e326bb2bdab370949f7dac8",
"package": "@react-native-windows/package-utils"
}
]
}
},
{
"date": "Sat, 24 Jul 2021 05:05:52 GMT",
"tag": "@react-native-windows/package-utils_v0.0.0-canary.20",
"version": "0.0.0-canary.20",
"comments": {
"none": [
{
"comment": "Bump @react-native-windows/find-repo-root to v0.0.0-canary.23",
"author": "4123478+tido64@users.noreply.github.com",
"commit": "a311022ebc0c1d8070d7e54312197f486c470d33",
"package": "@react-native-windows/package-utils"
}
]
}
},
{
"date": "Fri, 11 Jun 2021 05:08:55 GMT",
"tag": "@react-native-windows/package-utils_v0.0.0-canary.20",
"version": "0.0.0-canary.20",
"comments": {
"patch": [
{
"comment": "Promote 0.65 to latest",
"comment": "Bump @rnw-scripts/just-task to v2.2.0",
"author": "ngerlem@microsoft.com",
"commit": "6b2df206699d51f2be4595391735344a2f53af01",
"commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829",
"package": "@react-native-windows/package-utils"
}
],
"prerelease": [
{
"comment": "Bump @react-native-windows/find-repo-root to v0.0.0-canary.23",
"author": "ngerlem@microsoft.com",
"commit": "3d7c8d8fcf14a3cbda83a93c85b0bcf1e4e4f829",
"package": "@react-native-windows/package-utils"
}
]

@@ -21,13 +59,56 @@ }

{
"date": "Mon, 31 May 2021 15:23:18 GMT",
"tag": "@react-native-windows/package-utils_v0.65.0-preview.1",
"version": "0.65.0-preview.1",
"date": "Wed, 09 Jun 2021 05:10:07 GMT",
"tag": "@react-native-windows/package-utils_v0.0.0-canary.19",
"version": "0.0.0-canary.19",
"comments": {
"patch": [
{
"comment": "Bump @rnw-scripts/just-task to v2.1.3",
"author": "igklemen@microsoft.com",
"commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009",
"package": "@react-native-windows/package-utils"
}
],
"prerelease": [
{
"comment": "Promote 0.65 to preview",
"comment": "Bump @react-native-windows/find-repo-root to v0.0.0-canary.22",
"author": "igklemen@microsoft.com",
"commit": "2ba41a4f087cc3bf16cbe799575923fc7a626009",
"package": "@react-native-windows/package-utils"
}
]
}
},
{
"date": "Thu, 03 Jun 2021 05:09:47 GMT",
"tag": "@react-native-windows/package-utils_v0.0.0-canary.18",
"version": "0.0.0-canary.18",
"comments": {
"prerelease": [
{
"comment": "Enable esModuleInterop Repo Wide",
"author": "ngerlem@microsoft.com",
"commit": "3d6d7f00b51a68c7ab7c3b3e50cdb2be8b17929f",
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0",
"package": "@react-native-windows/package-utils"
}
],
"patch": [
{
"comment": "Bump @rnw-scripts/just-task to v2.1.2",
"author": "ngerlem@microsoft.com",
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e",
"package": "@react-native-windows/package-utils"
},
{
"comment": "Bump @rnw-scripts/ts-config to v2.0.0",
"author": "ngerlem@microsoft.com",
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0",
"package": "@react-native-windows/package-utils"
},
{
"comment": "Bump @rnw-scripts/eslint-config to v1.1.7",
"author": "ngerlem@microsoft.com",
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e",
"package": "@react-native-windows/package-utils"
}
]

@@ -34,0 +115,0 @@ }

# Change Log - @react-native-windows/package-utils
This log was last generated on Mon, 23 Aug 2021 15:08:33 GMT and should not be manually modified.
This log was last generated on Fri, 03 Sep 2021 18:47:33 GMT and should not be manually modified.
<!-- Start content -->
## 0.65.0
## 0.66.0-preview.1
Mon, 23 Aug 2021 15:08:33 GMT
Fri, 03 Sep 2021 18:47:33 GMT
### Changes
- Promote 0.66 to preview (ngerlem@microsoft.com)
## 0.0.0-canary.20
Fri, 11 Jun 2021 05:08:55 GMT
### Patches
- Promote 0.65 to latest (ngerlem@microsoft.com)
- Bump @rnw-scripts/just-task to v2.2.0 (ngerlem@microsoft.com)
## 0.65.0-preview.1
### Changes
Mon, 31 May 2021 15:23:18 GMT
- Bump @react-native-windows/find-repo-root to v0.0.0-canary.23 (ngerlem@microsoft.com)
## 0.0.0-canary.19
Wed, 09 Jun 2021 05:10:07 GMT
### Patches
- Bump @rnw-scripts/just-task to v2.1.3 (igklemen@microsoft.com)
### Changes
- Promote 0.65 to preview (ngerlem@microsoft.com)
- Bump @react-native-windows/find-repo-root to v0.0.0-canary.22 (igklemen@microsoft.com)
## 0.0.0-canary.18
Thu, 03 Jun 2021 05:09:47 GMT
### Patches
- Bump @rnw-scripts/just-task to v2.1.2 (ngerlem@microsoft.com)
- Bump @rnw-scripts/ts-config to v2.0.0 (ngerlem@microsoft.com)
- Bump @rnw-scripts/eslint-config to v1.1.7 (ngerlem@microsoft.com)
### Changes
- Enable esModuleInterop Repo Wide (ngerlem@microsoft.com)
## 0.0.0-canary.17

@@ -24,0 +54,0 @@

23

lib-commonjs/packageUtils.js

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

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.findRepoPackage = exports.findPackage = exports.enumerateRepoPackages = exports.WritableNpmPackage = exports.NpmPackage = void 0;
const _ = require("lodash");
const fs = require("fs");
const path = require("path");
const find_repo_root_1 = require("@react-native-windows/find-repo-root");
const lodash_1 = __importDefault(require("lodash"));
const fs_1 = __importDefault(require("fs"));
const path_1 = __importDefault(require("path"));
const find_repo_root_1 = __importDefault(require("@react-native-windows/find-repo-root"));
const getMonorepoPackages = require('get-monorepo-packages');

@@ -34,3 +37,3 @@ /**

get json() {
return _.cloneDeep(this.pkgJson);
return lodash_1.default.cloneDeep(this.pkgJson);
}

@@ -47,5 +50,5 @@ }

static async fromPath(pkgPath) {
const jsonPath = path.join(pkgPath, 'package.json');
const jsonPath = path_1.default.join(pkgPath, 'package.json');
try {
const jsonBuffer = await fs.promises.readFile(jsonPath);
const jsonBuffer = await fs_1.default.promises.readFile(jsonPath);
return new WritableNpmPackage(pkgPath, JSON.parse(jsonBuffer.toString()));

@@ -67,3 +70,3 @@ }

async mergeProps(props) {
await this.setJson(_.merge(this.json, props));
await this.setJson(lodash_1.default.merge(this.json, props));
}

@@ -84,3 +87,3 @@ /**

this.pkgJson = jsonObj;
await fs.promises.writeFile(path.join(this.path, 'package.json'), JSON.stringify(this.json, null /*replacer*/, 2 /*space*/) + '\n');
await fs_1.default.promises.writeFile(path_1.default.join(this.path, 'package.json'), JSON.stringify(this.json, null /*replacer*/, 2 /*space*/) + '\n');
}

@@ -126,3 +129,3 @@ }

}
return new NpmPackage(path.dirname(pkgJsonPath), JSON.parse((await fs.promises.readFile(pkgJsonPath)).toString()));
return new NpmPackage(path_1.default.dirname(pkgJsonPath), JSON.parse((await fs_1.default.promises.readFile(pkgJsonPath)).toString()));
}

@@ -129,0 +132,0 @@ exports.findPackage = findPackage;

{
"name": "@react-native-windows/package-utils",
"version": "0.65.0",
"version": "0.66.0-preview.1",
"license": "MIT",

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

"dependencies": {
"@react-native-windows/find-repo-root": "0.65.0",
"@react-native-windows/find-repo-root": "0.66.0-preview.1",
"get-monorepo-packages": "^1.2.0",

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

"devDependencies": {
"@rnw-scripts/eslint-config": "1.1.6",
"@rnw-scripts/just-task": "2.1.1",
"@rnw-scripts/ts-config": "1.1.0",
"@rnw-scripts/eslint-config": "1.1.7",
"@rnw-scripts/just-task": "2.2.0",
"@rnw-scripts/ts-config": "2.0.0",
"@types/lodash": "^4.14.168",

@@ -32,7 +32,7 @@ "@types/node": "^14.14.22",

"beachball": {
"defaultNpmTag": "latest",
"defaultNpmTag": "preview",
"disallowedChangeTypes": [
"major",
"minor",
"prerelease"
"patch"
]

@@ -39,0 +39,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