@danielx/civet 0.6.32 → 0.6.34

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 CHANGED
@@ -2728,7 +2728,7 @@ ${input.slice(result.pos)}
2728
2728
  assert.equal(m.forbidIndentedApplication.length, 1, "forbidIndentedApplication");
2729
2729
  assert.equal(m.forbidNewlineBinaryOp.length, 1, "forbidNewlineBinaryOp");
2730
2730
  assert.equal(m.forbidTrailingMemberProperty.length, 1, "forbidTrailingMemberProperty");
2731
- assert.equal(m.JSXTagStack.length, 0, "JSXTagStack should be empty");
2731
+ assert.equal(m.JSXTagStack.length, 1, "JSXTagStack");
2732
2732
  addParentPointers(root);
2733
2733
  const { expressions: statements } = root;
2734
2734
  processPipelineExpressions(statements);
@@ -12035,7 +12035,7 @@ ${input.slice(result.pos)}
12035
12035
  module.forbidBracedApplication = [false];
12036
12036
  module.forbidTrailingMemberProperty = [false];
12037
12037
  module.forbidNewlineBinaryOp = [false];
12038
- module.JSXTagStack = [];
12038
+ module.JSXTagStack = [void 0];
12039
12039
  module.operators = /* @__PURE__ */ new Set();
12040
12040
  if (!module._init) {
12041
12041
  module._init = true;
@@ -127,6 +127,10 @@ function civet(options = {}) {
127
127
  }
128
128
  var defaultPlugin = civet();
129
129
  civet.setup = defaultPlugin.setup;
130
+ if (typeof module !== "undefined") {
131
+ module.exports = civet;
132
+ module.exports.default = civet;
133
+ }
130
134
  var esbuild_plugin_default = civet;
131
135
  // Annotate the CommonJS export names for ESM import in node:
132
136
  0 && (module.exports = {});
package/dist/main.js CHANGED
@@ -2727,7 +2727,7 @@ var require_lib = __commonJS({
2727
2727
  assert.equal(m.forbidIndentedApplication.length, 1, "forbidIndentedApplication");
2728
2728
  assert.equal(m.forbidNewlineBinaryOp.length, 1, "forbidNewlineBinaryOp");
2729
2729
  assert.equal(m.forbidTrailingMemberProperty.length, 1, "forbidTrailingMemberProperty");
2730
- assert.equal(m.JSXTagStack.length, 0, "JSXTagStack should be empty");
2730
+ assert.equal(m.JSXTagStack.length, 1, "JSXTagStack");
2731
2731
  addParentPointers(root);
2732
2732
  const { expressions: statements } = root;
2733
2733
  processPipelineExpressions(statements);
@@ -12034,7 +12034,7 @@ var require_parser = __commonJS({
12034
12034
  module2.forbidBracedApplication = [false];
12035
12035
  module2.forbidTrailingMemberProperty = [false];
12036
12036
  module2.forbidNewlineBinaryOp = [false];
12037
- module2.JSXTagStack = [];
12037
+ module2.JSXTagStack = [void 0];
12038
12038
  module2.operators = /* @__PURE__ */ new Set();
12039
12039
  if (!module2._init) {
12040
12040
  module2._init = true;
package/dist/main.mjs CHANGED
@@ -2725,7 +2725,7 @@ var require_lib = __commonJS({
2725
2725
  assert.equal(m.forbidIndentedApplication.length, 1, "forbidIndentedApplication");
2726
2726
  assert.equal(m.forbidNewlineBinaryOp.length, 1, "forbidNewlineBinaryOp");
2727
2727
  assert.equal(m.forbidTrailingMemberProperty.length, 1, "forbidTrailingMemberProperty");
2728
- assert.equal(m.JSXTagStack.length, 0, "JSXTagStack should be empty");
2728
+ assert.equal(m.JSXTagStack.length, 1, "JSXTagStack");
2729
2729
  addParentPointers(root);
2730
2730
  const { expressions: statements } = root;
2731
2731
  processPipelineExpressions(statements);
@@ -12032,7 +12032,7 @@ var require_parser = __commonJS({
12032
12032
  module.forbidBracedApplication = [false];
12033
12033
  module.forbidTrailingMemberProperty = [false];
12034
12034
  module.forbidNewlineBinaryOp = [false];
12035
- module.JSXTagStack = [];
12035
+ module.JSXTagStack = [void 0];
12036
12036
  module.operators = /* @__PURE__ */ new Set();
12037
12037
  if (!module._init) {
12038
12038
  module._init = true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
3
  "type": "commonjs",
4
- "version": "0.6.32",
4
+ "version": "0.6.34",
5
5
  "description": "CoffeeScript style syntax for TypeScript",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/main.mjs",