Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pnpm to v10 #661

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
],
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"packageManager": "pnpm@9.15.9",
"packageManager": "pnpm@10.8.0",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},

Unchanged files with check annotations Beta

import type ESTree from "estree";
import type { SvelteNode } from "./ast/index.js";
import type { TSESTree } from "@typescript-eslint/types";
import type { VisitorKeys as TSESVisitorKeys } from "@typescript-eslint/visitor-keys";

Check failure on line 6 in src/traverse.ts

GitHub Actions / lint

Cannot find module '@typescript-eslint/visitor-keys' or its corresponding type declarations.

Check failure on line 6 in src/traverse.ts

GitHub Actions / build

Cannot find module '@typescript-eslint/visitor-keys' or its corresponding type declarations.
/**
* Check that the given key should be traversed or not.
): string[] {
const keys = (visitorKeys || KEYS)[node.type] || getFallbackKeys(node);
return keys.filter((key) => !getNodes(node, key).next().done);

Check failure on line 50 in src/traverse.ts

GitHub Actions / lint

Parameter 'key' implicitly has an 'any' type.

Check failure on line 50 in src/traverse.ts

GitHub Actions / build

Parameter 'key' implicitly has an 'any' type.
}
/**
import type { ScopeManager, Scope } from "eslint-scope";
import type * as ESTree from "estree";
import type { TSESTree } from "@typescript-eslint/types";
import type { Scope as TSScope } from "@typescript-eslint/scope-manager";

Check failure on line 4 in src/context/script-let.ts

GitHub Actions / lint

Cannot find module '@typescript-eslint/scope-manager' or its corresponding type declarations.

Check failure on line 4 in src/context/script-let.ts

GitHub Actions / build

Cannot find module '@typescript-eslint/scope-manager' or its corresponding type declarations.
import type { Context, ScriptsSourceCode } from "./index.js";
import type {
Comment,
) {
yield result.getScope(node as any);
} else {
const typeNode: Exclude<TSESTree.TypeNode, TSScope["block"]> = node;

Check failure on line 1319 in src/context/script-let.ts

GitHub Actions / lint

Type 'TSAbstractKeyword | TSAnyKeyword | TSArrayType | TSAsyncKeyword | TSBigIntKeyword | TSBooleanKeyword | ... 34 more ... | TSVoidKeyword' is not assignable to type 'never'.

Check failure on line 1319 in src/context/script-let.ts

GitHub Actions / build

Type 'TSAbstractKeyword | TSAnyKeyword | TSArrayType | TSAsyncKeyword | TSBigIntKeyword | TSBooleanKeyword | ... 34 more ... | TSVoidKeyword' is not assignable to type 'never'.
for (const key of getKeys(typeNode, result.visitorKeys)) {
for (const child of getNodes(typeNode, key)) {
yield* iterateTypeNodeScopes(child as TSESTree.TypeNode);
import type {} from "svelte"; // FIXME: Workaround to get type information for "svelte/compiler"

Check warning on line 1 in src/parser/template.ts

GitHub Actions / lint

Unexpected 'fixme' comment: 'FIXME: Workaround to get type...'
import { parse } from "svelte/compiler";
import type * as Compiler from "./svelte-ast-types-for-v5.js";
import type * as SvAST from "./svelte-ast-types.js";
};
// Link declaration and declarations for backward compatibility.
// TODO Remove in v2 and later.

Check warning on line 22 in src/parser/converts/const.ts

GitHub Actions / lint

Unexpected 'todo' comment: 'TODO Remove in v2 and later.'
Object.defineProperty(mustache, "declaration", {
get() {
return mustache.declarations[0];
(key as any).parent = sAttr;
ctx.scriptLet.addObjectShorthandProperty(attribute.key, sAttr, (es) => {
if (
// FIXME: Older parsers may use the same node. In that case, do not replace.

Check warning on line 174 in src/parser/converts/attr.ts

GitHub Actions / lint

Unexpected 'fixme' comment: 'FIXME: Older parsers may use the same...'
// We will drop support for ESLint v7 in the next major version and remove this branch.
es.key !== es.value
) {
/**
* @deprecated Use `declarations` instead.
*/
declaration: ESTree.VariableDeclarator; // TODO Remove in v2 and later.

Check warning on line 269 in src/ast/html.ts

GitHub Actions / lint

Unexpected 'todo' comment: 'TODO Remove in v2 and later.'
declarations: [ESTree.VariableDeclarator];
parent:
| SvelteProgram