@danielx/civet 0.7.18 → 0.7.19
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/browser.js +18 -13
- package/dist/civet +0 -0
- package/dist/main.js +18 -13
- package/dist/main.mjs +18 -13
- package/dist/unplugin/astro.js +1 -1
- package/dist/unplugin/astro.mjs +1 -1
- package/dist/unplugin/esbuild.js +1 -1
- package/dist/unplugin/esbuild.mjs +1 -1
- package/dist/unplugin/rollup.js +1 -1
- package/dist/unplugin/rollup.mjs +1 -1
- package/dist/unplugin/unplugin.js +2 -3
- package/dist/unplugin/unplugin.mjs +2 -3
- package/dist/unplugin/vite.js +1 -1
- package/dist/unplugin/vite.mjs +1 -1
- package/dist/unplugin/webpack.js +1 -1
- package/dist/unplugin/webpack.mjs +1 -1
- package/package.json +3 -3
package/dist/browser.js
CHANGED
|
@@ -38,9 +38,9 @@ var Civet = (() => {
|
|
|
38
38
|
));
|
|
39
39
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
40
40
|
|
|
41
|
-
//
|
|
41
|
+
// node_modules/@danielx/hera/dist/machine.js
|
|
42
42
|
var require_machine = __commonJS({
|
|
43
|
-
"
|
|
43
|
+
"node_modules/@danielx/hera/dist/machine.js"(exports, module) {
|
|
44
44
|
"use strict";
|
|
45
45
|
var __defProp2 = Object.defineProperty;
|
|
46
46
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -66,7 +66,7 @@ var Civet = (() => {
|
|
|
66
66
|
$EVENT: () => $EVENT2,
|
|
67
67
|
$EVENT_C: () => $EVENT_C2,
|
|
68
68
|
$EXPECT: () => $EXPECT2,
|
|
69
|
-
$L: () => $
|
|
69
|
+
$L: () => $L231,
|
|
70
70
|
$N: () => $N2,
|
|
71
71
|
$P: () => $P2,
|
|
72
72
|
$Q: () => $Q2,
|
|
@@ -91,7 +91,7 @@ var Civet = (() => {
|
|
|
91
91
|
return result;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
function $
|
|
94
|
+
function $L231(str) {
|
|
95
95
|
return function(_ctx, state2) {
|
|
96
96
|
const { input, pos } = state2, { length } = str, end = pos + length;
|
|
97
97
|
if (input.substring(pos, end) === str) {
|
|
@@ -7284,8 +7284,10 @@ ${js}`
|
|
|
7284
7284
|
var $L224 = (0, import_lib3.$L)("asserts");
|
|
7285
7285
|
var $L225 = (0, import_lib3.$L)("keyof");
|
|
7286
7286
|
var $L226 = (0, import_lib3.$L)("???");
|
|
7287
|
-
var $L227 = (0, import_lib3.$L)("
|
|
7288
|
-
var $L228 = (0, import_lib3.$L)("
|
|
7287
|
+
var $L227 = (0, import_lib3.$L)("unique");
|
|
7288
|
+
var $L228 = (0, import_lib3.$L)("symbol");
|
|
7289
|
+
var $L229 = (0, import_lib3.$L)("[]");
|
|
7290
|
+
var $L230 = (0, import_lib3.$L)("civet");
|
|
7289
7291
|
var $R0 = (0, import_lib3.$R)(new RegExp("(?=async|debugger|if|unless|comptime|do|for|loop|until|while|switch|throw|try)", "suy"));
|
|
7290
7292
|
var $R1 = (0, import_lib3.$R)(new RegExp("&(?=\\s)", "suy"));
|
|
7291
7293
|
var $R2 = (0, import_lib3.$R)(new RegExp("(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
@@ -9794,10 +9796,10 @@ ${js}`
|
|
|
9794
9796
|
block
|
|
9795
9797
|
};
|
|
9796
9798
|
});
|
|
9797
|
-
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3) {
|
|
9798
|
-
var open = $
|
|
9799
|
-
var op = $
|
|
9800
|
-
var close = $
|
|
9799
|
+
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$N)(ArrowFunction), OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
9800
|
+
var open = $2;
|
|
9801
|
+
var op = $3;
|
|
9802
|
+
var close = $4;
|
|
9801
9803
|
if (op.special && op.call && !op.negated)
|
|
9802
9804
|
return op.call;
|
|
9803
9805
|
const refA = makeRef("a"), refB = makeRef("b"), body = processBinaryOpExpression([refA, [
|
|
@@ -16124,10 +16126,13 @@ ${js}`
|
|
|
16124
16126
|
var TypeLiteral$3 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L208, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
16125
16127
|
return { type: "VoidType", $loc, token: $1 };
|
|
16126
16128
|
});
|
|
16127
|
-
var TypeLiteral$4 = (0, import_lib3.$
|
|
16129
|
+
var TypeLiteral$4 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L227, 'TypeLiteral "unique"'), _, (0, import_lib3.$EXPECT)($L228, 'TypeLiteral "symbol"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16130
|
+
return { type: "UniqueSymbolType", children: $0 };
|
|
16131
|
+
});
|
|
16132
|
+
var TypeLiteral$5 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L229, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
16128
16133
|
return { $loc, token: "[]" };
|
|
16129
16134
|
});
|
|
16130
|
-
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4];
|
|
16135
|
+
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4, TypeLiteral$5];
|
|
16131
16136
|
function TypeLiteral(ctx, state2) {
|
|
16132
16137
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeLiteral", TypeLiteral$$);
|
|
16133
16138
|
}
|
|
@@ -16250,7 +16255,7 @@ ${js}`
|
|
|
16250
16255
|
function CivetPrologue(ctx, state2) {
|
|
16251
16256
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
|
|
16252
16257
|
}
|
|
16253
|
-
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($
|
|
16258
|
+
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L230, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib3.$Q)(CivetOption), (0, import_lib3.$EXPECT)($R89, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16254
16259
|
var options = $3;
|
|
16255
16260
|
return {
|
|
16256
16261
|
type: "CivetPrologue",
|
package/dist/civet
CHANGED
|
File without changes
|
package/dist/main.js
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
//
|
|
33
|
+
// node_modules/@danielx/hera/dist/machine.js
|
|
34
34
|
var require_machine = __commonJS({
|
|
35
|
-
"
|
|
35
|
+
"node_modules/@danielx/hera/dist/machine.js"(exports2, module2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
var __defProp2 = Object.defineProperty;
|
|
38
38
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -58,7 +58,7 @@ var require_machine = __commonJS({
|
|
|
58
58
|
$EVENT: () => $EVENT2,
|
|
59
59
|
$EVENT_C: () => $EVENT_C2,
|
|
60
60
|
$EXPECT: () => $EXPECT2,
|
|
61
|
-
$L: () => $
|
|
61
|
+
$L: () => $L231,
|
|
62
62
|
$N: () => $N2,
|
|
63
63
|
$P: () => $P2,
|
|
64
64
|
$Q: () => $Q2,
|
|
@@ -83,7 +83,7 @@ var require_machine = __commonJS({
|
|
|
83
83
|
return result;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function $
|
|
86
|
+
function $L231(str) {
|
|
87
87
|
return function(_ctx, state2) {
|
|
88
88
|
const { input, pos } = state2, { length } = str, end = pos + length;
|
|
89
89
|
if (input.substring(pos, end) === str) {
|
|
@@ -7262,8 +7262,10 @@ var $L223 = (0, import_lib3.$L)("namespace");
|
|
|
7262
7262
|
var $L224 = (0, import_lib3.$L)("asserts");
|
|
7263
7263
|
var $L225 = (0, import_lib3.$L)("keyof");
|
|
7264
7264
|
var $L226 = (0, import_lib3.$L)("???");
|
|
7265
|
-
var $L227 = (0, import_lib3.$L)("
|
|
7266
|
-
var $L228 = (0, import_lib3.$L)("
|
|
7265
|
+
var $L227 = (0, import_lib3.$L)("unique");
|
|
7266
|
+
var $L228 = (0, import_lib3.$L)("symbol");
|
|
7267
|
+
var $L229 = (0, import_lib3.$L)("[]");
|
|
7268
|
+
var $L230 = (0, import_lib3.$L)("civet");
|
|
7267
7269
|
var $R0 = (0, import_lib3.$R)(new RegExp("(?=async|debugger|if|unless|comptime|do|for|loop|until|while|switch|throw|try)", "suy"));
|
|
7268
7270
|
var $R1 = (0, import_lib3.$R)(new RegExp("&(?=\\s)", "suy"));
|
|
7269
7271
|
var $R2 = (0, import_lib3.$R)(new RegExp("(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
@@ -9772,10 +9774,10 @@ var FunctionExpression$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(FunctionSign
|
|
|
9772
9774
|
block
|
|
9773
9775
|
};
|
|
9774
9776
|
});
|
|
9775
|
-
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3) {
|
|
9776
|
-
var open = $
|
|
9777
|
-
var op = $
|
|
9778
|
-
var close = $
|
|
9777
|
+
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$N)(ArrowFunction), OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
9778
|
+
var open = $2;
|
|
9779
|
+
var op = $3;
|
|
9780
|
+
var close = $4;
|
|
9779
9781
|
if (op.special && op.call && !op.negated)
|
|
9780
9782
|
return op.call;
|
|
9781
9783
|
const refA = makeRef("a"), refB = makeRef("b"), body = processBinaryOpExpression([refA, [
|
|
@@ -16102,10 +16104,13 @@ var TypeLiteral$2 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EX
|
|
|
16102
16104
|
var TypeLiteral$3 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L208, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
16103
16105
|
return { type: "VoidType", $loc, token: $1 };
|
|
16104
16106
|
});
|
|
16105
|
-
var TypeLiteral$4 = (0, import_lib3.$
|
|
16107
|
+
var TypeLiteral$4 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L227, 'TypeLiteral "unique"'), _, (0, import_lib3.$EXPECT)($L228, 'TypeLiteral "symbol"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16108
|
+
return { type: "UniqueSymbolType", children: $0 };
|
|
16109
|
+
});
|
|
16110
|
+
var TypeLiteral$5 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L229, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
16106
16111
|
return { $loc, token: "[]" };
|
|
16107
16112
|
});
|
|
16108
|
-
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4];
|
|
16113
|
+
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4, TypeLiteral$5];
|
|
16109
16114
|
function TypeLiteral(ctx, state2) {
|
|
16110
16115
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeLiteral", TypeLiteral$$);
|
|
16111
16116
|
}
|
|
@@ -16228,7 +16233,7 @@ var CivetPrologue$$ = [CivetPrologue$0, CivetPrologue$1];
|
|
|
16228
16233
|
function CivetPrologue(ctx, state2) {
|
|
16229
16234
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
|
|
16230
16235
|
}
|
|
16231
|
-
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($
|
|
16236
|
+
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L230, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib3.$Q)(CivetOption), (0, import_lib3.$EXPECT)($R89, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16232
16237
|
var options = $3;
|
|
16233
16238
|
return {
|
|
16234
16239
|
type: "CivetPrologue",
|
package/dist/main.mjs
CHANGED
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
//
|
|
31
|
+
// node_modules/@danielx/hera/dist/machine.js
|
|
32
32
|
var require_machine = __commonJS({
|
|
33
|
-
"
|
|
33
|
+
"node_modules/@danielx/hera/dist/machine.js"(exports, module) {
|
|
34
34
|
"use strict";
|
|
35
35
|
var __defProp2 = Object.defineProperty;
|
|
36
36
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -56,7 +56,7 @@ var require_machine = __commonJS({
|
|
|
56
56
|
$EVENT: () => $EVENT2,
|
|
57
57
|
$EVENT_C: () => $EVENT_C2,
|
|
58
58
|
$EXPECT: () => $EXPECT2,
|
|
59
|
-
$L: () => $
|
|
59
|
+
$L: () => $L231,
|
|
60
60
|
$N: () => $N2,
|
|
61
61
|
$P: () => $P2,
|
|
62
62
|
$Q: () => $Q2,
|
|
@@ -81,7 +81,7 @@ var require_machine = __commonJS({
|
|
|
81
81
|
return result;
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function $
|
|
84
|
+
function $L231(str) {
|
|
85
85
|
return function(_ctx, state2) {
|
|
86
86
|
const { input, pos } = state2, { length } = str, end = pos + length;
|
|
87
87
|
if (input.substring(pos, end) === str) {
|
|
@@ -7242,8 +7242,10 @@ var $L223 = (0, import_lib3.$L)("namespace");
|
|
|
7242
7242
|
var $L224 = (0, import_lib3.$L)("asserts");
|
|
7243
7243
|
var $L225 = (0, import_lib3.$L)("keyof");
|
|
7244
7244
|
var $L226 = (0, import_lib3.$L)("???");
|
|
7245
|
-
var $L227 = (0, import_lib3.$L)("
|
|
7246
|
-
var $L228 = (0, import_lib3.$L)("
|
|
7245
|
+
var $L227 = (0, import_lib3.$L)("unique");
|
|
7246
|
+
var $L228 = (0, import_lib3.$L)("symbol");
|
|
7247
|
+
var $L229 = (0, import_lib3.$L)("[]");
|
|
7248
|
+
var $L230 = (0, import_lib3.$L)("civet");
|
|
7247
7249
|
var $R0 = (0, import_lib3.$R)(new RegExp("(?=async|debugger|if|unless|comptime|do|for|loop|until|while|switch|throw|try)", "suy"));
|
|
7248
7250
|
var $R1 = (0, import_lib3.$R)(new RegExp("&(?=\\s)", "suy"));
|
|
7249
7251
|
var $R2 = (0, import_lib3.$R)(new RegExp("(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
@@ -9752,10 +9754,10 @@ var FunctionExpression$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(FunctionSign
|
|
|
9752
9754
|
block
|
|
9753
9755
|
};
|
|
9754
9756
|
});
|
|
9755
|
-
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3) {
|
|
9756
|
-
var open = $
|
|
9757
|
-
var op = $
|
|
9758
|
-
var close = $
|
|
9757
|
+
var FunctionExpression$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$N)(ArrowFunction), OpenParen, BinaryOp, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
9758
|
+
var open = $2;
|
|
9759
|
+
var op = $3;
|
|
9760
|
+
var close = $4;
|
|
9759
9761
|
if (op.special && op.call && !op.negated)
|
|
9760
9762
|
return op.call;
|
|
9761
9763
|
const refA = makeRef("a"), refB = makeRef("b"), body = processBinaryOpExpression([refA, [
|
|
@@ -16082,10 +16084,13 @@ var TypeLiteral$2 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EX
|
|
|
16082
16084
|
var TypeLiteral$3 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L208, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
16083
16085
|
return { type: "VoidType", $loc, token: $1 };
|
|
16084
16086
|
});
|
|
16085
|
-
var TypeLiteral$4 = (0, import_lib3.$
|
|
16087
|
+
var TypeLiteral$4 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L227, 'TypeLiteral "unique"'), _, (0, import_lib3.$EXPECT)($L228, 'TypeLiteral "symbol"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16088
|
+
return { type: "UniqueSymbolType", children: $0 };
|
|
16089
|
+
});
|
|
16090
|
+
var TypeLiteral$5 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L229, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
16086
16091
|
return { $loc, token: "[]" };
|
|
16087
16092
|
});
|
|
16088
|
-
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4];
|
|
16093
|
+
var TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4, TypeLiteral$5];
|
|
16089
16094
|
function TypeLiteral(ctx, state2) {
|
|
16090
16095
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeLiteral", TypeLiteral$$);
|
|
16091
16096
|
}
|
|
@@ -16208,7 +16213,7 @@ var CivetPrologue$$ = [CivetPrologue$0, CivetPrologue$1];
|
|
|
16208
16213
|
function CivetPrologue(ctx, state2) {
|
|
16209
16214
|
return (0, import_lib3.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
|
|
16210
16215
|
}
|
|
16211
|
-
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($
|
|
16216
|
+
var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L230, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib3.$Q)(CivetOption), (0, import_lib3.$EXPECT)($R89, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16212
16217
|
var options = $3;
|
|
16213
16218
|
return {
|
|
16214
16219
|
type: "CivetPrologue",
|
package/dist/unplugin/astro.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/astro.civet.jsx
|
|
30
30
|
var astro_civet_exports = {};
|
|
31
31
|
__export(astro_civet_exports, {
|
|
32
32
|
default: () => astro_civet_default
|
package/dist/unplugin/astro.mjs
CHANGED
package/dist/unplugin/esbuild.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/esbuild.civet.jsx
|
|
30
30
|
var esbuild_civet_exports = {};
|
|
31
31
|
__export(esbuild_civet_exports, {
|
|
32
32
|
default: () => esbuild_civet_default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/esbuild.civet.jsx
|
|
2
2
|
import civetUnplugin from "./unplugin.mjs";
|
|
3
3
|
var esbuild_civet_default = civetUnplugin.esbuild;
|
|
4
4
|
export {
|
package/dist/unplugin/rollup.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/rollup.civet.jsx
|
|
30
30
|
var rollup_civet_exports = {};
|
|
31
31
|
__export(rollup_civet_exports, {
|
|
32
32
|
default: () => rollup_civet_default
|
package/dist/unplugin/rollup.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/unplugin.civet.jsx
|
|
30
30
|
var unplugin_civet_exports = {};
|
|
31
31
|
__export(unplugin_civet_exports, {
|
|
32
32
|
default: () => unplugin_civet_default,
|
|
@@ -46,7 +46,7 @@ var import_os = __toESM(require("os"));
|
|
|
46
46
|
// source/unplugin/constants.mjs
|
|
47
47
|
var DEFAULT_EXTENSIONS = [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"];
|
|
48
48
|
|
|
49
|
-
// unplugin-civet
|
|
49
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/unplugin.civet.jsx
|
|
50
50
|
var DiagnosticCategory = {};
|
|
51
51
|
DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
|
|
52
52
|
DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
|
|
@@ -246,7 +246,6 @@ var rawPlugin = (options = {}, meta) => {
|
|
|
246
246
|
compilerOptions,
|
|
247
247
|
ts
|
|
248
248
|
);
|
|
249
|
-
host.compilerHost.getDirectories = system.getDirectories;
|
|
250
249
|
const program = ts.createProgram({
|
|
251
250
|
rootNames: useConfigFileNames ? configFileNames : [...fsMap.keys()],
|
|
252
251
|
options: compilerOptions,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/unplugin.civet.jsx
|
|
2
2
|
import { createUnplugin } from "unplugin";
|
|
3
3
|
import civet, { SourceMap } from "@danielx/civet";
|
|
4
4
|
import { findInDir, loadConfig } from "@danielx/civet/config";
|
|
@@ -14,7 +14,7 @@ import os from "os";
|
|
|
14
14
|
// source/unplugin/constants.mjs
|
|
15
15
|
var DEFAULT_EXTENSIONS = [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"];
|
|
16
16
|
|
|
17
|
-
// unplugin-civet
|
|
17
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/unplugin.civet.jsx
|
|
18
18
|
var DiagnosticCategory = {};
|
|
19
19
|
DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
|
|
20
20
|
DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
|
|
@@ -214,7 +214,6 @@ var rawPlugin = (options = {}, meta) => {
|
|
|
214
214
|
compilerOptions,
|
|
215
215
|
ts
|
|
216
216
|
);
|
|
217
|
-
host.compilerHost.getDirectories = system.getDirectories;
|
|
218
217
|
const program = ts.createProgram({
|
|
219
218
|
rootNames: useConfigFileNames ? configFileNames : [...fsMap.keys()],
|
|
220
219
|
options: compilerOptions,
|
package/dist/unplugin/vite.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/vite.civet.jsx
|
|
30
30
|
var vite_civet_exports = {};
|
|
31
31
|
__export(vite_civet_exports, {
|
|
32
32
|
default: () => vite_civet_default
|
package/dist/unplugin/vite.mjs
CHANGED
package/dist/unplugin/webpack.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/webpack.civet.jsx
|
|
30
30
|
var webpack_civet_exports = {};
|
|
31
31
|
__export(webpack_civet_exports, {
|
|
32
32
|
default: () => webpack_civet_default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/civet/source/unplugin/webpack.civet.jsx
|
|
2
2
|
import civetUnplugin from "./unplugin.mjs";
|
|
3
3
|
var webpack_civet_default = civetUnplugin.webpack;
|
|
4
4
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielx/civet",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.19",
|
|
5
5
|
"description": "CoffeeScript style syntax for TypeScript",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/main.mjs",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"license": "MIT",
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@cspotcode/source-map-support": "^0.8.1",
|
|
85
|
-
"@typescript/vfs": "^1.
|
|
85
|
+
"@typescript/vfs": "^1.6.0",
|
|
86
86
|
"unplugin": "^1.6.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@danielx/civet": "0.7.16",
|
|
90
|
-
"@danielx/hera": "^0.8.
|
|
90
|
+
"@danielx/hera": "^0.8.16",
|
|
91
91
|
"@prettier/sync": "^0.5.2",
|
|
92
92
|
"@types/assert": "^1.5.6",
|
|
93
93
|
"@types/mocha": "^9.1.1",
|