New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tldraw/tlstore

Package Overview
Dependencies
Maintainers
4
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tldraw/tlstore - npm Package Compare versions

Comparing version 2.0.0-canary.ee58578a to 2.0.0-canary.f1e9981aae1d

dist-cjs/index.d.ts

32

CHANGELOG.md

@@ -0,1 +1,33 @@

# v2.0.0-alpha.12 (Mon Apr 03 2023)
#### 🐛 Bug Fix
- Make sure all types and build stuff get run in CI [#1548](https://github.com/tldraw/tldraw-lite/pull/1548) ([@SomeHats](https://github.com/SomeHats))
- add pre-commit api report generation [#1517](https://github.com/tldraw/tldraw-lite/pull/1517) ([@SomeHats](https://github.com/SomeHats))
- [chore] restore api extractor [#1500](https://github.com/tldraw/tldraw-lite/pull/1500) ([@steveruizok](https://github.com/steveruizok))
- Asset loading overhaul [#1457](https://github.com/tldraw/tldraw-lite/pull/1457) ([@SomeHats](https://github.com/SomeHats))
- David/publish good [#1488](https://github.com/tldraw/tldraw-lite/pull/1488) ([@ds300](https://github.com/ds300))
- [chore] alpha 10 [#1486](https://github.com/tldraw/tldraw-lite/pull/1486) ([@ds300](https://github.com/ds300))
- [chore] package build improvements [#1484](https://github.com/tldraw/tldraw-lite/pull/1484) ([@ds300](https://github.com/ds300))
- [chore] bump for alpha 8 [#1485](https://github.com/tldraw/tldraw-lite/pull/1485) ([@steveruizok](https://github.com/steveruizok))
- [fix] page point offset [#1483](https://github.com/tldraw/tldraw-lite/pull/1483) ([@steveruizok](https://github.com/steveruizok))
- stop using broken-af turbo for publishing [#1476](https://github.com/tldraw/tldraw-lite/pull/1476) ([@ds300](https://github.com/ds300))
- [chore] add canary release script [#1423](https://github.com/tldraw/tldraw-lite/pull/1423) ([@ds300](https://github.com/ds300) [@steveruizok](https://github.com/steveruizok))
- [chore] upgrade yarn [#1430](https://github.com/tldraw/tldraw-lite/pull/1430) ([@ds300](https://github.com/ds300))
- flush store on attach [#1449](https://github.com/tldraw/tldraw-lite/pull/1449) ([@ds300](https://github.com/ds300))
- [fix] dev version number for tldraw/tldraw [#1434](https://github.com/tldraw/tldraw-lite/pull/1434) ([@steveruizok](https://github.com/steveruizok))
- repo cleanup [#1426](https://github.com/tldraw/tldraw-lite/pull/1426) ([@steveruizok](https://github.com/steveruizok))
- [fix] use polyfill for `structuredClone` [#1408](https://github.com/tldraw/tldraw-lite/pull/1408) ([@TodePond](https://github.com/TodePond) [@steveruizok](https://github.com/steveruizok))
- Run all the tests. Fix linting for tests. [#1389](https://github.com/tldraw/tldraw-lite/pull/1389) ([@MitjaBezensek](https://github.com/MitjaBezensek))
#### Authors: 5
- alex ([@SomeHats](https://github.com/SomeHats))
- David Sheldrick ([@ds300](https://github.com/ds300))
- Lu[ke] Wilson ([@TodePond](https://github.com/TodePond))
- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek))
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
---
# @tldraw/tlstore

@@ -2,0 +34,0 @@

31

dist-cjs/index.js

@@ -6,2 +6,6 @@ "use strict";

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {

@@ -15,7 +19,30 @@ if (from && typeof from === "object" || typeof from === "function") {

};
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var src_exports = {};
__export(src_exports, {
IncrementalSetConstructor: () => import_IncrementalSetConstructor.IncrementalSetConstructor,
MigrationFailureReason: () => import_migrate.MigrationFailureReason,
RecordType: () => import_RecordType.RecordType,
Store: () => import_Store.Store,
StoreSchema: () => import_StoreSchema.StoreSchema,
assertIdType: () => import_RecordType.assertIdType,
compareRecordVersions: () => import_migrate.compareRecordVersions,
compareSchemas: () => import_compareSchemas.compareSchemas,
createRecordType: () => import_RecordType.createRecordType,
defineMigrations: () => import_migrate.defineMigrations,
devFreeze: () => import_devFreeze.devFreeze,
getRecordVersion: () => import_migrate.getRecordVersion,
migrate: () => import_migrate.migrate,
migrateRecord: () => import_migrate.migrateRecord,
reverseRecordsDiff: () => import_Store.reverseRecordsDiff,
squashRecordDiffs: () => import_Store.squashRecordDiffs
});
module.exports = __toCommonJS(src_exports);
__reExport(src_exports, require("./lib"), module.exports);
var import_IncrementalSetConstructor = require("./lib/IncrementalSetConstructor");
var import_RecordType = require("./lib/RecordType");
var import_Store = require("./lib/Store");
var import_StoreSchema = require("./lib/StoreSchema");
var import_compareSchemas = require("./lib/compareSchemas");
var import_devFreeze = require("./lib/devFreeze");
var import_migrate = require("./lib/migrate");
//# sourceMappingURL=index.js.map

19

package.json
{
"name": "@tldraw/tlstore",
"description": "A tiny little drawing app (store).",
"version": "2.0.0-canary.ee58578a",
"version": "2.0.0-canary.f1e9981aae1d",
"packageManager": "yarn@3.5.0",
"author": {

@@ -29,17 +30,20 @@ "name": "tldraw GB Ltd.",

"files": [
"dist/**/*"
"dist-esm",
"dist-cjs",
"src"
],
"scripts": {
"test": "yarn run -T jest",
"test:coverage": "yarn run -T jest --coverage",
"typecheck": "yarn run -T tsc --build",
"test": "lazy inherit",
"test-coverage": "lazy inherit",
"build": "yarn run -T tsx ../../scripts/build-package.ts",
"build-api": "yarn run -T tsx ../../scripts/build-api.ts",
"prepack": "yarn run -T tsx ../../scripts/prepack.ts",
"postpack": "../../scripts/postpack.sh",
"pack-tarball": "yarn pack",
"lint": "yarn run -T tsx ../../scripts/lint.ts"
},
"dependencies": {
"@tldraw/utils": "2.0.0-canary.ee58578a",
"@tldraw/utils": "2.0.0-canary.f1e9981aae1d",
"lodash.isequal": "^4.5.0",
"nanoid": "^3.0.0"
"nanoid": "4.0.2"
},

@@ -52,2 +56,3 @@ "peerDependencies": {

"@types/lodash.isequal": "^4.5.6",
"lazyrepo": "0.0.0-alpha.26",
"raf": "^3.4.1"

@@ -54,0 +59,0 @@ },

@@ -7,3 +7,3 @@ # @tldraw/tlstore

`tlstore` is used by [tldraw](https://tldraw.com) to store its data.
`tlstore` is used by [tldraw](https://www.tldraw.com) to store its data.

@@ -352,1 +352,5 @@ It is designed to be used with `tlstate` (@tldraw/tlstate).

A diff describing the changes to a collection.
## License
The source code in this repository (as well as our 2.0+ distributions and releases) are currently licensed under Apache-2.0. These licenses are subject to change in our upcoming 2.0 release. If you are planning to use tldraw in a commercial product, please reach out at [hello@tldraw.com](mailto://hello@tldraw.com).

Sorry, the diff of this file is not supported yet

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