@openrewrite/rewrite 8.70.0-20251219-115915 → 8.70.0-20251219-180817

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/version.txt CHANGED
@@ -1 +1 @@
1
- 8.70.0-20251219-115915
1
+ 8.70.0-20251219-180817
@@ -0,0 +1,4 @@
1
+ import { AfterRecipeText, SourceSpec } from "../test";
2
+ import { Yaml } from "./tree";
3
+ export declare function yaml(before: string | null, after?: AfterRecipeText): SourceSpec<Yaml.Documents>;
4
+ //# sourceMappingURL=assertions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertions.d.ts","sourceRoot":"","sources":["../../src/yaml/assertions.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,eAAe,EAAe,UAAU,EAAC,MAAM,SAAS,CAAC;AAEjE,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAE5B,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAQ/F"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.yaml = yaml;
4
+ /*
5
+ * Copyright 2025 the original author or authors.
6
+ * <p>
7
+ * Licensed under the Moderne Source Available License (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ * <p>
11
+ * https://docs.moderne.io/licensing/moderne-source-available-license
12
+ * <p>
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+ const test_1 = require("../test");
20
+ const parser_1 = require("./parser");
21
+ const tree_1 = require("./tree");
22
+ function yaml(before, after) {
23
+ return {
24
+ kind: tree_1.Yaml.Kind.Documents,
25
+ before: before,
26
+ after: (0, test_1.dedentAfter)(after),
27
+ ext: 'yaml',
28
+ parser: () => new parser_1.YamlParser()
29
+ };
30
+ }
31
+ //# sourceMappingURL=assertions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertions.js","sourceRoot":"","sources":["../../src/yaml/assertions.ts"],"names":[],"mappings":";;AAmBA,oBAQC;AA3BD;;;;;;;;;;;;;;GAcG;AACH,kCAAiE;AACjE,qCAAoC;AACpC,iCAA4B;AAE5B,SAAgB,IAAI,CAAC,MAAqB,EAAE,KAAuB;IAC/D,OAAO;QACH,IAAI,EAAE,WAAI,CAAC,IAAI,CAAC,SAAS;QACzB,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,IAAA,kBAAW,EAAC,KAAK,CAAC;QACzB,GAAG,EAAE,MAAM;QACX,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,mBAAU,EAAE;KACjC,CAAC;AACN,CAAC"}
@@ -1,6 +1,7 @@
1
+ export * from "./assertions";
2
+ export * from "./parser";
1
3
  export * from "./tree";
2
4
  export * from "./visitor";
3
- export * from "./parser";
4
5
  import "./print";
5
6
  import "./rpc";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/yaml/index.ts"],"names":[],"mappings":"AAeA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AAEzB,OAAO,SAAS,CAAC;AACjB,OAAO,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/yaml/index.ts"],"names":[],"mappings":"AAeA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAE1B,OAAO,SAAS,CAAC;AACjB,OAAO,OAAO,CAAC"}
@@ -29,9 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  * See the License for the specific language governing permissions and
30
30
  * limitations under the License.
31
31
  */
32
+ __exportStar(require("./assertions"), exports);
33
+ __exportStar(require("./parser"), exports);
32
34
  __exportStar(require("./tree"), exports);
33
35
  __exportStar(require("./visitor"), exports);
34
- __exportStar(require("./parser"), exports);
35
36
  require("./print");
36
37
  require("./rpc");
37
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/yaml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AAEzB,mBAAiB;AACjB,iBAAe"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/yaml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,+CAA6B;AAC7B,2CAAyB;AACzB,yCAAuB;AACvB,4CAA0B;AAE1B,mBAAiB;AACjB,iBAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openrewrite/rewrite",
3
- "version": "8.70.0-20251219-115915",
3
+ "version": "8.70.0-20251219-180817",
4
4
  "license": "Moderne Source Available License",
5
5
  "description": "OpenRewrite JavaScript.",
6
6
  "homepage": "https://github.com/openrewrite/rewrite",
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Copyright 2025 the original author or authors.
3
+ * <p>
4
+ * Licensed under the Moderne Source Available License (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ * <p>
8
+ * https://docs.moderne.io/licensing/moderne-source-available-license
9
+ * <p>
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import {AfterRecipeText, dedentAfter, SourceSpec} from "../test";
17
+ import {YamlParser} from "./parser";
18
+ import {Yaml} from "./tree";
19
+
20
+ export function yaml(before: string | null, after?: AfterRecipeText): SourceSpec<Yaml.Documents> {
21
+ return {
22
+ kind: Yaml.Kind.Documents,
23
+ before: before,
24
+ after: dedentAfter(after),
25
+ ext: 'yaml',
26
+ parser: () => new YamlParser()
27
+ };
28
+ }
package/src/yaml/index.ts CHANGED
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ export * from "./assertions";
17
+ export * from "./parser";
16
18
  export * from "./tree";
17
19
  export * from "./visitor";
18
- export * from "./parser";
19
20
 
20
21
  import "./print";
21
22
  import "./rpc";