@rollup/plugin-dynamic-import-vars
Advanced tools
Comparing version 1.4.1 to 1.4.2
# @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 @@ |
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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22232
+ Addedfast-glob@^3.2.7
+ Added@rollup/pluginutils@4.2.1(transitive)
- Removedglobby@^11.0.1
- Removed@rollup/pluginutils@3.1.0(transitive)
- Removed@types/estree@0.0.39(transitive)
- Removedarray-union@2.1.0(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedestree-walker@1.0.1(transitive)
- Removedglobby@11.1.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedslash@3.0.0(transitive)
Updated@rollup/pluginutils@^4.1.2