Package: node-rollup-pluginutils
version: 2.3.3-4
severity: important
Control: block 942200 by -1

As part of rollup 1.x transition, we need rollup-pluginutils 2.6 or greater for rollup 1.10.1

But when trying to build this version, build fails with this error

rollup -c

src/index.ts → dist/pluginutils.cjs.js, dist/pluginutils.es.js...
[!] Error: 'default' is not exported by ../../../usr/share/nodejs/micromatch/index.js
<https://rollupjs.org/guide/en#error-name-is-not-exported-by-module->
src/createFilter.ts (1:7)
1: import mm from 'micromatch';
         ^
2: import { resolve, sep } from 'path';
3: import { CreateFilter } from './pluginutils';
Error: 'default' is not exported by ../../../usr/share/nodejs/micromatch/index.js
   at Object.error (/usr/share/nodejs/rollup/src/utils/error.js:10:30)
   at Module.error (/usr/share/nodejs/rollup/src/Module.js:404:17)
at handleMissingExport (/usr/share/nodejs/rollup/src/Module.js:74:21) at Module.traceVariable (/usr/share/nodejs/rollup/src/Module.js:505:17) at ModuleScope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/ModuleScope.js:80:29) at FunctionScope.Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68) at Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68) at ReturnValueScope.Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68) at Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68) at MemberExpression.bind (/usr/share/nodejs/rollup/src/ast/nodes/MemberExpression.js:85:47)




Reply via email to