silverwind

Results 266 issues of silverwind

Use case: Show toast with a duration but stop the hide timeout when the user mouses into the toast element. In my `onMouseEnter`, I call `update({duration: 0})` which ends up...

Would be nice if this module would publish some, should be pretty trivial to add.

The black favicon is almost unreadable with a dark browser theme: Suggestion would be to either chose a grey shade in the middle of the lightness spectrum or use a...

enhancement

Typescript error count is reduced from 633 to 540 with this. No runtime changes except in test code.

lgtm/need 1
type/refactoring
size/L

When doing a `rm -rf node_modules && npm i` inside a project, new error annotations will show because `typescript` from `node_modules` is temporarily not available. When this happens, LSP-typescript seems...

The ACME protocol supports multiple `contact` values, but acme.sh is currently limited to a single value: ```bash "contact": ["mailto: '$ACCOUNT_EMAIL'"] ``` It would be useful to support multiple contacts, and...

enhancement

```js const obj = {filter: () => {}}; obj.filter([].join()); // error: Do not pass a function reference directly to an iterator method ``` `.filter` is not an iterator here. I...

bug
help wanted
types

Could/Does this module provide type definitions?. It looks like type checkers like pyright can not find any types:

Browsers convert the argument to these to string, so happy-dom should do too. https://developer.mozilla.org/en-US/docs/Web/API/Location/assign https://developer.mozilla.org/en-US/docs/Web/API/Location/replace https://github.com/microsoft/TypeScript/blob/e6ef279403d86440600c866d53839a3e695220d3/src/lib/dom.generated.d.ts#L15107 https://github.com/microsoft/TypeScript/blob/e6ef279403d86440600c866d53839a3e695220d3/src/lib/dom.generated.d.ts#L15119

bug

Fixes: https://github.com/capricorn86/happy-dom/issues/1568