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

@ssen/collect-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ssen/collect-dependencies - npm Package Compare versions

Comparing version 3.0.0-alpha.3 to 3.0.0-alpha.5

2

_commonjs/collectDependencies.js

@@ -137,2 +137,2 @@ "use strict";

exports.collectDependencies = collectDependencies;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdERlcGVuZGVuY2llcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Ac3Nlbi9jb2xsZWN0LWRlcGVuZGVuY2llcy9jb2xsZWN0RGVwZW5kZW5jaWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLG1DQUF3QztBQUV4Qyw0REFBNEI7QUFHNUIsTUFBTSxXQUFXLEdBQWdCLElBQUksR0FBRyxDQUFTLHVCQUFjLENBQUMsQ0FBQztBQUVwRCxRQUFBLGlCQUFpQixHQUkxQjtJQUNGLFVBQVUsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUM7SUFDM0IsUUFBUSxFQUFFO1FBQ1IsZ0JBQWdCO1FBQ2hCLGtDQUFrQztRQUNsQyxRQUFRO1FBRVIsaUJBQWlCO1FBQ2pCLFdBQVc7UUFDWCxRQUFRO1FBRVIscUJBQXFCO1FBQ3JCLFNBQVM7UUFDVCxVQUFVO0tBQ1g7SUFDRCxRQUFRLEVBQUUsQ0FBQyxNQUFNLENBQUM7Q0FDbkIsQ0FBQztBQUVXLFFBQUEsY0FBYyxHQUl2QjtJQUNGLFVBQVUsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sQ0FBQztJQUMxQyxRQUFRL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iAgICAgICAgaW1wb3J0UGF0aHMuYWRkKFxuICAgICAgICAgIHR5cGVvZiBmaXhJbXBvcnRQYXRoID09PSAnZnVuY3Rpb24nXG4gICAgICAgICAgICA/IGZpeEltcG9ydFBhdGgoe1xuICAgICAgICAgICAgICAgIGltcG9ydFBhdGgsXG4gICAgICAgICAgICAgICAgZmlsZVBhdGg6IGZpbGUsXG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICA6IGltcG9ydFBhdGgsXG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICAvLyBpbXBvcnQoJz8nKVxuICAgICAgZWxzZSBpZiAoXG4gICAgICAgIHRzLmlzQ2FsbEV4cHJlc3Npb24obm9kZSkgJiZcbiAgICAgICAgbm9kZS5leHByZXNzaW9uLmtpbmQgPT09IHRzLlN5bnRheEtpbmQuSW1wb3J0S2V5d29yZCAmJlxuICAgICAgICB0cy5pc1N0cmluZ0xpdGVyYWxMaWtlKG5vZGUuYXJndW1lbnRzWzBdKVxuICAgICAgKSB7XG4gICAgICAgIGNvbnN0IGltcG9ydFBhdGg6IHN0cmluZyA9IChub2RlLmFyZ3VtZW50c1swXSBhcyB0cy5TdHJpbmdMaXRlcmFsTGlrZSlcbiAgICAgICAgICAudGV4dDtcbiAgICAgICAgaW1wb3J0UGF0aHMuYWRkKFxuICAgICAgICAgIHR5cGVvZiBmaXhJbXBvcnRQYXRoID09PSAnZnVuY3Rpb24nXG4gICAgICAgICAgICA/IGZpeEltcG9ydFBhdGgoe1xuICAgICAgICAgICAgICAgIGltcG9ydFBhdGgsXG4gICAgICAgICAgICAgICAgZmlsZVBhdGg6IGZpbGUsXG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICA6IGltcG9ydFBhdGgsXG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICAvLyByZXF1aXJlLnJlc29sdmUoJz8nKVxuICAgICAgZWxzZSBpZiAoXG4gICAgICAgIHRzLmlzQ2FsbEV4cHJlc3Npb24obm9kZSkgJiZcbiA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AgICAgIGNvbnN0IGludGVybmFsUGFja2FnZTogUGFja2FnZUluZm8gfCB1bmRlZmluZWQgPSBpbnRlcm5hbFBhY2thZ2VzLmdldChcbiAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICApO1xuXG4gICAgICBpZiAoaW50ZXJuYWxQYWNrYWdlKSB7XG4gICAgICAgIGltcG9ydHNbcGFja2FnZU5hbWVdID0gYF4ke2ludGVybmFsUGFja2FnZS52ZXJzaW9ufWA7XG4gICAgICB9IGVsc2UgaWYgKGV4dGVybmFsUGFja2FnZXNbcGFja2FnZU5hbWVdKSB7XG4gICAgICAgIGltcG9ydHNbcGFja2FnZU5hbWVdID0gZXh0ZXJuYWxQYWNrYWdlc1twYWNrYWdlTmFtZV07XG4gICAgICB9IGVsc2UgaWYgKGNoZWNrVW5kZWZpbmVkUGFja2FnZSA9PT0gJ2Vycm9yJykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgYFVuZGVmaW5lZCBwYWNrYWdlIFwiJHtwYWNrYWdlTmFtZX1cIiBmcm9tIFwiJHtpbXBvcnRQYXRofVwiYCxcbiAgICAgICAgKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICByZXR1cm4gaW1wb3J0cztcbn1cbiJdfQ==
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPackagesOrder = void 0;
function compare(a, b) {
const aIsHigher = 1;
const bIsHigher = -1;
const aHasB = a.dependencies.has(b.name);
const bHasA = b.dependencies.has(a.name);
if (!aHasB && !bHasA) {
return a.name > b.name ? aIsHigher : bIsHigher;
}
// FIXME useless interdependent check. the circularly dependencies already checked in searchNestedDependencies()
//if (aHasB && bHasA) {
// throw new Error(
// `"${a.name}" dependent "${b.name}" and "${b.name}" dependent "${a.name}". packages can't be interdependent.`,
// );
//}
return aHasB ? aIsHigher : bIsHigher;
}
function sort(array) {
if (array.length < 2) {
return array;
}
const chosenIndex = array.length - 1;
const chosen = array[chosenIndex];
const a = [];
const b = [];
for (let i = 0; i < chosenIndex; i++) {
const temp = array[i];
compare(temp, chosen) < 0 ? a.push(temp) : b.push(temp);
}
return [...sort(a), chosen, ...sort(b)];
}
const toposort_1 = __importDefault(require("toposort"));
function getPackagesOrder({ packageJsonContents, }) {

@@ -40,3 +14,4 @@ function searchNestedDependencies(ownerName, dependencies, dependenciesSet, parents) {

if (dependencyName === ownerName) {
throw new Error(`package.json files have circularly referenced dependencies : "${ownerName}" in "${parents.join(' < ')} < ${dependencyName}"`);
const parentsNames = parents.join(' < ');
throw new Error(`package.json files have circularly referenced dependencies : "${ownerName}" in "${parentsNames} < ${dependencyName}"`);
}

@@ -54,14 +29,29 @@ dependenciesSet.add(dependencyName);

}
// FIXME avoid Node.js 10 sort error
const array = packageJsonContents.map((packageJson) => {
if (!packageJson.name)
const packagesMap = packageJsonContents.reduce((map, packageJson) => {
if (!packageJson.name) {
throw new Error(`Undefined "name" field on ${packageJson}`);
return {
}
map.set(packageJson.name, {
name: packageJson.name,
dependencies: searchNestedDependencies(packageJson.name, packageJson.dependencies, new Set(), [packageJson.name]),
};
});
return sort(array);
});
return map;
}, new Map());
const edges = [];
for (const [name, { dependencies }] of packagesMap) {
for (const dep of dependencies) {
if (packagesMap.has(dep)) {
edges.push([name, dep]);
}
}
}
const sorted = toposort_1.default(edges).reverse();
return [
...Array.from(packagesMap.values()).filter(({ name }) => !sorted.includes(name)),
...sorted.map((name) => {
return packagesMap.get(name);
}),
];
}
exports.getPackagesOrder = getPackagesOrder;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UGFja2FnZXNPcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Ac3Nlbi9jb2xsZWN0LWRlcGVuZGVuY2llcy9nZXRQYWNrYWdlc09yZGVyLnRzIl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ICAgIG5ldyBTZXQoKSxcbiAgICAgICAgICBbcGFja2FnZUpzb24ubmFtZV0sXG4gICAgICAgICksXG4gICAgICB9KTtcblxuICAgICAgcmV0dXJuIG1hcDtcbiAgICB9LFxuICAgIG5ldyBNYXA8c3RyaW5nLCBQYWNrYWdlSnNvblNldD4oKSxcbiAgKTtcblxuICBjb25zdCBlZGdlczogW3N0cmluZywgc3RyaW5nXVtdID0gW107XG5cbiAgZm9yIChjb25zdCBbbmFtZSwgeyBkZXBlbmRlbmNpZXMgfV0gb2YgcGFja2FnZXNNYXApIHtcbiAgICBmb3IgKGNvbnN0IGRlcCBvZiBkZXBlbmRlbmNpZXMpIHtcbiAgICAgIGlmIChwYWNrYWdlc01hcC5oYXMoZGVwKSkge1xuICAgICAgICBlZGdlcy5wdXNoKFtuYW1lLCBkZXBdKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICBjb25zdCBzb3J0ZWQgPSB0b3Bvc29ydChlZGdlcykucmV2ZXJzZSgpO1xuXG4gIHJldHVybiBbXG4gICAgLi4uQXJyYXkuZnJvbShwYWNrYWdlc01hcC52YWx1ZXMoKSkuZmlsdGVyKFxuICAgICAgKHsgbmFtZSB9KSA9PiAhc29ydGVkLmluY2x1ZGVzKG5hbWUpLFxuICAgICksXG4gICAgLi4uc29ydGVkLm1hcCgobmFtZSkgPT4ge1xuICAgICAgcmV0dXJuIHBhY2thZ2VzTWFwLmdldChuYW1lKSE7XG4gICAgfSksXG4gIF07XG59XG4iXX0=

@@ -16,2 +16,2 @@ "use strict";

__exportStar(require("./types"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsd0RBQXNDO0FBQ3RDLHFEQUFtQztBQUNuQywwQ0FBd0IifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsd0RBQXNDO0FBQ3RDLHFEQUFtQztBQUNuQywwQ0FBd0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbGxlY3REZXBlbmRlbmNpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9nZXRQYWNrYWdlc09yZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdHlwZXMnO1xuIl19
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgUGFja2FnZUluZm8ge1xuICBuYW1lOiBzdHJpbmc7XG4gIHZlcnNpb246IHN0cmluZztcbn1cbiJdfQ==

@@ -130,2 +130,2 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gICAgICAgID8gZml4SW1wb3J0UGF0aCh7XG4gICAgICAgICAgICAgICAgaW1wb3J0UGF0aCxcbiAgICAgICAgICAgICAgICBmaWxlUGF0aDogZmlsZSxcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIDogaW1wb3J0UGF0aCxcbiAgICAgICAgKTtcbiAgICAgIH1cbiAgICAgIC8vIGltcG9ydCgnPycpXG4gICAgICBlbHNlIGlmIChcbiAgICAgICAgdHMuaXNDYWxsRXhwcmVzc2lvbihub2RlKSAmJlxuICAgICAgICBub2RlLmV4cHJlc3Npb24ua2luZCA9PT0gdHMuU3ludGF4S2luZC5JbXBvcnRLZXl3b3JkICYmXG4gICAgICAgIHRzLmlzU3RyaW5nTGl0ZXJhbExpa2Uobm9kZS5hcmd1bWVudHNbMF0pXG4gICAgICApIHtcbiAgICAgICAgY29uc3QgaW1wb3J0UGF0aDogc3RyaW5nID0gKG5vZGUuYXJndW1lbnRzWzBdIGFzIHRzLlN0cmluZ0xpdGVyYWxMaWtlKVxuICAgICAgICAgIC50ZXh0O1xuICAgICAgICBpbXBvcnRQYXRocy5hZGQoXG4gICAgICAgICAgdHlwZW9mIGZpeEltcG9ydFBhdGggPT09ICdmdW5jdGlvbidcbiAgICAgICAgICAgID8gZml4SW1wb3J0UGF0aCh7XG4gICAgICAgICAgICAgICAgaW1wb3J0UGF0aCxcbiAgICAgICAgICAgICAgICBmaWxlUGF0aDogZmlsZSxcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIDogaW1wb3J0UGF0aCxcbiAgICAgICAgKTtcbiAgICAgIH1cbiAgICAgIC8vIHJlcXVpcmUucmVzb2x2ZSgnPycpXG4gICAgICBlbHNlIGlmIChcbiAgICAgICAgdHMuaXNDYWxsRXhwcmVzc2lvbihub2RlKSAmJlxuICAgICAgICB0cy5pc1Byb3BlcnR5QWNjZXNzRXhwcmVzc2lvbihub2RlLmV4cHJlc3Npb24pICYmXG4gICAgICAgIHRzLmlzSWRlbnRpZmll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WNrYWdlTmFtZSxcbiAgICAgICk7XG5cbiAgICAgIGlmIChpbnRlcm5hbFBhY2thZ2UpIHtcbiAgICAgICAgaW1wb3J0c1twYWNrYWdlTmFtZV0gPSBgXiR7aW50ZXJuYWxQYWNrYWdlLnZlcnNpb259YDtcbiAgICAgIH0gZWxzZSBpZiAoZXh0ZXJuYWxQYWNrYWdlc1twYWNrYWdlTmFtZV0pIHtcbiAgICAgICAgaW1wb3J0c1twYWNrYWdlTmFtZV0gPSBleHRlcm5hbFBhY2thZ2VzW3BhY2thZ2VOYW1lXTtcbiAgICAgIH0gZWxzZSBpZiAoY2hlY2tVbmRlZmluZWRQYWNrYWdlID09PSAnZXJyb3InKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcihcbiAgICAgICAgICBgVW5kZWZpbmVkIHBhY2thZ2UgXCIke3BhY2thZ2VOYW1lfVwiIGZyb20gXCIke2ltcG9ydFBhdGh9XCJgLFxuICAgICAgICApO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIHJldHVybiBpbXBvcnRzO1xufVxuIl19

@@ -1,31 +0,2 @@

function compare(a, b) {
const aIsHigher = 1;
const bIsHigher = -1;
const aHasB = a.dependencies.has(b.name);
const bHasA = b.dependencies.has(a.name);
if (!aHasB && !bHasA) {
return a.name > b.name ? aIsHigher : bIsHigher;
}
// FIXME useless interdependent check. the circularly dependencies already checked in searchNestedDependencies()
//if (aHasB && bHasA) {
// throw new Error(
// `"${a.name}" dependent "${b.name}" and "${b.name}" dependent "${a.name}". packages can't be interdependent.`,
// );
//}
return aHasB ? aIsHigher : bIsHigher;
}
function sort(array) {
if (array.length < 2) {
return array;
}
const chosenIndex = array.length - 1;
const chosen = array[chosenIndex];
const a = [];
const b = [];
for (let i = 0; i < chosenIndex; i++) {
const temp = array[i];
compare(temp, chosen) < 0 ? a.push(temp) : b.push(temp);
}
return [...sort(a), chosen, ...sort(b)];
}
import toposort from 'toposort';
export function getPackagesOrder({ packageJsonContents, }) {

@@ -37,3 +8,4 @@ function searchNestedDependencies(ownerName, dependencies, dependenciesSet, parents) {

if (dependencyName === ownerName) {
throw new Error(`package.json files have circularly referenced dependencies : "${ownerName}" in "${parents.join(' < ')} < ${dependencyName}"`);
const parentsNames = parents.join(' < ');
throw new Error(`package.json files have circularly referenced dependencies : "${ownerName}" in "${parentsNames} < ${dependencyName}"`);
}

@@ -51,13 +23,28 @@ dependenciesSet.add(dependencyName);

}
// FIXME avoid Node.js 10 sort error
const array = packageJsonContents.map((packageJson) => {
if (!packageJson.name)
const packagesMap = packageJsonContents.reduce((map, packageJson) => {
if (!packageJson.name) {
throw new Error(`Undefined "name" field on ${packageJson}`);
return {
}
map.set(packageJson.name, {
name: packageJson.name,
dependencies: searchNestedDependencies(packageJson.name, packageJson.dependencies, new Set(), [packageJson.name]),
};
});
return sort(array);
});
return map;
}, new Map());
const edges = [];
for (const [name, { dependencies }] of packagesMap) {
for (const dep of dependencies) {
if (packagesMap.has(dep)) {
edges.push([name, dep]);
}
}
}
const sorted = toposort(edges).reverse();
return [
...Array.from(packagesMap.values()).filter(({ name }) => !sorted.includes(name)),
...sorted.map((name) => {
return packagesMap.get(name);
}),
];
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UGFja2FnZXNPcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9Ac3Nlbi9jb2xsZWN0LWRlcGVuZGVuY2llcy9nZXRQYWNrYWdlc09yZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9BLFNBQVMsT0FBTyxDQUFDLENBQWlCLEVBQUUsQ0FBaUI7SUFDbkQsTUFBTSxTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQzVCLE1BQU0sU0FBUyxHQUFXLENBQUMsQ0FBQyxDQUFDO0lBRTdCLE1BQU0sS0FBSyxHQUFZLENBQUMsQ0FBQyxZQUFZLENBQUMsR0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W5nLCBzdHJpbmddW10gPSBbXTtcblxuICBmb3IgKGNvbnN0IFtuYW1lLCB7IGRlcGVuZGVuY2llcyB9XSBvZiBwYWNrYWdlc01hcCkge1xuICAgIGZvciAoY29uc3QgZGVwIG9mIGRlcGVuZGVuY2llcykge1xuICAgICAgaWYgKHBhY2thZ2VzTWFwLmhhcyhkZXApKSB7XG4gICAgICAgIGVkZ2VzLnB1c2goW25hbWUsIGRlcF0pO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIGNvbnN0IHNvcnRlZCA9IHRvcG9zb3J0KGVkZ2VzKS5yZXZlcnNlKCk7XG5cbiAgcmV0dXJuIFtcbiAgICAuLi5BcnJheS5mcm9tKHBhY2thZ2VzTWFwLnZhbHVlcygpKS5maWx0ZXIoXG4gICAgICAoeyBuYW1lIH0pID0+ICFzb3J0ZWQuaW5jbHVkZXMobmFtZSksXG4gICAgKSxcbiAgICAuLi5zb3J0ZWQubWFwKChuYW1lKSA9PiB7XG4gICAgICByZXR1cm4gcGFja2FnZXNNYXAuZ2V0KG5hbWUpITtcbiAgICB9KSxcbiAgXTtcbn1cbiJdfQ==
export * from './collectDependencies';
export * from './getPackagesOrder';
export * from './types';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsU0FBUyxDQUFDIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb2xsZWN0RGVwZW5kZW5jaWVzJztcbmV4cG9ydCAqIGZyb20gJy4vZ2V0UGFja2FnZXNPcmRlcic7XG5leHBvcnQgKiBmcm9tICcuL3R5cGVzJztcbiJdfQ==

@@ -16,5 +16,6 @@ {

"name": "@ssen/collect-dependencies",
"version": "3.0.0-alpha.3",
"version": "3.0.0-alpha.5",
"dependencies": {
"type-fest": "^1.2.0"
"type-fest": "^1.2.0",
"toposort": "^2.0.2"
},

@@ -21,0 +22,0 @@ "main": "./_commonjs/index.js",

export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvQHNzZW4vY29sbGVjdC1kZXBlbmRlbmNpZXMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgUGFja2FnZUluZm8ge1xuICBuYW1lOiBzdHJpbmc7XG4gIHZlcnNpb246IHN0cmluZztcbn1cbiJdfQ==

Sorry, the diff of this file is too big to display

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