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

rollup-plugin-visualizer

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-visualizer - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

7

CHANGELOG.md
# Changelog
## 4.2.0
* Switch to npm
* Add to html template window on resize handler
## 4.1.2
* Updat deps, drop pupa because it has not stated breaking change
* Update deps, drop pupa because it has not stated breaking change

@@ -7,0 +12,0 @@ ## 4.1.1

4

package.json
{
"name": "rollup-plugin-visualizer",
"version": "4.1.2",
"version": "4.2.0",
"main": "plugin/index.js",

@@ -25,3 +25,3 @@ "author": "Denis Bardadym <bardadymchik@gmail.com>",

"clean": "del-cli lib",
"prepare": "yarn run build",
"prepare": "npm run build",
"test": "node build.js --all --e2e && node build.js --all --test"

@@ -28,0 +28,0 @@ },

@@ -18,32 +18,36 @@ "use strict";

<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>${htmlEscape(title)}</title>
<style>
${style}
</style>
</head>
<body>
<main></main>
<script>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>${htmlEscape(title)}</title>
<style>
${style}
</style>
</head>
<body>
<main></main>
<script>
/*<!--*/
${script}
/*-->*/
</script>
<script>
/*<!--*/
${script}
/*-->*/
</script>
<script>
/*<!--*/
const data = ${nodesData};
const data = ${nodesData};
document.addEventListener('DOMContentLoaded', () => {
const width = window.innerWidth;
const height = window.innerHeight;
const run = () => {
const width = window.innerWidth;
const height = window.innerHeight;
const chartNode = document.querySelector("main");
drawChart(chartNode, data, width, height);
});
/*-->*/
</script>
</body>
const chartNode = document.querySelector("main");
drawChart(chartNode, data, width, height);
};
window.addEventListener('resize', run);
document.addEventListener('DOMContentLoaded', run);
/*-->*/
</script>
</body>
</html>

@@ -50,0 +54,0 @@

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