ion-js icon indicating copy to clipboard operation
ion-js copied to clipboard

A JavaScript implementation of Amazon Ion.

Results 94 ion-js issues
Sort by recently updated
recently updated
newest added

When reading a binary Ion file with invalid values for the components, ion-js does not throw an error. ```javascript let timestampBinary = [ // bvm 224, 1, 0, 234, //...

We are only testing it with integration tests, not ideal.

testing

Update the [Cookbook](https://amzn.github.io/ion-docs/guides/cookbook.html) so the ion-js examples can be executed within the browser. I'd suggest we do this sometime after use of the library within a browser is officially supported.

enhancement
documentation

- UML diagram documenting interaction of files/objects/methods within the codebase. - Refactoring inheritance using JS equivalents of "Interfaces/classes" to allow typescript to ensure the contracts detailed in the UML. This...

Currently `IonTextReader` exposes annotations via `.annotations()` (returns an Array), whereas `IonBinaryReader` exposes annotations via `hasAnnotations()` and `getAnnotation(i)` (returns the annotation at a specific index in the array). Can these be...

As testing harness spec is fleshed out IonJS needs to be kept abreast of the necessary endpoints/logic to support interoperability in the future.

testing
M

Currently the js library cannot statically compile due to numerous typing errors around unidentified reference error handling.

CodeQuality

I'm trying to include ion-js in a project that uses a standard webpack build (create-react-app): ```javascript import { makeReader } from 'ion-js'; console.log('Hello world!'); ``` [See the full repo here](https://github.com/cimi/ion-js-webpack),...

SymbolTokens and import descriptors will need to be implemented.

- /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/timestamp/timestampHourWithoutMinute.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/structOrderedEmpty.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/stringLenTooLarge.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/nopPadWithAnnotations.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/negativeIntZeroLn.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/negativeIntZero.10n - /home/travis/build/amzn/ion-js/ion-tests/iontestdata/bad/minLongWithLenTooLarge.10n

bucketing
M