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

@tldraw/utils

Package Overview
Dependencies
Maintainers
4
Versions
2217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tldraw/utils - npm Package Compare versions

Comparing version 2.0.0-canary.bd17a4e8 to 2.0.0-canary.c2490e5de

29

CHANGELOG.md

@@ -0,1 +1,30 @@

# 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))
- make sure error annotations can't throw [#1550](https://github.com/tldraw/tldraw-lite/pull/1550) ([@SomeHats](https://github.com/SomeHats))
- Fix an error with importing certain files. [#1547](https://github.com/tldraw/tldraw-lite/pull/1547) ([@MitjaBezensek](https://github.com/MitjaBezensek))
- 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))
- [improvement] docs / api cleanup [#1491](https://github.com/tldraw/tldraw-lite/pull/1491) ([@steveruizok](https://github.com/steveruizok))
- 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] bump for alpha 8 [#1485](https://github.com/tldraw/tldraw-lite/pull/1485) ([@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))
- repo cleanup [#1426](https://github.com/tldraw/tldraw-lite/pull/1426) ([@steveruizok](https://github.com/steveruizok))
- Vscode extension [#1253](https://github.com/tldraw/tldraw-lite/pull/1253) ([@steveruizok](https://github.com/steveruizok) [@MitjaBezensek](https://github.com/MitjaBezensek) [@orangemug](https://github.com/orangemug))
#### Authors: 5
- alex ([@SomeHats](https://github.com/SomeHats))
- David Sheldrick ([@ds300](https://github.com/ds300))
- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek))
- Orange Mug ([@orangemug](https://github.com/orangemug))
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
---
# @tldraw/utils

@@ -2,0 +31,0 @@

2

dist-cjs/index.d.ts

@@ -1,2 +0,2 @@

/* Excluded from this release type: _annotateError */
/* Excluded from this release type: annotateError */

@@ -3,0 +3,0 @@ /* Excluded from this release type: assert */

@@ -21,3 +21,3 @@ "use strict";

__export(error_exports, {
_annotateError: () => _annotateError,
annotateError: () => annotateError,
getErrorAnnotations: () => getErrorAnnotations

@@ -27,3 +27,3 @@ });

const annotationsByError = /* @__PURE__ */ new WeakMap();
function _annotateError(error, annotations) {
function annotateError(error, annotations) {
if (typeof error !== "object" || error === null)

@@ -30,0 +30,0 @@ return;

{
"name": "@tldraw/utils",
"description": "A tiny little drawing app (private utilities).",
"version": "2.0.0-canary.bd17a4e8",
"version": "2.0.0-canary.c2490e5de",
"author": {

@@ -36,6 +36,5 @@ "name": "tldraw GB Ltd.",

"test:coverage": "yarn run -T jest --coverage",
"typecheck": "yarn run -T tsc --build",
"build:types": "yarn run -T tsx ../../scripts/build-types.ts",
"build": "echo 'build should be run by turbo'",
"build:package": "yarn run -T tsx ../../scripts/build-package.ts",
"build:types": "yarn run -T tsx ../../scripts/build-types.ts",
"build:api": "yarn run -T tsx ../../scripts/build-api.ts",

@@ -42,0 +41,0 @@ "prepack": "yarn run -T tsx ../../scripts/prepack.ts",

@@ -13,3 +13,3 @@ type ErrorAnnotations = {

*/
export function _annotateError(error: unknown, annotations: Partial<ErrorAnnotations>) {
export function annotateError(error: unknown, annotations: Partial<ErrorAnnotations>) {
if (typeof error !== 'object' || error === null) return

@@ -16,0 +16,0 @@

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

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