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

svelte2tsx

Package Overview
Dependencies
Maintainers
1
Versions
299
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.79 to 0.1.80

4

package.json
{
"name": "svelte2tsx",
"version": "0.1.79",
"version": "0.1.80",
"description": "Convert Svelte components to TSX for type checking",

@@ -22,3 +22,2 @@ "author": "David Pershouse",

"@types/node": "^8.10.53",
"@types/parse5": "^5.0.2",
"@types/unist": "^2.0.3",

@@ -28,3 +27,2 @@ "@types/vfile": "^3.0.2",

"mocha": "^6.2.2",
"parse5": "^5.1.0",
"rollup": "^1.12.0",

@@ -31,0 +29,0 @@ "rollup-plugin-commonjs": "^10.0.0",

@@ -229,2 +229,3 @@ /**

action?: string;
allow?: string;
allowfullscreen?: boolean;

@@ -231,0 +232,0 @@ allowtransparency?: boolean;

@@ -8,4 +8,3 @@ declare module '*.svelte' {

Events extends {} = {},
Slots extends {} = {},
StrictEvents extends boolean = true
Slots extends {} = {}
> {

@@ -52,7 +51,2 @@ // svelte2tsx-specific

/**
* Causes the callback function to be called whenever the component dispatches an event.
* A function is returned that will remove the event listener when called.
*/
$on(event: StrictEvents extends true ? never : string, handler: (e: CustomEvent) => any): void;
/**
* Removes a component from the DOM and triggers any `onDestroy` handlers.

@@ -126,3 +120,3 @@ */

declare function __sveltets_empty(dummy: any): {};
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any, false>>
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any>>
declare function __sveltets_invalidate<T>(getValue: () => T): T

@@ -174,2 +168,2 @@

render: () => {props?: Props, events?: Events, slots?: Slots }
): AConstructorTypeOf<Svelte2TsxComponent<Props, Events, Slots, false>>;
): AConstructorTypeOf<Svelte2TsxComponent<Props, Events & {[evt: string]: CustomEvent<any>;}, Slots>>;

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

Sorry, the diff of this file is not supported yet

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