Socket
Socket
Sign inDemoInstall

@anywidget/deno

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anywidget/deno - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

CHANGELOG.md
# @anywidget/deno
## 0.1.2
### Patch Changes
- Prefer interface over type for WidgetOptions ([#498](https://github.com/manzt/anywidget/pull/498))
## 0.1.1

@@ -4,0 +10,0 @@

3

deno.json

@@ -32,3 +32,6 @@ {

"zod": "npm:zod@3.9"
},
"publish": {
"exclude": ["npm.README.md"]
}
}

2

package.json
{
"name": "@anywidget/deno",
"version": "0.1.1",
"version": "0.1.2",
"description": "A stub-package for making releases of the Deno anywidget mod.ts with changesets",

@@ -5,0 +5,0 @@ "scripts": {

@@ -8,2 +8,2 @@ # @anywidet/deno

Please see [`jsr:@anywidget/deno`])(https://jsr.io/@anywidget/deno).
Please see [`jsr:@anywidget/deno`](https://jsr.io/@anywidget/deno).

@@ -225,4 +225,6 @@ /**

type Awaitable<T> = T | Promise<T>;
/** The options bag to pass to the {@link widget} method. */
export type WidgetOptions<State> = {
export interface WidgetOptions<State> {
/** The initial widget state. */

@@ -234,3 +236,3 @@ state: State;

el: HTMLElement;
}) => unknown;
}) => Awaitable<(() => Awaitable<void>) | undefined>;
/** The imports required for the front-end function. */

@@ -240,3 +242,3 @@ imports?: string;

version?: string;
};
}

@@ -243,0 +245,0 @@ /**

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