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

@rnx-kit/tools-workspaces

Package Overview
Dependencies
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rnx-kit/tools-workspaces - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

src/common.ts

1

lib/common.d.ts

@@ -5,2 +5,3 @@ type PackageManager = {

};
export declare const BUN_LOCKB = "bun.lockb";
export declare const LERNA_JSON = "lerna.json";

@@ -7,0 +8,0 @@ export declare const PACKAGE_LOCK_JSON = "package-lock.json";

10

lib/common.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.readJSONSync = exports.readJSON = exports.getImplementationSync = exports.getImplementation = exports.findSentinelSync = exports.findSentinel = exports.findPackagesSync = exports.findPackages = exports.WORKSPACE_ROOT_SENTINELS = exports.YARN_LOCK = exports.RUSH_JSON = exports.PNPM_WORKSPACE_YAML = exports.PACKAGE_LOCK_JSON = exports.LERNA_JSON = void 0;
exports.readJSONSync = exports.readJSON = exports.getImplementationSync = exports.getImplementation = exports.findSentinelSync = exports.findSentinel = exports.findPackagesSync = exports.findPackages = exports.WORKSPACE_ROOT_SENTINELS = exports.YARN_LOCK = exports.RUSH_JSON = exports.PNPM_WORKSPACE_YAML = exports.PACKAGE_LOCK_JSON = exports.LERNA_JSON = exports.BUN_LOCKB = void 0;
const fast_glob_1 = __importDefault(require("fast-glob"));

@@ -37,2 +37,3 @@ const find_up_1 = __importDefault(require("find-up"));

const strip_json_comments_1 = __importDefault(require("strip-json-comments"));
exports.BUN_LOCKB = "bun.lockb";
exports.LERNA_JSON = "lerna.json";

@@ -49,2 +50,3 @@ exports.PACKAGE_LOCK_JSON = "package-lock.json";

exports.PNPM_WORKSPACE_YAML,
exports.BUN_LOCKB,
];

@@ -85,3 +87,4 @@ function dirnameAll(paths) {

switch (path.basename(sentinel)) {
case exports.PACKAGE_LOCK_JSON: // fallthrough - logic defining workspaces config is the same for npm and yarn
case exports.BUN_LOCKB: // fallthrough — logic defining workspaces config is the same as for npm and yarn
case exports.PACKAGE_LOCK_JSON: // fallthrough — logic defining workspaces config is the same for npm and yarn
case exports.YARN_LOCK:

@@ -101,3 +104,4 @@ return Promise.resolve().then(() => __importStar(require("./yarn")));

switch (path.basename(sentinel)) {
case exports.PACKAGE_LOCK_JSON: // fallthrough
case exports.BUN_LOCKB: // fallthrough — logic defining workspaces config is the same as for npm and yarn
case exports.PACKAGE_LOCK_JSON: // fallthrough — logic defining workspaces config is the same for npm and yarn
case exports.YARN_LOCK:

@@ -104,0 +108,0 @@ return require("./yarn");

{
"name": "@rnx-kit/tools-workspaces",
"version": "0.1.4",
"version": "0.1.5",
"description": "A collection of tools for working with workspaces",

@@ -12,6 +12,15 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/tools-workspaces#readme",

"files": [
"lib/*"
"lib/*",
"src/*"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"typescript": "./src/index.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"repository": {

@@ -18,0 +27,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

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