@herb-tools/formatter 0.7.1 → 0.7.2
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/herb-format.js +68 -22
- package/dist/herb-format.js.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/types/cli.d.ts +1 -0
- package/package.json +3 -3
- package/src/cli.ts +69 -12
package/dist/index.cjs
CHANGED
|
@@ -198,7 +198,7 @@ class Token {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
201
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.
|
|
201
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.2/templates/javascript/packages/core/src/errors.ts.erb
|
|
202
202
|
class HerbError {
|
|
203
203
|
type;
|
|
204
204
|
message;
|
|
@@ -648,7 +648,7 @@ function convertToUTF8(string) {
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
651
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.
|
|
651
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.2/templates/javascript/packages/core/src/nodes.ts.erb
|
|
652
652
|
class Node {
|
|
653
653
|
type;
|
|
654
654
|
location;
|
|
@@ -2882,7 +2882,7 @@ class ParseResult extends Result {
|
|
|
2882
2882
|
}
|
|
2883
2883
|
|
|
2884
2884
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
2885
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.
|
|
2885
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.2/templates/javascript/packages/core/src/node-type-guards.ts.erb
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Type guard functions for AST nodes.
|
|
2888
2888
|
* These functions provide type checking by combining both instanceof
|
|
@@ -3369,7 +3369,7 @@ function getNodesAfterPosition(nodes, position, inclusive = true) {
|
|
|
3369
3369
|
}
|
|
3370
3370
|
|
|
3371
3371
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
3372
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.
|
|
3372
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.7.2/templates/javascript/packages/core/src/visitor.ts.erb
|
|
3373
3373
|
class Visitor {
|
|
3374
3374
|
visit(node) {
|
|
3375
3375
|
if (!node)
|