svelte2tsx
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "svelte2tsx", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -13,4 +13,4 @@ "author": "David Pershouse", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/halfnelson/svelte2tsx.git" | ||
"type": "git", | ||
"url": "https://github.com/halfnelson/svelte2tsx.git" | ||
}, | ||
@@ -36,3 +36,3 @@ "type": "commonjs", | ||
"source-map-support": "^0.5.16", | ||
"svelte": "^3.14.1", | ||
"svelte": "^3.16.0", | ||
"tiny-glob": "^0.2.6", | ||
@@ -43,3 +43,3 @@ "tslib": "^1.10.0", | ||
"peerDependencies": { | ||
"svelte": "^3.14.1", | ||
"svelte": "^3.16.0", | ||
"typescript": "^3.6.4" | ||
@@ -54,3 +54,11 @@ }, | ||
}, | ||
"files": ["index.mjs", "index.js", "index.d.ts", "README.md", "svelte-jsx.d.ts", "svelte-shims.d.ts"] | ||
"files": [ | ||
"index.mjs", | ||
"index.js", | ||
"index.d.ts", | ||
"README.md", | ||
"LICENSE", | ||
"svelte-jsx.d.ts", | ||
"svelte-shims.d.ts" | ||
] | ||
} |
@@ -32,20 +32,15 @@ declare module '*.svelte' { | ||
type SvelteAllProps = { [index: string]: any } | ||
type SvelteStore<T> = { subscribe: (run: (value:T) => any, invalidate?: any) => any } | ||
type SvelteStore<T> = { subscribe: (value:T) => any } | ||
declare var process: NodeJS.Process & { browser: boolean } | ||
declare function __sveltets_ensureAnimation<U extends any[]>(animation: SvelteAnimation<U>, ...args: U): any[]; | ||
declare function __sveltets_ensureAction<U extends any[]>(action: SvelteAction<U>, ...args: U): any[]; | ||
declare function __sveltets_ensureTransition<U extends any[]>(transition: SvelteTransition<U>, ...args: U): any[]; | ||
declare function __sveltets_ensureFunction(expression: (e: Event) => unknown ):any[]; | ||
declare function __sveltets_ensureType<T>(type: AConstructorTypeOf<T>, el: T): any[]; | ||
declare function __sveltets_ensureAnimation<U extends any[]>(animation: SvelteAnimation<U>, ...args: U): any; | ||
declare function __sveltets_ensureAction<U extends any[]>(action: SvelteAction<U>, ...args: U): any; | ||
declare function __sveltets_ensureTransition<U extends any[]>(transition: SvelteTransition<U>, ...args: U): any; | ||
declare function __sveltets_ensureFunction(expression: (e: Event) => unknown ):any; | ||
declare function __sveltets_ensureType<T>(type: AConstructorTypeOf<T>, el: T): any; | ||
declare function __sveltets_instanceOf<T>(type: AConstructorTypeOf<T>): T; | ||
declare function __sveltets_partial<T>(obj: T): Partial<T>; | ||
declare function __sveltets_partial_with_any<T>(obj: T): Partial<T> & SvelteAllProps | ||
declare function __sveltets_store_get<T>(store: SvelteStore<T>): T | ||
declare function __sveltets_store_get<T=any>(store: SvelteStore<T>): T | ||
declare function __sveltets_any(dummy: any): any; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Obfuscated code
Supply chain riskObfuscated files are intentionally packed to hide their behavior. This could be a sign of malware.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
928668
8
20403
1
2