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

workspace-tools

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workspace-tools - npm Package Compare versions

Comparing version 0.23.2 to 0.23.3

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Fri, 15 Jul 2022 05:05:45 GMT",
"date": "Fri, 15 Jul 2022 07:09:46 GMT",
"tag": "workspace-tools_v0.23.3",
"version": "0.23.3",
"comments": {
"patch": [
{
"author": "ken@gizzar.com",
"package": "workspace-tools",
"comment": "change the api to be restored to have getDependentMap (actually gets dependencies)",
"commit": "4228af963584e87f6ba028f6e66abf7c6ae30700"
}
]
}
},
{
"date": "Fri, 15 Jul 2022 05:05:48 GMT",
"tag": "workspace-tools_v0.23.2",

@@ -8,0 +23,0 @@ "version": "0.23.2",

# Change Log - workspace-tools
This log was last generated on Fri, 15 Jul 2022 05:05:45 GMT and should not be manually modified.
This log was last generated on Fri, 15 Jul 2022 07:09:46 GMT and should not be manually modified.
<!-- Start content -->
## 0.23.3
Fri, 15 Jul 2022 07:09:46 GMT
### Patches
- change the api to be restored to have getDependentMap (actually gets dependencies) (ken@gizzar.com)
## 0.23.2
Fri, 15 Jul 2022 05:05:45 GMT
Fri, 15 Jul 2022 05:05:48 GMT

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

export * from "./createPackageGraph";
import { PackageInfos } from "../types/PackageInfo";
/**
* @deprecated - use createDependencyMap() instead
*
* Gets a map that has the package name as key, and its dependencies as values
*/
export declare function getDependentMap(packages: PackageInfos): Map<string, Set<string>>;

8

lib/graph/index.js

@@ -16,6 +16,10 @@ "use strict";

const createDependencyMap_1 = require("./createDependencyMap");
// @deprecated - use createDependencyMap() instead
/**
* @deprecated - use createDependencyMap() instead
*
* Gets a map that has the package name as key, and its dependencies as values
*/
function getDependentMap(packages) {
return (0, createDependencyMap_1.createDependencyMap)(packages).dependents;
return (0, createDependencyMap_1.createDependencyMap)(packages).dependencies;
}
exports.getDependentMap = getDependentMap;
{
"name": "workspace-tools",
"version": "0.23.2",
"version": "0.23.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

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