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

svelte2tsx

Package Overview
Dependencies
Maintainers
1
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte2tsx - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

LICENSE

20

package.json
{
"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

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