@tldraw/tlstore
Advanced tools
Comparing version 2.0.0-canary.6ec35e09e to 2.0.0-canary.7b9d08c7
# @tldraw/tlstore | ||
## 2.0.0-alpha.9 | ||
### Patch Changes | ||
- Release day! | ||
- Updated dependencies | ||
- @tldraw/utils@2.0.0-alpha.8 | ||
## 2.0.0-alpha.8 | ||
@@ -4,0 +12,0 @@ |
@@ -34,3 +34,3 @@ "use strict"; | ||
return false; | ||
if ("gt" in matcher && typeof value === "number" && value <= matcher.gt) | ||
if ("gt" in matcher && value <= matcher.gt) | ||
return false; | ||
@@ -37,0 +37,0 @@ } |
@@ -272,2 +272,11 @@ "use strict"; | ||
/** | ||
* Get the value of a store record by its id without updating its epoch. | ||
* | ||
* @param id - The id of the record to get. | ||
* @public | ||
*/ | ||
unsafeGetWithoutCapture = (id) => { | ||
return this.atoms.value[id]?.__unsafe__getWithoutCapture(); | ||
}; | ||
/** | ||
* Opposite of `deserialize`. Creates a JSON payload from the record store. | ||
@@ -274,0 +283,0 @@ * |
{ | ||
"name": "@tldraw/tlstore", | ||
"description": "A tiny little drawing app (store).", | ||
"version": "2.0.0-canary.6ec35e09e", | ||
"version": "2.0.0-canary.7b9d08c7", | ||
"author": { | ||
@@ -28,4 +28,6 @@ "name": "tldraw GB Ltd.", | ||
"main": "dist/cjs/index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"dist/**/*" | ||
"dist/**/*", | ||
"index.d.ts" | ||
], | ||
@@ -42,3 +44,3 @@ "scripts": { | ||
"dependencies": { | ||
"@tldraw/utils": "2.0.0-canary.6ec35e09e", | ||
"@tldraw/utils": "2.0.0-canary.7b9d08c7", | ||
"lodash.isequal": "^4.5.0", | ||
@@ -67,11 +69,4 @@ "nanoid": "^3.0.0" | ||
}, | ||
"module": "dist/esm/index.mjs", | ||
"source": "src/index.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.mjs", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
"./*.css": "./*.css" | ||
} | ||
"module": "dist/esm/index.js", | ||
"source": "src/index.ts" | ||
} |
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
74
4955
401158
1
+ Added@tldraw/utils@2.0.0-canary.7b9d08c7(transitive)
- Removed@tldraw/utils@2.0.0-canary.6ec35e09e(transitive)