@tldraw/tlschema
Advanced tools
Comparing version 3.8.0-canary.4703b6039d91 to 3.8.0-canary.490d299be619
@@ -19,4 +19,4 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
ArrowShapeArrowheadEndStyle: () => import_TLArrowShape.ArrowShapeArrowheadEndStyle, | ||
@@ -123,3 +123,3 @@ ArrowShapeArrowheadStartStyle: () => import_TLArrowShape.ArrowShapeArrowheadStartStyle, | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
var import_utils = require("@tldraw/utils"); | ||
@@ -174,5 +174,5 @@ var import_TLBaseAsset = require("./assets/TLBaseAsset"); | ||
"@tldraw/tlschema", | ||
"3.8.0-canary.4703b6039d91", | ||
"3.8.0-canary.490d299be619", | ||
"cjs" | ||
); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tldraw/tlschema", | ||
"description": "A tiny little drawing app (schema).", | ||
"version": "3.8.0-canary.4703b6039d91", | ||
"version": "3.8.0-canary.490d299be619", | ||
"author": { | ||
@@ -56,9 +56,10 @@ "name": "tldraw Inc.", | ||
"dependencies": { | ||
"@tldraw/state": "3.8.0-canary.4703b6039d91", | ||
"@tldraw/store": "3.8.0-canary.4703b6039d91", | ||
"@tldraw/utils": "3.8.0-canary.4703b6039d91", | ||
"@tldraw/validate": "3.8.0-canary.4703b6039d91" | ||
"@tldraw/state": "3.8.0-canary.490d299be619", | ||
"@tldraw/store": "3.8.0-canary.490d299be619", | ||
"@tldraw/utils": "3.8.0-canary.490d299be619", | ||
"@tldraw/validate": "3.8.0-canary.490d299be619" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0" | ||
"react": "^18.2.0 || ^19.0.0", | ||
"react-dom": "^18.2.0 || ^19.0.0" | ||
}, | ||
@@ -65,0 +66,0 @@ "module": "dist-esm/index.mjs", |
@@ -15,3 +15,3 @@ import { LANGUAGES } from './languages' | ||
export function getDefaultTranslationLocale(): TLLanguage['locale'] { | ||
const locales = typeof window !== 'undefined' ? window.navigator.languages ?? ['en'] : ['en'] | ||
const locales = typeof window !== 'undefined' ? (window.navigator.languages ?? ['en']) : ['en'] | ||
return _getDefaultTranslationLocale(locales) | ||
@@ -18,0 +18,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
1122382
6
+ Added@tldraw/state@3.8.0-canary.490d299be619(transitive)
+ Added@tldraw/store@3.8.0-canary.490d299be619(transitive)
+ Added@tldraw/utils@3.8.0-canary.490d299be619(transitive)
+ Added@tldraw/validate@3.8.0-canary.490d299be619(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedreact-dom@19.0.0(transitive)
+ Addedscheduler@0.25.0(transitive)
- Removed@tldraw/state@3.8.0-canary.4703b6039d91(transitive)
- Removed@tldraw/store@3.8.0-canary.4703b6039d91(transitive)
- Removed@tldraw/utils@3.8.0-canary.4703b6039d91(transitive)
- Removed@tldraw/validate@3.8.0-canary.4703b6039d91(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.3.1(transitive)