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

rollup-plugin-filter-dep-graph

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-filter-dep-graph - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

template.html

3

index.js
import { readFileSync, writeFileSync } from "node:fs";
import { resolve } from "node:path";
export default function plugin() {

@@ -18,3 +17,3 @@ return {

const importersMapString = JSON.stringify(importersMap).replace(new RegExp(lcp, "g"), "");
writeFileSync("graph.html", readFileSync(resolve(__dirname, "template.html"))
writeFileSync("graph.html", readFileSync(new URL('./template.html', import.meta.url))
.toString()

@@ -21,0 +20,0 @@ .replace(`"data_placeholder"`, importersMapString));

{
"name": "rollup-plugin-filter-dep-graph",
"version": "0.0.3",
"version": "0.0.4",
"description": "Filter and visualize the dependency graph.",

@@ -10,3 +10,4 @@ "type": "module",

"index.js",
"index.d.ts"
"index.d.ts",
"template.html"
],

@@ -13,0 +14,0 @@ "keywords": [

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