Socket
Socket
Sign inDemoInstall

rollup-plugin-svelte

Package Overview
Dependencies
Maintainers
6
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-svelte - npm Package Compare versions

Comparing version 7.2.1 to 7.2.2

4

index.js

@@ -20,2 +20,4 @@ const path = require('path');

const svelte_module_regex = /\.svelte(\.[^./\\]+)*\.(js|ts)$/;
let warned = false;

@@ -134,3 +136,3 @@

if (majorVersion > 4 && (id.endsWith('.svelte.js') || id.endsWith('.svelte.ts'))) {
if (majorVersion > 4 && svelte_module_regex.test(id)) {
const compiled = svelte.compileModule(code, {

@@ -137,0 +139,0 @@ filename: id,

{
"version": "7.2.1",
"version": "7.2.2",
"name": "rollup-plugin-svelte",

@@ -4,0 +4,0 @@ "description": "Compile Svelte components with Rollup",

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