full site update
This commit is contained in:
17
node_modules/@rollup/pluginutils/dist/cjs/index.js
generated
vendored
17
node_modules/@rollup/pluginutils/dist/cjs/index.js
generated
vendored
@@ -354,15 +354,28 @@ const dataToEsm = function dataToEsm(data, options = {}) {
|
||||
return `${namedExportCode}${arbitraryExportCode}${defaultExportCode}`;
|
||||
};
|
||||
|
||||
function exactRegex(str, flags) {
|
||||
return new RegExp(`^${escapeRegex(str)}$`, flags);
|
||||
}
|
||||
function prefixRegex(str, flags) {
|
||||
return new RegExp(`^${escapeRegex(str)}`, flags);
|
||||
}
|
||||
const escapeRegexRE = /[-/\\^$*+?.()|[\]{}]/g;
|
||||
function escapeRegex(str) {
|
||||
return str.replace(escapeRegexRE, '\\$&');
|
||||
}
|
||||
|
||||
// TODO: remove this in next major
|
||||
var index = {
|
||||
addExtension,
|
||||
attachScopes,
|
||||
createFilter,
|
||||
dataToEsm,
|
||||
exactRegex,
|
||||
extractAssignedNames,
|
||||
makeLegalIdentifier,
|
||||
normalizePath
|
||||
normalizePath,
|
||||
prefixRegex
|
||||
};
|
||||
|
||||
exports.addExtension = addExtension;
|
||||
@@ -370,8 +383,10 @@ exports.attachScopes = attachScopes;
|
||||
exports.createFilter = createFilter;
|
||||
exports.dataToEsm = dataToEsm;
|
||||
exports.default = index;
|
||||
exports.exactRegex = exactRegex;
|
||||
exports.extractAssignedNames = extractAssignedNames;
|
||||
exports.makeLegalIdentifier = makeLegalIdentifier;
|
||||
exports.normalizePath = normalizePath;
|
||||
exports.prefixRegex = prefixRegex;
|
||||
module.exports = Object.assign(exports.default, exports);
|
||||
//# sourceMappingURL=index.js.map
|
||||
|
17
node_modules/@rollup/pluginutils/dist/es/index.js
generated
vendored
17
node_modules/@rollup/pluginutils/dist/es/index.js
generated
vendored
@@ -350,16 +350,29 @@ const dataToEsm = function dataToEsm(data, options = {}) {
|
||||
return `${namedExportCode}${arbitraryExportCode}${defaultExportCode}`;
|
||||
};
|
||||
|
||||
function exactRegex(str, flags) {
|
||||
return new RegExp(`^${escapeRegex(str)}$`, flags);
|
||||
}
|
||||
function prefixRegex(str, flags) {
|
||||
return new RegExp(`^${escapeRegex(str)}`, flags);
|
||||
}
|
||||
const escapeRegexRE = /[-/\\^$*+?.()|[\]{}]/g;
|
||||
function escapeRegex(str) {
|
||||
return str.replace(escapeRegexRE, '\\$&');
|
||||
}
|
||||
|
||||
// TODO: remove this in next major
|
||||
var index = {
|
||||
addExtension,
|
||||
attachScopes,
|
||||
createFilter,
|
||||
dataToEsm,
|
||||
exactRegex,
|
||||
extractAssignedNames,
|
||||
makeLegalIdentifier,
|
||||
normalizePath
|
||||
normalizePath,
|
||||
prefixRegex
|
||||
};
|
||||
|
||||
export { addExtension, attachScopes, createFilter, dataToEsm, index as default, extractAssignedNames, makeLegalIdentifier, normalizePath };
|
||||
export { addExtension, attachScopes, createFilter, dataToEsm, index as default, exactRegex, extractAssignedNames, makeLegalIdentifier, normalizePath, prefixRegex };
|
||||
//# sourceMappingURL=index.js.map
|
||||
|
Reference in New Issue
Block a user