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 1.4.1 to 1.4.2

8

CHANGELOG.md
# @rollup/plugin-dynamic-import-vars ChangeLog
## v1.4.2
_2021-12-28_
### Updates
- refactor: update, swap dependencies (#1073)
## v1.4.1

@@ -4,0 +12,0 @@

4

dist/index.es.js
import path from 'path';
import { walk } from 'estree-walker';
import MagicString from 'magic-string';
import globby from 'globby';
import fastGlob from 'fast-glob';
import { createFilter } from '@rollup/pluginutils';

@@ -146,3 +146,3 @@

// execute the glob
const result = globby.sync(glob, { cwd: path.dirname(id) });
const result = fastGlob.sync(glob, { cwd: path.dirname(id) });
const paths = result.map((r) =>

@@ -149,0 +149,0 @@ r.startsWith('./') || r.startsWith('../') ? r : `./${r}`

@@ -8,3 +8,3 @@ 'use strict';

var MagicString = require('magic-string');
var globby = require('globby');
var fastGlob = require('fast-glob');
var pluginutils = require('@rollup/pluginutils');

@@ -16,3 +16,3 @@

var MagicString__default = /*#__PURE__*/_interopDefaultLegacy(MagicString);
var globby__default = /*#__PURE__*/_interopDefaultLegacy(globby);
var fastGlob__default = /*#__PURE__*/_interopDefaultLegacy(fastGlob);

@@ -158,3 +158,3 @@ class VariableDynamicImportError extends Error {}

// execute the glob
const result = globby__default['default'].sync(glob, { cwd: path__default['default'].dirname(id) });
const result = fastGlob__default['default'].sync(glob, { cwd: path__default['default'].dirname(id) });
const paths = result.map((r) =>

@@ -161,0 +161,0 @@ r.startsWith('./') || r.startsWith('../') ? r : `./${r}`

{
"name": "@rollup/plugin-dynamic-import-vars",
"version": "1.4.1",
"version": "1.4.2",
"publishConfig": {

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

"dependencies": {
"@rollup/pluginutils": "^3.1.0",
"@rollup/pluginutils": "^4.1.2",
"estree-walker": "^2.0.1",
"globby": "^11.0.1",
"fast-glob": "^3.2.7",
"magic-string": "^0.25.7"

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