Socket
Socket
Sign inDemoInstall

svelte-check

Package Overview
Dependencies
Maintainers
3
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-check - npm Package Compare versions

Comparing version 3.6.9 to 3.7.0

27

dist/src/svelte-shims-v4.d.ts

@@ -8,4 +8,2 @@ // Whenever a ambient declaration changes, its number should be increased

type AConstructorTypeOf<T, U extends any[] = any[]> = new (...args: U) => T;
/** @internal PRIVATE API, DO NOT USE */
type SvelteComponentConstructor<T, U extends import('svelte').ComponentConstructorOptions<any>> = new (options: U) => T;

@@ -99,3 +97,3 @@ /** @internal PRIVATE API, DO NOT USE */

render: {props: Props, events: Events, slots: Slots }
): {props: Props, events: Events & {[evt: string]: CustomEvent<any>;}, slots: Slots }
): {props: Expand<Props>, events: Events & {[evt: string]: CustomEvent<any>;}, slots: Slots }

@@ -134,3 +132,3 @@ declare function __sveltets_2_store_get<T = any>(store: SvelteStore<T>): T

render: {props: Props, events: Events, slots: Slots }
): SvelteComponentConstructor<import("svelte").SvelteComponent<Props, Events, Slots>,import('svelte').ComponentConstructorOptions<Props>>;
): typeof import("svelte").SvelteComponent<Props, Events, Slots>;

@@ -236,1 +234,22 @@ declare function __sveltets_2_unwrapArr<T>(arr: ArrayLike<T>): T

declare function __sveltets_2_ensureArray<T extends ArrayLike<unknown> | Iterable<unknown>>(array: T): T extends ArrayLike<infer U> ? U[] : T extends Iterable<infer U> ? Iterable<U> : any[];
declare type __sveltets_2_Bindings<Props extends Record<string, any>, Bindings extends string> = {
[K in keyof Props]: K extends Bindings ?
// @ts-ignore not available in Svelte 4
import('svelte').Bindable<Props[K]> :
Props[K]
};
declare function __sveltets_2_binding<T>(prop: T):
// @ts-ignore not available in Svelte 4
import('svelte').Binding<T>;
type __sveltets_2_PropsWithChildren<Props, Slots> = Props &
(Slots extends { default: any }
// This is unfortunate because it means "accepts no props" turns into "accepts any prop"
// but the alternative is non-fixable type errors because of the way TypeScript index
// signatures work (they will always take precedence and make an impossible-to-satisfy children type).
? Props extends Record<string, never>
? any
: { children?: any }
: {});
declare function __sveltets_2_runes_constructor<Props extends {}, Events extends {}, Slots extends {}>(render: {props: Props, events: Events, slots: Slots }): import("svelte").ComponentConstructorOptions<__sveltets_2_PropsWithChildren<Props, Slots>>;

2

package.json
{
"name": "svelte-check",
"description": "Svelte Code Checker Terminal Interface",
"version": "3.6.9",
"version": "3.7.0",
"main": "./dist/src/index.js",

@@ -6,0 +6,0 @@ "bin": "./bin/svelte-check",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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