From 2181f45d4937f39fb8e4173b47f099cf9ff9960d Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Sun, 14 Sep 2025 20:52:15 +0100 Subject: [PATCH] Add more ast-types patches Signed-off-by: Charles de Dreuille --- .../ast-types-npm-0.16.1-596f974e68.patch | 15 ++++++++++++++ package.json | 4 ++++ yarn.lock | 20 +++++++++---------- 3 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 .yarn/patches/ast-types-npm-0.16.1-596f974e68.patch diff --git a/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch b/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch new file mode 100644 index 0000000000..996a23c205 --- /dev/null +++ b/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch @@ -0,0 +1,15 @@ +diff --git a/lib/main.d.ts b/lib/main.d.ts +index 9b54fef0086ea0c99368d8a95f2476e5dcd6d9c1..5c3853901e522c445cdb23b07538aad8a15bafb0 100644 +--- a/lib/main.d.ts ++++ b/lib/main.d.ts +@@ -1,7 +1,7 @@ +-import { ASTNode, Type, AnyType, Field } from "./types"; +-import { NodePath } from "./node-path"; ++import { ASTNode, type Type, AnyType, Field } from "./types"; ++import { type NodePath } from "./node-path"; + import { namedTypes } from "./gen/namedTypes"; +-import { builders } from "./gen/builders"; ++import { type builders } from "./gen/builders"; + import { Visitor } from "./gen/visitor"; + declare const astNodesAreEquivalent: { + (a: any, b: any, problemPath?: any): boolean; diff --git a/package.json b/package.json index 63ddacee4a..7a50acea1b 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,10 @@ "ast-types@0.16.1": "patch:ast-types@npm%3A0.16.1#./.yarn/patches/ast-types-npm-0.16.1-43c4ac4b0d.patch", "ast-types@^0.14.1": "patch:ast-types@npm%3A0.14.2#./.yarn/patches/ast-types-npm-0.14.2-43c4ac4b0d.patch", "ast-types@^0.16.0": "patch:ast-types@npm%3A0.16.1#./.yarn/patches/ast-types-npm-0.16.1-43c4ac4b0d.patch", + "ast-types@npm:^0.14.1": "patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch", + "ast-types@npm:0.14.2": "patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch", + "ast-types@npm:^0.16.1": "patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch", + "ast-types@npm:^0.13.4": "patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch", "csstype@npm:^3.0.2": "3.0.9", "csstype@npm:^3.1.2": "3.0.9", "csstype@npm:^3.1.3": "3.0.9", diff --git a/yarn.lock b/yarn.lock index 6fd2ecb8cf..27a29997b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23888,16 +23888,7 @@ __metadata: languageName: node linkType: hard -"ast-types@npm:^0.13.4": - version: 0.13.4 - resolution: "ast-types@npm:0.13.4" - dependencies: - tslib: "npm:^2.0.1" - checksum: 10/c55b375b9aaf44713d8c0f77a08215ab6d44f368b13e44f2141c421022af3c62b615a30c8ea629457f0cbaec409c713401c0188a124552c8fe4a5ad6b17ff3c3 - languageName: node - linkType: hard - -"ast-types@npm:^0.16.1": +"ast-types@npm:0.16.1": version: 0.16.1 resolution: "ast-types@npm:0.16.1" dependencies: @@ -23915,6 +23906,15 @@ __metadata: languageName: node linkType: hard +"ast-types@patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch": + version: 0.16.1 + resolution: "ast-types@patch:ast-types@npm%3A0.16.1#~/.yarn/patches/ast-types-npm-0.16.1-596f974e68.patch::version=0.16.1&hash=538845" + dependencies: + tslib: "npm:^2.0.1" + checksum: 10/15c639f8c04116cc3ef0941569549e7cc389b47901ca8b851ad87d3461d9e1dbf85da25a84c2e135864efdcc1bc833b90be216868b7dc7ac4613afcaa98939e0 + languageName: node + linkType: hard + "astral-regex@npm:^2.0.0": version: 2.0.0 resolution: "astral-regex@npm:2.0.0"