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

sveld

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveld - npm Package Versions

1
46

0.7.0

Diff

Changelog

Source

0.7.0 - 2021-02-06

  • add a glob option to resolve Svelte files from entry file exports using fast-glob (default is false)
metonym
published 0.6.1 •

Changelog

Source

0.6.1 - 2021-01-09

  • use parsed exports to determine module name, Svelte source file path
metonym
published 0.6.0 •

Changelog

Source

0.6.0 - 2021-01-09

  • use acorn to parse/create TypeScript exports
  • use fast-glob to collect all *.svelte files from the Svelte source folder specified in package.json#svelte
  • format TS definitions using a prettier printWidth of 80 instead of 120

Breaking Changes

  • filePath in generated JSON output is relative instead of absolute (normalized using path.normalize)
metonym
published 0.5.0 •

Changelog

Source

0.5.0 - 2020-12-05

  • generate TypeScript definitions to use SvelteComponentTyped interface instead of SvelteComponent

Breaking Changes

  • Svelte version >=3.31 is required to use generated TypeScript definitions
metonym
published 0.4.2 •

Changelog

Source

0.4.2 - 2020-11-25

Fixes

  • account for : when clamping object keys
metonym
published 0.4.1 •

Changelog

Source

0.4.1 - 2020-11-25

Fixes

  • clamp slot/event keys in TypeScript definitions
metonym
published 0.4.0 •

Changelog

Source

0.4.1 - 2020-11-25

  • output format for TypeScript definitions extends SvelteComponent instead of stubbing class internals used by the Svelte Language Server

Breaking Changes

  • Svelte version >=3.30 is required to use generated TypeScript definitions
metonym
published 0.3.0 •

Changelog

Source

0.3.0 - 2020-11-25

  • export component typedefs in TypeScript definitions
metonym
published 0.2.1 •

Changelog

Source

0.2.1 - 2020-11-19

  • extend interface for empty props use case
metonym
published 0.2.0 •

Changelog

Source

0.2.0 - 2020-11-19

  • support @extends tag to extend imported component prop interfaces
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