@danielx/civet 0.5.34 → 0.5.35
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/README.md +1 -1
- package/dist/browser.js +7 -6
- package/dist/civet +3 -1
- package/dist/main.js +7 -6
- package/dist/main.mjs +7 -6
- package/package.json +5 -2
package/README.md
CHANGED
package/dist/browser.js
CHANGED
|
@@ -7506,7 +7506,7 @@ ${input.slice(result.pos)}
|
|
|
7506
7506
|
declaration = {
|
|
7507
7507
|
type: "Declaration",
|
|
7508
7508
|
children: ["let ", ...startRefDec, ...endRefDec, counterRef, " = ", varRef2, " = ", startRef, ...ascDec],
|
|
7509
|
-
names:
|
|
7509
|
+
names: varRef2.names
|
|
7510
7510
|
};
|
|
7511
7511
|
blockPrefix.push(["", {
|
|
7512
7512
|
type: "AssignmentExpression",
|
|
@@ -7637,11 +7637,12 @@ ${input.slice(result.pos)}
|
|
|
7637
7637
|
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
7638
7638
|
var own = $1;
|
|
7639
7639
|
var binding = $2;
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7640
|
+
return {
|
|
7641
|
+
type: "AssignmentExpression",
|
|
7642
|
+
own: Boolean(own),
|
|
7643
|
+
children: [$2],
|
|
7644
|
+
names: $2.names
|
|
7645
|
+
};
|
|
7645
7646
|
});
|
|
7646
7647
|
function CoffeeForDeclaration(state) {
|
|
7647
7648
|
let eventData;
|
package/dist/civet
CHANGED
|
@@ -191,7 +191,9 @@ repl = function(options) {
|
|
|
191
191
|
return "\u{1F431}> ";
|
|
192
192
|
}
|
|
193
193
|
}(),
|
|
194
|
-
writer: options.
|
|
194
|
+
writer: options.ast ? function(obj) {
|
|
195
|
+
return JSON.stringify(obj, null, 2);
|
|
196
|
+
} : options.compile ? function(obj) {
|
|
195
197
|
return obj != null ? obj.replace(/\n*$/, "") : void 0;
|
|
196
198
|
} : void 0,
|
|
197
199
|
eval: function(input, context, filename, callback) {
|
package/dist/main.js
CHANGED
|
@@ -7505,7 +7505,7 @@ ${input.slice(result.pos)}
|
|
|
7505
7505
|
declaration = {
|
|
7506
7506
|
type: "Declaration",
|
|
7507
7507
|
children: ["let ", ...startRefDec, ...endRefDec, counterRef, " = ", varRef2, " = ", startRef, ...ascDec],
|
|
7508
|
-
names:
|
|
7508
|
+
names: varRef2.names
|
|
7509
7509
|
};
|
|
7510
7510
|
blockPrefix.push(["", {
|
|
7511
7511
|
type: "AssignmentExpression",
|
|
@@ -7636,11 +7636,12 @@ ${input.slice(result.pos)}
|
|
|
7636
7636
|
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
7637
7637
|
var own = $1;
|
|
7638
7638
|
var binding = $2;
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7639
|
+
return {
|
|
7640
|
+
type: "AssignmentExpression",
|
|
7641
|
+
own: Boolean(own),
|
|
7642
|
+
children: [$2],
|
|
7643
|
+
names: $2.names
|
|
7644
|
+
};
|
|
7644
7645
|
});
|
|
7645
7646
|
function CoffeeForDeclaration(state) {
|
|
7646
7647
|
let eventData;
|
package/dist/main.mjs
CHANGED
|
@@ -7503,7 +7503,7 @@ ${input.slice(result.pos)}
|
|
|
7503
7503
|
declaration = {
|
|
7504
7504
|
type: "Declaration",
|
|
7505
7505
|
children: ["let ", ...startRefDec, ...endRefDec, counterRef, " = ", varRef2, " = ", startRef, ...ascDec],
|
|
7506
|
-
names:
|
|
7506
|
+
names: varRef2.names
|
|
7507
7507
|
};
|
|
7508
7508
|
blockPrefix.push(["", {
|
|
7509
7509
|
type: "AssignmentExpression",
|
|
@@ -7634,11 +7634,12 @@ ${input.slice(result.pos)}
|
|
|
7634
7634
|
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
7635
7635
|
var own = $1;
|
|
7636
7636
|
var binding = $2;
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7637
|
+
return {
|
|
7638
|
+
type: "AssignmentExpression",
|
|
7639
|
+
own: Boolean(own),
|
|
7640
|
+
children: [$2],
|
|
7641
|
+
names: $2.names
|
|
7642
|
+
};
|
|
7642
7643
|
});
|
|
7643
7644
|
function CoffeeForDeclaration(state) {
|
|
7644
7645
|
let eventData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielx/civet",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.35",
|
|
4
4
|
"description": "CoffeeScript style syntax for TypeScript",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"module": "dist/main.mjs",
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
"require": "./dist/main.js"
|
|
11
11
|
},
|
|
12
12
|
"./esm": "./dist/esm.mjs",
|
|
13
|
-
"./esbuild-plugin": "./dist/esbuild-plugin.js"
|
|
13
|
+
"./esbuild-plugin": "./dist/esbuild-plugin.js",
|
|
14
|
+
"./register": "./register.js",
|
|
15
|
+
"./*": "./*",
|
|
16
|
+
"./dist/*": "./dist/*"
|
|
14
17
|
},
|
|
15
18
|
"types": "dist/types.d.ts",
|
|
16
19
|
"bin": {
|