Skip to content

Conversation

@YaroShkvorets
Copy link

Should be re-targeted and merged only after graphprotocol#1775 is merged

This adds registry support graphprotocol#1744

@YaroShkvorets
Copy link
Author

Oh looks like I can't change PR base to https://github.com/graphprotocol/graph-tooling
OK then, will need to re-open it after graphprotocol#1775 is merged

@0237h 0237h force-pushed the chore/update-dependencies branch 2 times, most recently from 1d49367 to b03ae1b Compare December 3, 2024 17:58
0237h and others added 8 commits December 3, 2024 13:15
`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`

---------

Co-authored-by: YaroShkvorets <[email protected]>
`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`

---------

Co-authored-by: YaroShkvorets <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants