Socket
Socket
Sign inDemoInstall

@web/dev-server-rollup

Package Overview
Dependencies
Maintainers
7
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/dev-server-rollup - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

6

CHANGELOG.md
# @web/dev-server-rollup
## 0.2.13
### Patch Changes
- 5ac055f: don't handle virtual files
## 0.2.12

@@ -4,0 +10,0 @@

@@ -19,2 +19,3 @@ "use strict";

const VIRTUAL_FILE_PREFIX = '/__web-dev-server__/rollup';
const WDS_FILE_PREFIX = '/__web-dev-server__';
/**

@@ -158,2 +159,6 @@ * Wraps rollup error in a custom error for web dev server.

}
if (context.path.startsWith(WDS_FILE_PREFIX) &&
!context.path.startsWith(VIRTUAL_FILE_PREFIX)) {
return;
}
let filePath;

@@ -190,2 +195,5 @@ if (context.path.startsWith(VIRTUAL_FILE_PREFIX) &&

}
if (context.path.startsWith(WDS_FILE_PREFIX)) {
return;
}
if (context.response.is('js')) {

@@ -192,0 +200,0 @@ const filePath = path_1.default.join(rootDir, context.path);

6

package.json
{
"name": "@web/dev-server-rollup",
"version": "0.2.12",
"version": "0.2.13",
"publishConfig": {

@@ -66,7 +66,7 @@ "access": "public"

"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-url": "^5.0.1",
"@rollup/plugin-url": "^6.0.0",
"@types/parse5": "^5.0.3",
"@types/whatwg-url": "^8.0.0",
"@web/test-runner-chrome": "^0.7.0",
"@web/test-runner-core": "^0.8.0",
"@web/test-runner-core": "^0.8.12",
"chai": "^4.2.0",

@@ -73,0 +73,0 @@ "node-fetch": "3.0.0-beta.9",

@@ -30,2 +30,3 @@ /* eslint-disable no-control-regex */

const VIRTUAL_FILE_PREFIX = '/__web-dev-server__/rollup';
const WDS_FILE_PREFIX = '/__web-dev-server__';

@@ -218,2 +219,9 @@ /**

if (
context.path.startsWith(WDS_FILE_PREFIX) &&
!context.path.startsWith(VIRTUAL_FILE_PREFIX)
) {
return;
}
let filePath;

@@ -262,2 +270,6 @@ if (

if (context.path.startsWith(WDS_FILE_PREFIX)) {
return;
}
if (context.response.is('js')) {

@@ -264,0 +276,0 @@ const filePath = path.join(rootDir, context.path);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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