Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-eslint-parser

Package Overview
Dependencies
Maintainers
0
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-eslint-parser - npm Package Compare versions

Comparing version 0.42.0 to 0.43.0

2

lib/meta.d.ts
export declare const name = "svelte-eslint-parser";
export declare const version = "0.42.0";
export declare const version = "0.43.0";

@@ -8,2 +8,2 @@ "use strict";

exports.name = "svelte-eslint-parser";
exports.version = "0.42.0";
exports.version = "0.43.0";

@@ -215,3 +215,3 @@ "use strict";

switch (globalName) {
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2646
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2299
case "$state": {

@@ -223,4 +223,4 @@ appendDeclareFunctionVirtualScripts(globalName, [

appendDeclareNamespaceVirtualScripts(globalName, [
"export function frozen<T>(initial: T): Readonly<T>;",
"export function frozen<T>(): Readonly<T> | undefined;",
"export function raw<T>(initial: T): T;",
"export function raw<T>(): T | undefined;",
]);

@@ -230,8 +230,5 @@ appendDeclareNamespaceVirtualScripts(globalName, [

]);
appendDeclareNamespaceVirtualScripts(globalName, [
"export function is(a: any, b: any): boolean;",
]);
break;
}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2751
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2453
case "$derived": {

@@ -246,3 +243,3 @@ appendDeclareFunctionVirtualScripts(globalName, [

}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2811
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2513
case "$effect": {

@@ -259,13 +256,16 @@ appendDeclareFunctionVirtualScripts(globalName, [

}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2913
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2615
case "$props": {
appendDeclareFunctionVirtualScripts(globalName, ["(): any"]);
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors.
appendDeclareFunctionVirtualScripts(globalName, ["<T>(): T"]);
break;
}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2924
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2626
case "$bindable": {
appendDeclareFunctionVirtualScripts(globalName, ["<T>(t?: T): T"]);
appendDeclareFunctionVirtualScripts(globalName, [
"<T>(fallback?: T): T",
]);
break;
}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2944
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2646
case "$inspect": {

@@ -277,3 +277,3 @@ appendDeclareFunctionVirtualScripts(globalName, [

}
// See https://github.com/sveltejs/svelte/blob/ccb3c90cd57ca9d764efab317ed1cb8e5282926e/packages/svelte/types/index.d.ts#L2967
// See https://github.com/sveltejs/svelte/blob/41b5cd6f5daae3970a9927e062f42b6b62440d16/packages/svelte/types/index.d.ts#L2669
case "$host": {

@@ -280,0 +280,0 @@ appendDeclareFunctionVirtualScripts(globalName, [

{
"name": "svelte-eslint-parser",
"version": "0.42.0",
"version": "0.43.0",
"description": "Svelte parser for ESLint",

@@ -29,3 +29,3 @@ "repository": "git+https://github.com/sveltejs/svelte-eslint-parser.git",

"peerDependencies": {
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.191"
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
},

@@ -88,3 +88,3 @@ "peerDependenciesMeta": {

"semver": "^7.6.3",
"svelte": "^5.0.0-next.264",
"svelte": "^5.0.0",
"svelte2tsx": "^0.7.22",

@@ -91,0 +91,0 @@ "typescript": "~5.6.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc