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

@rnx-kit/tools-node

Package Overview
Dependencies
Maintainers
7
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.6 to 1.2.7

8

CHANGELOG.md
# Change Log - @rnx-kit/tools-node
This log was last generated on Tue, 30 Nov 2021 17:22:28 GMT and should not be manually modified.
## 1.2.7
<!-- Start content -->
### Patch Changes
- ae87498: `findPackageDependencyDir` now also accepts package names
## 1.2.6
Tue, 30 Nov 2021 17:22:28 GMT
Tue, 30 Nov 2021 17:24:14 GMT

@@ -11,0 +13,0 @@ ### Patches

@@ -117,3 +117,3 @@ /**

*/
export declare function findPackageDependencyDir(ref: PackageRef, options?: FindPackageDependencyOptions): string | undefined;
export declare function findPackageDependencyDir(ref: string | PackageRef, options?: FindPackageDependencyOptions): string | undefined;
//# sourceMappingURL=package.d.ts.map

@@ -143,5 +143,6 @@ "use strict";

var _a;
return find_up_1.default.sync(path_1.default.join("node_modules", (_a = ref.scope) !== null && _a !== void 0 ? _a : "", ref.name), Object.assign(Object.assign({}, (0, properties_1.pickValues)(options !== null && options !== void 0 ? options : {}, ["startDir", "allowSymlinks"], ["cwd", "allowSymlinks"])), { type: "directory" }));
const pkgName = typeof ref === "string" ? ref : path_1.default.join((_a = ref.scope) !== null && _a !== void 0 ? _a : "", ref.name);
return find_up_1.default.sync(path_1.default.join("node_modules", pkgName), Object.assign(Object.assign({}, (0, properties_1.pickValues)(options !== null && options !== void 0 ? options : {}, ["startDir", "allowSymlinks"], ["cwd", "allowSymlinks"])), { type: "directory" }));
}
exports.findPackageDependencyDir = findPackageDependencyDir;
//# sourceMappingURL=package.js.map
{
"name": "@rnx-kit/tools-node",
"version": "1.2.6",
"version": "1.2.7",
"description": "A collection of supplemental NodeJS functions and types",

@@ -40,3 +40,3 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/tools-node#readme",

"@rnx-kit/scripts": "*",
"@types/node": "^14.15.0",
"@types/node": "^16.0.0",
"jest-extended": "^0.11.5",

@@ -43,0 +43,0 @@ "temp-dir": "^2.0.0"

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