Skip to content

Commit

Permalink
directly specify type: commonjs in package.json of all packages t…
Browse files Browse the repository at this point in the history
…o avoid potential breakage in future Node versions

nodejs/TSC#1445
  • Loading branch information
zloirock committed Oct 17, 2023
1 parent 0ebbbd8 commit 20302d7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Changelog
##### Unreleased
- Directly specified `type: commonjs` in `package.json` of all packages to avoid potential breakage in future Node versions, see [this issue](https://github.com/nodejs/TSC/issues/1445)
- Compat data improvements:
- [`String.prototype.{ isWellFormed, toWellFormed }`](https://github.com/tc39/proposal-is-usv-string) marked as [supported from FF119](https://bugzilla.mozilla.org/show_bug.cgi?id=1850755)
- Added React Native 0.73 Hermes compat data, mainly fixes of [some issues](https://github.com/facebook/hermes/issues/770)
Expand Down
1 change: 1 addition & 0 deletions packages/core-js-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "core-js-builder",
"version": "3.33.0",
"type": "commonjs",
"description": "core-js builder",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/core-js-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "core-js-bundle",
"version": "3.33.0",
"type": "commonjs",
"description": "Standard library",
"keywords": [
"ES3",
Expand Down
1 change: 1 addition & 0 deletions packages/core-js-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "core-js-compat",
"version": "3.33.0",
"type": "commonjs",
"description": "core-js compat",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/core-js-pure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "core-js-pure",
"version": "3.33.0",
"type": "commonjs",
"description": "Standard library",
"keywords": [
"ES3",
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "core-js",
"version": "3.33.0",
"type": "commonjs",
"description": "Standard library",
"keywords": [
"ES3",
Expand Down

0 comments on commit 20302d7

Please sign in to comment.