Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tldraw/utils

Package Overview
Dependencies
Maintainers
4
Versions
2099
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 3.5.1 to 3.6.0-canary.028ccd42781b

11

dist-cjs/index.d.ts

@@ -324,2 +324,13 @@ import { default as throttle } from 'lodash.throttle';

/** @public */
export declare type MakeUndefinedOptional<T extends object> = Expand<{
[P in {
[K in keyof T]: undefined extends T[K] ? never : K;
}[keyof T]]: T[P];
} & {
[P in {
[K in keyof T]: undefined extends T[K] ? K : never;
}[keyof T]]?: T[P];
}>;
/* Excluded from this release type: mapObjectMapValues */

@@ -326,0 +337,0 @@

2

dist-cjs/index.js

@@ -155,5 +155,5 @@ "use strict";

"@tldraw/utils",
"3.5.1",
"3.6.0-canary.028ccd42781b",
"cjs"
);
//# sourceMappingURL=index.js.map
{
"name": "@tldraw/utils",
"description": "A tiny little drawing app (private utilities).",
"version": "3.5.1",
"version": "3.6.0-canary.028ccd42781b",
"author": {

@@ -6,0 +6,0 @@ "name": "tldraw Inc.",

@@ -84,3 +84,8 @@ import { registerTldrawLibraryVersion } from './lib/version'

export { Timers } from './lib/timers'
export type { Expand, RecursivePartial, Required } from './lib/types'
export {
type Expand,
type MakeUndefinedOptional,
type RecursivePartial,
type Required,
} from './lib/types'
export { safeParseUrl } from './lib/url'

@@ -87,0 +92,0 @@ export {

@@ -11,1 +11,10 @@ /** @public */

export type Required<T, K extends keyof T> = Expand<Omit<T, K> & { [P in K]-?: T[P] }>
/** @public */
export type MakeUndefinedOptional<T extends object> = Expand<
{
[P in { [K in keyof T]: undefined extends T[K] ? never : K }[keyof T]]: T[P]
} & {
[P in { [K in keyof T]: undefined extends T[K] ? K : never }[keyof T]]?: T[P]
}
>

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

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