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

@pnpm/symlink-dependency

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/symlink-dependency - npm Package Compare versions

Comparing version 5.0.10 to 6.0.0

5

lib/index.d.ts

@@ -1,6 +0,5 @@

import symlinkDirectRootDependency from './symlinkDirectRootDependency';
export default function symlinkDependency(dependencyRealLocation: string, destModulesDir: string, importAs: string): Promise<{
export { symlinkDirectRootDependency } from './symlinkDirectRootDependency';
export declare function symlinkDependency(dependencyRealLocation: string, destModulesDir: string, importAs: string): Promise<{
reused: Boolean;
warn?: string | undefined;
}>;
export { symlinkDirectRootDependency };

8

lib/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.symlinkDirectRootDependency = void 0;
exports.symlinkDependency = exports.symlinkDirectRootDependency = void 0;
const path_1 = __importDefault(require("path"));
const core_loggers_1 = require("@pnpm/core-loggers");
const symlink_dir_1 = __importDefault(require("symlink-dir"));
const symlinkDirectRootDependency_1 = __importDefault(require("./symlinkDirectRootDependency"));
exports.symlinkDirectRootDependency = symlinkDirectRootDependency_1.default;
var symlinkDirectRootDependency_1 = require("./symlinkDirectRootDependency");
Object.defineProperty(exports, "symlinkDirectRootDependency", { enumerable: true, get: function () { return symlinkDirectRootDependency_1.symlinkDirectRootDependency; } });
async function symlinkDependency(dependencyRealLocation, destModulesDir, importAs) {

@@ -18,3 +18,3 @@ const link = path_1.default.join(destModulesDir, importAs);

}
exports.default = symlinkDependency;
exports.symlinkDependency = symlinkDependency;
//# sourceMappingURL=index.js.map
import { DependenciesField } from '@pnpm/types';
export default function symlinkDirectRootDependency(dependencyLocation: string, destModulesDir: string, importAs: string, opts: {
export declare function symlinkDirectRootDependency(dependencyLocation: string, destModulesDir: string, importAs: string, opts: {
fromDependenciesField?: DependenciesField;

@@ -4,0 +4,0 @@ linkedPackage: {

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.symlinkDirectRootDependency = void 0;
const fs_1 = require("fs");

@@ -64,3 +65,3 @@ const path_1 = __importDefault(require("path"));

}
exports.default = symlinkDirectRootDependency;
exports.symlinkDirectRootDependency = symlinkDirectRootDependency;
//# sourceMappingURL=symlinkDirectRootDependency.js.map
{
"name": "@pnpm/symlink-dependency",
"description": "Symlink a dependency to node_modules",
"version": "5.0.10",
"version": "6.0.0",
"bugs": {

@@ -15,7 +15,7 @@ "url": "https://github.com/pnpm/pnpm/issues"

"peerDependencies": {
"@pnpm/logger": "^4.0.0"
"@pnpm/logger": "^5.0.0"
},
"devDependencies": {
"@pnpm/prepare": "0.0.54",
"@pnpm/symlink-dependency": "5.0.10"
"@pnpm/prepare": "0.0.55",
"@pnpm/symlink-dependency": "6.0.0"
},

@@ -36,3 +36,3 @@ "directories": {

"dependencies": {
"@pnpm/core-loggers": "7.1.0",
"@pnpm/core-loggers": "8.0.0",
"@pnpm/types": "8.7.0",

@@ -39,0 +39,0 @@ "symlink-dir": "^5.0.1"

@@ -14,3 +14,3 @@ # @pnpm/symlink-dependency

```ts
import symlinkDependency from '@pnpm/symlink-dependency'
import { symlinkDependency } from '@pnpm/symlink-dependency'

@@ -17,0 +17,0 @@ await symlinkDependency('/home/src/foo', '/home/src/my-project/node_modules', 'foo')

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