svelte2tsx
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -1,1 +0,1 @@ | ||
{"name":"svelte2tsx","version":"0.1.5","description":"Convert Svelte components to TSX for type checking","author":"David Pershouse","license":"MIT","keywords":["svelte","typescript"],"homepage":"https://github.com/halfnelson/svelte2tsx","repository":{"type":"git","url":"https://github.com/halfnelson/svelte2tsx.git"},"type":"commonjs","main":"index.js","types":"index.d.ts","devDependencies":{"@types/mocha":"^5.2.7","@types/node":"^8.10.53","@types/parse5":"^5.0.2","@types/unist":"^2.0.3","@types/vfile":"^3.0.2","magic-string":"^0.25.4","mocha":"^6.2.2","parse5":"^5.1.0","rollup":"^1.12.0","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-delete":"^1.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-typescript":"^1.0.1","source-map":"^0.6.1","source-map-support":"^0.5.16","svelte":"3.16.0","tiny-glob":"^0.2.6","tslib":"^1.10.0","typescript":"^3.6.4"},"peerDependencies":{"svelte":"^3.16","typescript":"^3.6"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha --opts mocha.opts","pretest":"rollup -c rollup.config.test.js","prepublishOnly":"npm run build"},"files":["index.mjs","index.js","index.d.ts","README.md","LICENSE","svelte-jsx.d.ts","svelte-shims.d.ts"]} | ||
{"name":"svelte2tsx","version":"0.1.6","description":"Convert Svelte components to TSX for type checking","author":"David Pershouse","license":"MIT","keywords":["svelte","typescript"],"homepage":"https://github.com/halfnelson/svelte2tsx","repository":{"type":"git","url":"https://github.com/halfnelson/svelte2tsx.git"},"type":"commonjs","main":"index.js","types":"index.d.ts","devDependencies":{"@types/mocha":"^5.2.7","@types/node":"^8.10.53","@types/parse5":"^5.0.2","@types/unist":"^2.0.3","@types/vfile":"^3.0.2","magic-string":"^0.25.4","mocha":"^6.2.2","parse5":"^5.1.0","rollup":"^1.12.0","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-delete":"^1.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-typescript":"^1.0.1","source-map":"^0.6.1","source-map-support":"^0.5.16","svelte":"3.16.0","tiny-glob":"^0.2.6","tslib":"^1.10.0","typescript":"^3.6.4"},"peerDependencies":{"svelte":"^3.16","typescript":"^3.6"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha --opts mocha.opts","pretest":"rollup -c rollup.config.test.js","prepublishOnly":"npm run build"},"files":["index.mjs","index.js","index.d.ts","README.md","LICENSE","svelte-jsx.d.ts","svelte-shims.d.ts"]} |
@@ -35,2 +35,3 @@ declare module '*.svelte' { | ||
type SvelteAllProps = { [index: string]: any } | ||
type SvelteRestProps = { [index: string]: any } | ||
type SvelteStore<T> = { subscribe: (run: (value:T) => any, invalidate?: any) => any } | ||
@@ -46,5 +47,7 @@ | ||
declare function __sveltets_instanceOf<T>(type: AConstructorTypeOf<T>): T; | ||
declare function __sveltets_allPropsType(): SvelteAllProps | ||
declare function __sveltets_restPropsType(): SvelteRestProps | ||
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=any>(store: SvelteStore<T>): T | ||
declare function __sveltets_any(dummy: any): any; | ||
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
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
924715
20330
0