Skip to content

Commit

Permalink
Upgrades dependencies to their latest versions (incl. js-xdr@v2.0.0
Browse files Browse the repository at this point in the history
…). (#592)

* Upgrade js-xdr, dependency upgrade, GHA fixups:

  - `js-xdr` set to v2.0.0
  - `yarn upgrade-interactive --latest`
  - `rm yarn.lock && yarn`
  - GHAs enhanced to work around `yarn` bugs?
  - CHANGELOG entry + version bump added
  • Loading branch information
Shaptic committed May 8, 2023
1 parent c50a0b5 commit 3fed7d3
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 361 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Install Depencencies
run: yarn
run: yarn install

- name: Test & Build
run: yarn preversion
Expand Down
35 changes: 19 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,32 @@ jobs:

strategy:
fail-fast: false
max-parallel: 2
max-parallel: 4
matrix:
node-version: [14, 16, 18]

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: yarn install
# Workaround for some `yarn` nonsense, see:
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210
- name: Install Dependencies
run: yarn install --network-concurrency 1

- name: Build All
run: yarn build:prod
- name: Run Linter
run: yarn lint

- name: Run Node Tests
run: yarn test:node
- name: Build All
run: yarn build:prod

- name: Run Browser Tests
run: yarn build:browser:prod && yarn test:browser
- name: Run Node Tests
run: yarn test:node

- name: Run Linter
run: yarn lint
- name: Run Browser Tests
run: yarn test:browser
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
## Unreleased


## [v9.0.0-beta.2](https://github.com/stellar/js-stellar-base/compare/v9.0.0-beta.1..v9.0.0-beta.2)

### Update

- Upgrades the `js-xdr` dependency (major performance improvements, see [`js-xdr@v2.0.0`](https://github.com/stellar/js-xdr/releases/tag/v2.0.0)) and other dependencies to their latest versions ([#592](https://github.com/stellar/js-stellar-base/pull/592)).


## [v9.0.0-beta.1](https://github.com/stellar/js-stellar-base/compare/v9.0.0-beta.0..v9.0.0-beta.1)

### Fix
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stellar-base",
"version": "9.0.0-beta.1",
"version": "9.0.0-beta.2",
"description": "Low-level support library for the Stellar network.",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -76,7 +76,7 @@
"@babel/register": "^7.21.0",
"@definitelytyped/dtslint": "^0.0.159",
"@istanbuljs/nyc-config-babel": "3.0.0",
"@types/node": "^18.15.11",
"@types/node": "^20.1.0",
"@typescript-eslint/parser": "^5.57.1",
"babel-loader": "^9.1.2",
"babel-plugin-istanbul": "^6.1.1",
Expand Down Expand Up @@ -122,7 +122,7 @@
"bignumber.js": "^9.1.1",
"crc": "^4.3.2",
"crypto-browserify": "^3.12.0",
"js-xdr": "1.3.0",
"js-xdr": "^2.0.0",
"lodash": "^4.17.21",
"sha.js": "^2.3.6",
"tweetnacl": "^1.0.3"
Expand Down
Loading

0 comments on commit 3fed7d3

Please sign in to comment.