long.js
long.js copied to clipboard
A Long class for representing a 64-bit two's-complement integer value.
I am having trouble upgrading a package that recently switched a dependency from long@^4 to long@^5: > node_modules/long/umd/index.d.ts:1:18 - error TS1479: The current file is a CommonJS module whose imports...
Receiving the following error when running "npm run build" on a TypeScript NodeJS app: node_modules/long/umd/index.d.ts:1:18 - error TS1479: The current file is a CommonJS module whose imports will produce 'require'...
How did you build the wasm included in the js file ? Where does come from test/goog ? Thanks
resolve #82 - bugs: `Long.fromValue(55n)` results in 0 - out of out use in [protobuf.js](https://github.com/protobufjs/protobuf.js/issues/1151)
Fix issue #126
### Description A warning alert from long.js package is being outputed on command line when running "react-native run-android" on React Native. ### Output This is the command line output. ```sh...
``` var Long = require("long"); var s = Long.fromString(String(1.1 * 100)); console.log("Long.fromString(..):", s); console.log("Long.toString(..):", s.toString()); ``` Outputs: ``` Long.fromString(..): Long { low: 488372225, high: 256, unsigned: false } Long.toString(..): 1100000000001...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
When trying to import the package by following documentation, I am getting this error: "..long/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag, but that flag is already enabled in...
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...