Socket
Socket
Sign inDemoInstall

@rollup/plugin-dynamic-import-vars

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-dynamic-import-vars - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

11

./dist/cjs/index.js

@@ -183,7 +183,10 @@ 'use strict';

if (errorWhenNoFilesFound && paths.length === 0) {
this.error(
new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
)
const error = new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
);
if (warnOnError) {
this.warn(error);
} else {
this.error(error);
}
}

@@ -190,0 +193,0 @@

@@ -183,7 +183,10 @@ 'use strict';

if (errorWhenNoFilesFound && paths.length === 0) {
this.error(
new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
)
const error = new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
);
if (warnOnError) {
this.warn(error);
} else {
this.error(error);
}
}

@@ -190,0 +193,0 @@

@@ -179,7 +179,10 @@ import path from 'path';

if (errorWhenNoFilesFound && paths.length === 0) {
this.error(
new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
)
const error = new Error(
`No files found in ${glob} when trying to dynamically load concatted string from ${id}`
);
if (warnOnError) {
this.warn(error);
} else {
this.error(error);
}
}

@@ -186,0 +189,0 @@

{
"name": "@rollup/plugin-dynamic-import-vars",
"version": "2.1.1",
"version": "2.1.2",
"publishConfig": {

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

@@ -71,2 +71,4 @@ [npm]: https://img.shields.io/npm/v/@rollup/plugin-dynamic-import-vars

⚠️ _Important:_ Enabling this option when `warnOnError` is set to `true` will result in a warning and _not_ an error
#### `warnOnError`

@@ -73,0 +75,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