catco 2.0.5 → 2.0.7
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ const copy = async (patterns, ignore = DEFAULT_ANTI_PATTERNS) => {
|
|
|
61
61
|
return minified;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
const FILE_MARKER_REGEX = /\/\*
|
|
64
|
+
const FILE_MARKER_REGEX = /\/\* FILE:(\.\/[^\s*][^*]*?) \*\//g;
|
|
65
65
|
const parse = async (inputFile, outputDir) => {
|
|
66
66
|
const content = await fs.promises.readFile(inputFile, "utf-8");
|
|
67
67
|
const matches = [...content.matchAll(FILE_MARKER_REGEX)];
|
|
@@ -84,7 +84,7 @@ const parse = async (inputFile, outputDir) => {
|
|
|
84
84
|
console.log(`[catco parse] done. files written to ${outputDir}`);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
var version = "2.0.
|
|
87
|
+
var version = "2.0.6";
|
|
88
88
|
var pkg = {
|
|
89
89
|
version: version};
|
|
90
90
|
|
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ const copy = async (patterns, ignore = DEFAULT_ANTI_PATTERNS) => {
|
|
|
59
59
|
return minified;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
const FILE_MARKER_REGEX = /\/\*
|
|
62
|
+
const FILE_MARKER_REGEX = /\/\* FILE:(\.\/[^\s*][^*]*?) \*\//g;
|
|
63
63
|
const parse = async (inputFile, outputDir) => {
|
|
64
64
|
const content = await fs.promises.readFile(inputFile, "utf-8");
|
|
65
65
|
const matches = [...content.matchAll(FILE_MARKER_REGEX)];
|
|
@@ -82,7 +82,7 @@ const parse = async (inputFile, outputDir) => {
|
|
|
82
82
|
console.log(`[catco parse] done. files written to ${outputDir}`);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
var version = "2.0.
|
|
85
|
+
var version = "2.0.6";
|
|
86
86
|
var pkg = {
|
|
87
87
|
version: version};
|
|
88
88
|
|
package/dist/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ const copy = async (patterns, ignore = DEFAULT_ANTI_PATTERNS) => {
|
|
|
59
59
|
return minified;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
const FILE_MARKER_REGEX = /\/\*
|
|
62
|
+
const FILE_MARKER_REGEX = /\/\* FILE:(\.\/[^\s*][^*]*?) \*\//g;
|
|
63
63
|
const parse = async (inputFile, outputDir) => {
|
|
64
64
|
const content = await fs.promises.readFile(inputFile, "utf-8");
|
|
65
65
|
const matches = [...content.matchAll(FILE_MARKER_REGEX)];
|
|
@@ -82,7 +82,7 @@ const parse = async (inputFile, outputDir) => {
|
|
|
82
82
|
console.log(`[catco parse] done. files written to ${outputDir}`);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
var version = "2.0.
|
|
85
|
+
var version = "2.0.6";
|
|
86
86
|
var pkg = {
|
|
87
87
|
version: version};
|
|
88
88
|
|