mnfst-publish 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manifest.publish.mjs +2 -2
- package/package.json +1 -1
package/manifest.publish.mjs
CHANGED
|
@@ -222,9 +222,9 @@ export function makePublishIgnore(rawPatterns) {
|
|
|
222
222
|
const pathScoped = anchored || p.includes('/');
|
|
223
223
|
const body = p
|
|
224
224
|
.replace(/[.+^${}()|[\]\\]/g, '\\$&')
|
|
225
|
-
.replace(/\*\*/g, '
|
|
225
|
+
.replace(/\*\*/g, '\u0000')
|
|
226
226
|
.replace(/\*/g, '[^/]*')
|
|
227
|
-
.replace(
|
|
227
|
+
.replace(/\u0000/g, '.*')
|
|
228
228
|
.replace(/\?/g, '[^/]');
|
|
229
229
|
rules.push({ dirOnly, pathScoped, exact: new RegExp('^' + body + '$'), prefix: new RegExp('^' + body + '/') });
|
|
230
230
|
}
|