-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update all projects dependencies #1775
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 6e31985 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
0237h
force-pushed
the
chore/update-dependencies
branch
6 times, most recently
from
November 29, 2024 22:32
ca5979a
to
b8abfa9
Compare
0237h
force-pushed
the
chore/update-dependencies
branch
from
December 3, 2024 15:37
b8abfa9
to
1d49367
Compare
`yaml-ts` - Replace `safe*` variants with `load`/`loadall`/`dump` -> https://github.com/nodeca/js-yaml/blob/0d3ca7a27b03a6c974790a30a89e456007d62976/migrate_v3_to_v4.md#safeload-safeloadall-safedump--load-loadall-dump `immutable` - `Map([ [ 'k', 'v' ] ])` or `Map({ k: 'v' })` instead of `Map.of` -> https://github.com/immutable-js/immutable-js/blob/b3a1c9f13880048d744366ae561c39a34b26190a/CHANGELOG.md#breaking-changes - Replace `immutable.Collection<ProtocolName, string[]>` with `immutable.Collection<ProtocolName, immutable.List<string>>` `oclif/core` - Use `gluegun.prompt` instead of `ux.prompt` -> oclif/core#999 - Fix `prompt` variable assignments from object destructuring (thanks @YaroShkvorets) - Migrate to ESM -> https://oclif.io/docs/esm/ `assemblyscript/asc` - Use `assemblyscript/asc` as import - `asc.main` no longer as callback for error, uses stderr and is async -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Remove `asc.ready` -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Remove `ascMain` in `package.json` -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Replace `Promise.allSettled` with for loop in tests for resolving WASM generation promises in sequence (prevent WASM file corruption since they use same file `outputWasmPath`). `yaml` - Remove `strOptions` -> eemeli/yaml#235 `chokidar` - Import type `FSWatcher` as namespace no longer available - Remove `await` for `onTrigger` as it's no longer async `http-ipfs-client` - Migrate from `http-ipfs-client` to `kubo-rpc-client` with dynamic import as it's ESM only -> ipfs/helia#157 - Make `createCompiler` async due to dynamic import `cli/package.json` - Upgrade `moduleResolution` to `bundler`, `module` to `ESNext` and `target` to `ESNext` making it an ESM module `eslint` - Move `.eslintignore` inside config -> - Use `ESLINT_USE_FLAT_CONFIG=false` in pnpm scripts - Update config annotations `sync-request` - Deprecated, replace with async `fetch` call -> https://www.npmjs.com/package/sync-request - Make `generateTypes` async and update NEAR test snapshot `web3-eth-abi` - Import `decodeLogs` method directly as there is no more default export `vitest` - Remove `concurrent` for tests using filesystem `dockerode` - Remove dependency `tern` - Remove dependency `binary-install-raw` - Replace with `binary-install` `ethereum-basic-event-handlers` - Fix `chai` max version to `4.2.0` as `hardhat` doesn't support ESM Typescript -> https://hardhat.org/hardhat-runner/docs/advanced/using-esm#esm-and-typescript-projects - `ethers.BaseContract.address` renamed to `ethers.BaseContract.target` --------- Co-authored-by: YaroShkvorets <[email protected]>
0237h
force-pushed
the
chore/update-dependencies
branch
from
December 3, 2024 17:58
1d49367
to
b03ae1b
Compare
- Add `node:` prefix for built-in modules - Fix `@typescript-eslint/no-this-alias` rule - Remove `eager_offset.ts`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a few changes:
- removed
packages/cli/yarn.lock
since we are using pnpm throughout - removed babel.config.js
- migrated eslint config to latest standard
- reviewed eslint rules
- fixed various lint warnings
YaroShkvorets
approved these changes
Dec 7, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Project
@babel/core
@babel/preset-env
@babel/preset-typescript
eslint
@typescript-eslint/no-this-alias
lint ruleunicorn/prefer-node-protocol
lint rule (addnode:
prefix for built-in modules).eslintignore
inside config withignorePatterns
ESLINT_USE_FLAT_CONFIG=false
inpnpm
scriptscli
node:
prefix for built-in modules (e.g.node:fs
)dockerode
tern
moduleResolution
tobundler
,module
toESNext
andtarget
toESNext
making it an ESM modulebinary-install-raw
binary-install
chokidar
FSWatcher
as namespace no longer availableawait
foronTrigger
as it's no longer asynchttp-ipfs-client
http-ipfs-client
tokubo-rpc-client
with dynamic import as it's ESM only1createCompiler
async due to dynamic importimmutable
Map([ [ 'k', 'v' ] ])
orMap({ k: 'v' })
instead ofMap.of
2immutable.Collection<ProtocolName, string[]>
withimmutable.Collection<ProtocolName, immutable.List<string>>
js-yaml
safe*
variants withload
/loadall
/dump
3oclif/core
gluegun.prompt
instead ofux.prompt
4prompt
variable assignments from object destructuring (thanks @YaroShkvorets)sync-request
fetch
call6generateTypes
async and update NEAR test snapshotvitest
concurrent
for tests using the file systemweb3-eth-abi
decodeLogs
method directly as there is no more default exportyaml
strOptions
7ts
common/eager_offset.ts
assemblyscript/asc
assemblyscript/asc
as importasc.main
no longer as callback for error, uses stderr and is async8asc.ready
9ascMain
inpackage.json
10Promise.allSettled
with for loop in tests for resolving WASM generation promises in sequence (prevent WASM file corruption since they use same fileoutputWasmPath
).website
eslint
configExamples
ethereum-basic-event-handlers
chai
max version to4.x.x
aschai 5.x.x
is ESM andhardhat
doesn't support ESM Typescript projects yet12ethers.BaseContract.address
toethers.BaseContract.target
@nomiclabs/hardhat-ethers
@nomiclabs/hardhat-etherscan
@typechain/ethers-v5
@typechain/hardhat
ethers
hardhat-gas-reporter
solidity-coverage
typechain
Footnotes
https://github.com/ipfs/helia/issues/157 ↩
https://github.com/immutable-js/immutable-js/blob/b3a1c9f13880048d744366ae561c39a34b26190a/CHANGELOG.md#breaking-changes ↩
https://github.com/nodeca/js-yaml/blob/0d3ca7a27b03a6c974790a30a89e456007d62976/migrate_v3_to_v4.md#safeload-safeloadall-safedump--load-loadall-dump ↩
https://github.com/oclif/core/discussions/999 ↩
https://oclif.io/docs/esm/ ↩
https://www.npmjs.com/package/sync-request ↩
https://github.com/eemeli/yaml/pull/235 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/issues/2277 ↩
https://hardhat.org/hardhat-runner/docs/advanced/using-esm#esm-and-typescript-projects ↩