Skip to content

Commit

Permalink
fix(deps): bump @stoplight/yaml-ast-parser to 0.0.48 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed May 20, 2020
1 parent 58d61f8 commit 609313d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@stoplight/ordered-object-literal": "^1.0.1",
"@stoplight/types": "^11.6.0",
"@stoplight/yaml-ast-parser": "0.0.47",
"@stoplight/yaml-ast-parser": "0.0.48",
"tslib": "^1.12.0"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions src/__tests__/safeStringify.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,10 @@ b:
- *ref_0
`);
});

test('should stringify big integers', () => {
const obj = { value: BigInt('1267650600228229401496703205376') };

expect(safeStringify(obj)).toEqual(`value: 1267650600228229401496703205376\n`);
});
});
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1588,10 +1588,10 @@
"@types/json-schema" "^7.0.4"
utility-types "^3.10.0"

"@stoplight/[email protected].47":
version "0.0.47"
resolved "https://registry.yarnpkg.com/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.47.tgz#4836760c32092fa015dbcf5da7c0ff90cb7e4443"
integrity sha512-UVy6l5Nb0NvoWjP7t05HrWFdu1oc7WY0eWa1BNPEb5/aL+EBQwNKA/36PLOe8L62oGS0s7EcEgTyxmcmVjb9/Q==
"@stoplight/[email protected].48":
version "0.0.48"
resolved "https://registry.yarnpkg.com/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.48.tgz#442b21f419427acaa8a3106ebc5d73351c407002"
integrity sha512-sV+51I7WYnLJnKPn2EMWgS4EUfoP4iWEbrWwbXsj0MZCB/xOK8j6+C9fntIdOM50kpx45ZLC3s6kwKivWuqvyg==

"@storybook/[email protected]":
version "4.0.11"
Expand Down

0 comments on commit 609313d

Please sign in to comment.