@preact/signals-core
Advanced tools
Comparing version 1.5.0 to 1.5.1
# @preact/signals-core | ||
## 1.5.1 | ||
### Patch Changes | ||
- [#451](https://github.com/preactjs/signals/pull/451) [`990f1eb`](https://github.com/preactjs/signals/commit/990f1eb36fa4ab5e30029f79ceeccf709137d14d) Thanks [@dcporter](https://github.com/dcporter)! - Removes backward-incompatible type export from signals core. | ||
## 1.5.0 | ||
@@ -4,0 +10,0 @@ |
@@ -22,2 +22,2 @@ declare const identifier: unique symbol; | ||
declare function effect(compute: () => unknown | EffectCleanup): () => void; | ||
export { signal, computed, effect, batch, Signal, type ReadonlySignal, untracked, }; | ||
export { signal, computed, effect, batch, Signal, ReadonlySignal, untracked, }; |
{ | ||
"name": "@preact/signals-core", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"license": "MIT", | ||
@@ -36,3 +36,10 @@ "description": "Manage state with style in every framework", | ||
"mangle": "../../mangle.json", | ||
"files": [ | ||
"src", | ||
"dist", | ||
"CHANGELOG.md", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
"scripts": {} | ||
} |
@@ -36,2 +36,3 @@ # Signals | ||
- [Hooks](./packages/react/README.md#hooks) | ||
- [Rendering optimizations](./packages/react/README.md#rendering-optimizations) | ||
- [License](#license) | ||
@@ -38,0 +39,0 @@ |
@@ -8,3 +8,3 @@ function cycleDetected(): never { | ||
const identifier = Symbol.for('preact-signals') | ||
const identifier = Symbol.for("preact-signals"); | ||
@@ -263,3 +263,3 @@ // Flags for Computed and Effect. | ||
Signal.prototype.brand = identifier | ||
Signal.prototype.brand = identifier; | ||
@@ -786,4 +786,4 @@ Signal.prototype._refresh = function () { | ||
Signal, | ||
type ReadonlySignal, | ||
ReadonlySignal, | ||
untracked, | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
226
170595
14
765
1