mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-16 02:25:47 +00:00
feat: support npm v9 (#2318)
* add support for npm v9 * Update package-lock.json * Update nodejs.yml * update changelogs * update PR template
This commit is contained in:
7
.github/pull_request_template.md
vendored
7
.github/pull_request_template.md
vendored
@@ -31,13 +31,6 @@ Please check relevant options, delete irrelevant ones.
|
|||||||
- [ ] Documentation Updates
|
- [ ] Documentation Updates
|
||||||
- [ ] Release
|
- [ ] Release
|
||||||
|
|
||||||
## Before / After
|
|
||||||
|
|
||||||
<!--
|
|
||||||
If just refactoring / back-end changes, this can be just an in-English description of the change at a technical level.
|
|
||||||
If a UI change, screenshots should be included.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Test Plan
|
## Test Plan
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
16
.github/workflows/nodejs.yml
vendored
16
.github/workflows/nodejs.yml
vendored
@@ -25,9 +25,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Setup npm version 7
|
- name: Setup npm version 9
|
||||||
run: |
|
run: |
|
||||||
npm i -g npm@7 --registry=https://registry.npmjs.org
|
npm i -g npm@9 --registry=https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
id: cache-nodemodules
|
id: cache-nodemodules
|
||||||
@@ -66,9 +66,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Setup npm version 7
|
- name: Setup npm version 9
|
||||||
run: |
|
run: |
|
||||||
npm i -g npm@7 --registry=https://registry.npmjs.org
|
npm i -g npm@9 --registry=https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
id: cache-nodemodules
|
id: cache-nodemodules
|
||||||
@@ -112,9 +112,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Setup npm version 7
|
- name: Setup npm version 9
|
||||||
run: |
|
run: |
|
||||||
npm i -g npm@7 --registry=https://registry.npmjs.org
|
npm i -g npm@9 --registry=https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
id: cache-nodemodules
|
id: cache-nodemodules
|
||||||
@@ -164,9 +164,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run --detach --rm --name rippled-service -p 6006:6006 --volume "${{ github.workspace }}/.ci-config/":"/config/" --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s --env "ENV_ARGS=-a --start" --env GITHUB_ACTIONS=true --env CI=true xrpllabsofficial/xrpld:latest
|
docker run --detach --rm --name rippled-service -p 6006:6006 --volume "${{ github.workspace }}/.ci-config/":"/config/" --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s --env "ENV_ARGS=-a --start" --env GITHUB_ACTIONS=true --env CI=true xrpllabsofficial/xrpld:latest
|
||||||
|
|
||||||
- name: Setup npm version 7
|
- name: Setup npm version 9
|
||||||
run: |
|
run: |
|
||||||
npm i -g npm@7 --registry=https://registry.npmjs.org
|
npm i -g npm@9 --registry=https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
id: cache-nodemodules
|
id: cache-nodemodules
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -69,7 +69,7 @@
|
|||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0",
|
"node": ">=12.0.0",
|
||||||
"npm": ">=7.0.0 < 9.0.0"
|
"npm": ">=7.0.0 < 10.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
|
|||||||
@@ -76,6 +76,6 @@
|
|||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0",
|
"node": ">=12.0.0",
|
||||||
"npm": ">=7.0.0 < 9.0.0"
|
"npm": ">=7.0.0 < 10.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
## 4.2.5 (2023-03-08)
|
## 4.2.5 (2023-03-08)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
* Adds support for npm v9
|
||||||
### Changed
|
### Changed
|
||||||
- All tests now use the Jest test runner and have been refactored for consistency across all packages
|
- All tests now use the Jest test runner and have been refactored for consistency across all packages
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
### Added
|
### Added
|
||||||
- Allow custom type definitions to be used for encoding/decoding transactions at runtime (e.g. for sidechains/new amendments)
|
- Allow custom type definitions to be used for encoding/decoding transactions at runtime (e.g. for sidechains/new amendments)
|
||||||
|
* Adds support for npm v9
|
||||||
|
|
||||||
## 1.5.0 (2023-03-08)
|
## 1.5.0 (2023-03-08)
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
* Adds support for npm v9
|
||||||
|
|
||||||
## 1.1.5 (2023-03-08)
|
## 1.1.5 (2023-03-08)
|
||||||
### Changed
|
### Changed
|
||||||
- All tests now use the Jest test runner and have been refactored for consistency across all packages
|
- All tests now use the Jest test runner and have been refactored for consistency across all packages
|
||||||
|
|||||||
@@ -4,14 +4,15 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* Guard check for signing algorithm used in `Wallet.generate()`
|
* Adds support for npm v9
|
||||||
* Null and undefined values in transactions are now treated as though the field was not passed in.
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* Fixed `ServerState.transitions` typing, it is now a string instead of a number. (Only used in return from `server_state` request)
|
* Fixed `ServerState.transitions` typing, it is now a string instead of a number. (Only used in return from `server_state` request)
|
||||||
* Added `destination_amount` to `PathOption` which is returned as part of a `path_find` request
|
* Added `destination_amount` to `PathOption` which is returned as part of a `path_find` request
|
||||||
* Removed the `decode(encode(tx)) == tx` check from the wallet signing process
|
* Removed the `decode(encode(tx)) == tx` check from the wallet signing process
|
||||||
* Fixed the location of `signer_lists` in the `account_info` response so that it matches rippled
|
* Fixed the location of `signer_lists` in the `account_info` response so that it matches rippled
|
||||||
|
* Guard check for signing algorithm used in `Wallet.generate()`
|
||||||
|
* Null and undefined values in transactions are now treated as though the field was not passed in.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
* RPCs and utils related to the old sidechain design
|
* RPCs and utils related to the old sidechain design
|
||||||
|
|||||||
Reference in New Issue
Block a user