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 2.4.6 to 2.5.0

11

dist/src/svelte-shims.d.ts

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

declare function __sveltets_1_ensureFunction(expression: (e: Event & { detail?: any }) => unknown ): {};
declare function __sveltets_1_ensureType<T>(type: AConstructorTypeOf<T>, el: T): {};
declare function __sveltets_1_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2): {};
// Includes undefined and null for all types as all usages also allow these
declare function __sveltets_1_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {};
declare function __sveltets_1_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {};
declare function __sveltets_1_createEnsureSlot<Slots = Record<string, Record<string, any>>>(): <K1 extends keyof Slots, K2 extends keyof Slots[K1]>(k1: K1, k2: K2, val: Slots[K1][K2]) => Slots[K1][K2];

@@ -257,4 +259,5 @@ declare function __sveltets_1_ensureRightProps<Props>(props: Props): {};

declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T): {};
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2): {};
// Includes undefined and null for all types as all usages also allow these
declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {};
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {};

@@ -261,0 +264,0 @@ // The following is necessary because there are two clashing errors that can't be solved at the same time

{
"name": "svelte-check",
"description": "Svelte Code Checker Terminal Interface",
"version": "2.4.6",
"version": "2.5.0",
"main": "./dist/src/index.js",

@@ -26,3 +26,2 @@ "bin": "./bin/svelte-check",

"import-fresh": "^3.2.1",
"minimist": "^1.2.5",
"sade": "^1.7.4",

@@ -48,3 +47,2 @@ "source-map": "^0.7.3",

"@tsconfig/node12": "^1.0.0",
"@types/minimist": "^1.2.0",
"@types/sade": "^1.7.2",

@@ -51,0 +49,0 @@ "rollup": "2.52.7",

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