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
2151
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.bbc0d0e8 to 2.0.0-canary.bd17a4e8

src/index.ts

2

dist-cjs/index.d.ts

@@ -171,2 +171,4 @@ /* Excluded from this release type: _annotateError */

/* Excluded from this release type: partition */
/* Excluded from this release type: promiseWithResolve */

@@ -173,0 +175,0 @@

@@ -25,2 +25,3 @@ "use strict";

minBy: () => minBy,
partition: () => partition,
rotateArray: () => rotateArray

@@ -63,2 +64,14 @@ });

}
function partition(arr, predicate) {
const satisfies = [];
const doesNotSatisfy = [];
for (const item of arr) {
if (predicate(item)) {
satisfies.push(item);
} else {
doesNotSatisfy.push(item);
}
}
return [satisfies, doesNotSatisfy];
}
//# sourceMappingURL=array.js.map

7

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

@@ -29,4 +29,5 @@ "name": "tldraw GB Ltd.",

"files": [
"dist-esm/**/*",
"dist-cjs/**/*"
"dist-esm",
"dist-cjs",
"src"
],

@@ -33,0 +34,0 @@ "scripts": {

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