Skip to content
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

Migrate module from CommonJS (CJS) to EcmaScript (ESM) #533

Merged
merged 68 commits into from
Aug 2, 2022
Merged

Conversation

Borewit
Copy link
Owner

@Borewit Borewit commented Jul 24, 2021

tsconfig.json Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
@Borewit Borewit linked an issue Jul 27, 2021 that may be closed by this pull request
test/test.ts Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
@Borewit Borewit force-pushed the es-module branch 2 times, most recently from 3e02624 to 3e561f8 Compare July 29, 2021 08:26
# Conflicts:
#	package.json
package.json Outdated Show resolved Hide resolved
dependabot bot and others added 14 commits August 1, 2022 12:48
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.3 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.5.3...v4.7.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [remark-cli](https://github.com/remarkjs/remark) from 10.0.1 to 11.0.0.
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Changelog](https://github.com/remarkjs/remark/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/remark/compare/remark-cli@10.0.1...remark-cli@11.0.0)

---
updated-dependencies:
- dependency-name: remark-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [chai](https://github.com/chaijs/chai) and [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai). These dependencies needed to be updated together.

Updates `chai` from 4.3.4 to 4.3.6
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](chaijs/chai@v4.3.4...v4.3.6)

Updates `@types/chai` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.3 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v9.1.3...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [del-cli](https://github.com/sindresorhus/del-cli) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/del-cli/releases)
- [Commits](sindresorhus/del-cli@v4.0.1...v5.0.0)

---
updated-dependencies:
- dependency-name: del-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
# Conflicts:
#	.github/workflows/nodejs-ci.yml
#	package.json
#	tsconfig.json
#	yarn.lock
@Borewit Borewit changed the title Move to ES Modules Migrate module from CommonJS (CJS) to EcmaScript (ESM) Aug 1, 2022
dependabot bot and others added 3 commits August 2, 2022 14:13
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 2.7.1 to 3.4.0.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v2.7.1...v3.4.0)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.31.0 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Migrated examples from CommonJS (CJS) to EcmaScript (ESM)
Dependabot: prepared for ESM in master (default) branch
TypeScript module / moduleResolution to `node16`
dependabot bot and others added 8 commits August 2, 2022 14:24
…e/eslint-import-resolver-typescript-3.4.0
Bumps [peek-readable](https://github.com/Borewit/peek-readable) from 5.0.0-alpha.5 to 5.0.0.
- [Release notes](https://github.com/Borewit/peek-readable/releases)
- [Commits](Borewit/peek-readable@v5.0.0-alpha.5...v5.0.0)

---
updated-dependencies:
- dependency-name: peek-readable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.31.0 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…e/typescript-eslint/eslint-plugin-5.32.0
# Conflicts:
#	package.json
@Borewit Borewit merged commit 157df42 into master Aug 2, 2022
@Borewit Borewit deleted the es-module branch August 2, 2022 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ES Module compliance
2 participants