@tldraw/utils
Advanced tools
Comparing version 3.8.0-canary.ff19d0d907b9 to 3.8.0-internal.6de9eab7a026
@@ -29,4 +29,4 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
DEFAULT_SUPPORTED_IMAGE_TYPES: () => import_media.DEFAULT_SUPPORTED_IMAGE_TYPES, | ||
@@ -125,3 +125,3 @@ DEFAULT_SUPPORTED_MEDIA_TYPE_LIST: () => import_media.DEFAULT_SUPPORTED_MEDIA_TYPE_LIST, | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
var import_version = require("./lib/version"); | ||
@@ -162,5 +162,5 @@ var import_lodash = __toESM(require("lodash.throttle")); | ||
"@tldraw/utils", | ||
"3.8.0-canary.ff19d0d907b9", | ||
"3.8.0-internal.6de9eab7a026", | ||
"cjs" | ||
); | ||
//# sourceMappingURL=index.js.map |
@@ -57,2 +57,6 @@ "use strict"; | ||
switch (view[offset]) { | ||
// Image descriptor block. According to specification there could be any | ||
// number of these blocks (even zero). When there is more than one image | ||
// descriptor browsers will display animation (they shouldn't when there | ||
// is no delays defined, but they do it anyway). | ||
case 44: | ||
@@ -66,2 +70,4 @@ imagesCount += 1; | ||
break; | ||
// Skip all extension blocks. In theory this "plain text extension" blocks | ||
// could be frames of animation, but no browser renders them. | ||
case 33: | ||
@@ -71,5 +77,8 @@ offset += 2; | ||
break; | ||
// Stop processing on trailer block, | ||
// all data after this point will is ignored by decoders | ||
case 59: | ||
offset = view.length; | ||
break; | ||
// Oops! This GIF seems to be invalid | ||
default: | ||
@@ -76,0 +85,0 @@ offset = view.length; |
{ | ||
"name": "@tldraw/utils", | ||
"description": "A tiny little drawing app (private utilities).", | ||
"version": "3.8.0-canary.ff19d0d907b9", | ||
"version": "3.8.0-internal.6de9eab7a026", | ||
"author": { | ||
@@ -59,5 +59,5 @@ "name": "tldraw Inc.", | ||
"devDependencies": { | ||
"@types/lodash.throttle": "^4.1.7", | ||
"@types/lodash.uniq": "^4.5.7", | ||
"jest-environment-jsdom": "^29.4.3", | ||
"@types/lodash.throttle": "^4.1.9", | ||
"@types/lodash.uniq": "^4.5.9", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lazyrepo": "0.0.0-alpha.27" | ||
@@ -64,0 +64,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
533762
7986