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.99 to 0.1.100

2

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

@@ -5,0 +5,0 @@ "author": "David Pershouse",

@@ -251,11 +251,14 @@ /**

// Doesn't work when used as HTML attribute
/**
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
*/
innerhtml?: string;
innerHTML?: string;
// Doesn't work when used as HTML attribute
/**
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
*/
textcontent?: string;
textContent?: string;
contextmenu?: string;

@@ -362,2 +365,5 @@ controls?: boolean;

value?: string | string[] | number;
/**
* a value between 0 and 1
*/
volume?: number;

@@ -718,5 +724,42 @@ width?: number | string;

interface SapperAnchorProps {
// transformed from sapper:noscroll so it should be camel case
sapperNoscroll?: true;
}
interface SvelteMediaTimeRange {
start: number;
end: number;
}
interface SvelteMediaProps {
readonly duration?: number;
readonly buffered?: SvelteMediaTimeRange[];
readonly played?: SvelteMediaTimeRange[];
readonly seekable?: SvelteMediaTimeRange[];
readonly seeking?: boolean;
readonly ended?: boolean;
/**
* the current playback time in the video, in seconds
*/
currentTime?: number;
/**
* the current playback time in the video, in seconds
*/
currenttime?: number;
// Doesn't work when used as HTML Attribute
/**
* how fast or slow to play the video, where 1 is 'normal'
*/
playbackRate?: number;
paused?: boolean;
}
interface SvelteVideoProps extends SvelteMediaProps {
// Binding only, don't need lowercase variant
readonly videoWidth?: number;
readonly videoHeight?: number;
}
interface IntrinsicElements {

@@ -730,3 +773,3 @@ // HTML

aside: HTMLProps<HTMLElement>;
audio: HTMLProps<HTMLAudioElement>;
audio: HTMLProps<HTMLAudioElement> & SvelteMediaProps;
b: HTMLProps<HTMLElement>;

@@ -837,3 +880,3 @@ base: HTMLProps<HTMLBaseElement>;

var: HTMLProps<HTMLElement>;
video: HTMLProps<HTMLVideoElement>;
video: HTMLProps<HTMLVideoElement> & SvelteVideoProps;
wbr: HTMLProps<HTMLElement>;

@@ -840,0 +883,0 @@

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