Comments (3)
This library works in safari, tested at version 15 but it should work since 14:
If you have a specific error to report, please post details of the environment you're running in and the setup you have, along with some error output, that would be more helpful. Cheers.
from cborg.
OK, minimal but that does kind of help, it's hitting BigInt("18446744073709551616")
specifically from there.
But, you're doing this on Safari 13.x, which hasn't been updated in 2 years. Is there are reason you need this version supported (i.e. is there a reason I should care about it here since macOS and iOS tends to have a fairly solid upgrade cycle, bringing most users along within a year or so)? Is there some user community out there's that's stuck on 13 and can't / won't upgrade and need this to work? I might be able to encounter this problem on one of my kids' ancient iPads, but how much does that matter since it's quickly becoming useless thanks to lack of OS upgrades anyway? Sorry if this sounds flippant, but you have to draw a line somewhere and I don't even have a way to trigger this problem in CI or local testing.
from cborg.
[Error] ReferenceError: Can't find variable: BigInt
(anonymous function) (2.f63d69e7.chunk.js:2:1126069)
i (teia.art:1:2270)
(anonymous function) (2.f63d69e7.chunk.js:2:1622346)
i (teia.art:1:2270)
(anonymous function) (2.f63d69e7.chunk.js:2:3532174)
i (teia.art:1:2270)
(anonymous function) (2.f63d69e7.chunk.js:2:3531937)
i (teia.art:1:2270)
(anonymous function) (2.f63d69e7.chunk.js:2:3530539)
i (teia.art:1:2270)
(anonymous function) (2.f63d69e7.chunk.js:2:1330056)
i (teia.art:1:2270)
(anonymous function) (main.83c7afad.chunk.js:1:80745)
i (teia.art:1:2270)
r (teia.art:1:2136)
t (teia.art:1:1999)
Global Code (main.83c7afad.chunk.js:1)
using safari 13.1.3 you can track the error to 0uint.js and 1negint.js
from cborg.
Related Issues (12)
- more low level decoding HOT 2
- better structuredClone support HOT 4
- parity with cbor-x HOT 3
- Buffer detection HOT 3
- [Feature Request]: Encode as blobParts (may include blobs)
- Option to bail on duplicate map keys
- Decoding concatenated data items HOT 6
- Typings don't work when cborg is imported in a ESM project HOT 2
- ** operator HOT 1
- Needs a main entry in package.json HOT 2
- Decoder failure HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cborg.