Socket
Socket
Sign inDemoInstall

@web/dev-server-rollup

Package Overview
Dependencies
221
Maintainers
7
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.5 to 0.2.6

6

CHANGELOG.md
# @web/dev-server-rollup
## 0.2.6
### Patch Changes
- f22bd2f: add error messages
## 0.2.5

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

3

dist/fromRollup.js

@@ -6,2 +6,5 @@ "use strict";

function fromRollup(rollupPluginFn, rollupInputOptions = {}) {
if (typeof rollupPluginFn !== 'function') {
throw new Error('fromRollup should be called with a rollup plugin function.');
}
// return a function wrapper which intercepts creation of the rollup plugin

@@ -8,0 +11,0 @@ return function wrappedRollupPluginFn(...args) {

@@ -35,2 +35,5 @@ "use strict";

function rollupAdapter(rollupPlugin, rollupInputOptions = {}) {
if (typeof rollupPlugin !== 'object') {
throw new Error('rollupAdapter should be called with a rollup plugin object.');
}
const transformedFiles = new Set();

@@ -37,0 +40,0 @@ let rollupPluginContexts;

2

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

@@ -5,0 +5,0 @@ "access": "public"

@@ -11,2 +11,6 @@ import { InputOptions, Plugin as RollupPlugin } from 'rollup';

) {
if (typeof rollupPluginFn !== 'function') {
throw new Error('fromRollup should be called with a rollup plugin function.');
}
// return a function wrapper which intercepts creation of the rollup plugin

@@ -13,0 +17,0 @@ return function wrappedRollupPluginFn(...args: T) {

@@ -56,2 +56,6 @@ /* eslint-disable no-control-regex */

): WdsPlugin {
if (typeof rollupPlugin !== 'object') {
throw new Error('rollupAdapter should be called with a rollup plugin object.');
}
const transformedFiles = new Set();

@@ -58,0 +62,0 @@ let rollupPluginContexts: RollupPluginContexts;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc