Release notes
*Sourced from [react-dnd-html5-backend's releases](https://github.com/react-dnd/react-dnd/releases).*
> ## CommonJS Fixes
> ## Patch
> The CommonJS libraries had runtime issues due to some `@ts-ignore` statements on non-typed module imports. Those have been removed from the core libraries.
>
> ## CommonJS Builds
> In v8.0.0 we changed the default module format to ES-Modules. This should enable better tree-shaking performance, and aligns the library with modern web standards supported by greenfield browsers and Node v12. We think it's time to make them the default option.
>
> That being said, we realize that users who expect CommonJS functionality will have some pain with this approach. If you use react-dnd and want CommonJS modules, look for the
> `dnd-core-cjs`,
> `react-dnd-cjs`,
> `react-dnd-html5-backend-cjs`,
> `react-dnd-test-backend-cjs`, and
> `react-dnd-test-utils-cjs`
> packages.
Commits
- [`54d0bf6`](https://github.com/react-dnd/react-dnd/commit/54d0bf68d4f7dae39021f2c70719d4a9541d9fff) build: version bump
- [`5e02b54`](https://github.com/react-dnd/react-dnd/commit/5e02b54d057adcf2ed485d51738ec0d86c031d48) build: add start_docs script
- [`ddfb020`](https://github.com/react-dnd/react-dnd/commit/ddfb0204676a39c8a57dc56a7263cd8f23e265c7) fix: rename the discount_lodash modules in case of special plugins looking fo...
- [`917c7b5`](https://github.com/react-dnd/react-dnd/commit/917c7b568e4b10596bc7d31cd07f3000b4a49acb) CJS Fix: Use typed libraries for utility packages ([#1409](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1409))
- [`32543b6`](https://github.com/react-dnd/react-dnd/commit/32543b62c418f9569f236a640418cef9b96a725a) CJS Fix: Remove [@ts](https://github.com/ts)-ignore usage from hoist-non-react-statics ([#1408](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1408))
- [`d300c1e`](https://github.com/react-dnd/react-dnd/commit/d300c1ef395337e3c7ed7ef2680a3d7e7fdc1e92) CJS Fix: Remove shallowequal dependency ([#1407](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1407))
- [`5036db0`](https://github.com/react-dnd/react-dnd/commit/5036db0353cada6f189821e55181ea4eb64d7ca7) CJS Fix: remove invariant dependency, clear up some [@ts](https://github.com/ts)-ignore usage ([#1406](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1406))
- [`50f82a4`](https://github.com/react-dnd/react-dnd/commit/50f82a49077acb2c19768d76c1e64f4bfda58087) docs: add a comment in the docsroot about esm vs cjs installation
- [`e135410`](https://github.com/react-dnd/react-dnd/commit/e1354106ee5a826a5229ae9230c6ca091d76f870) Correct the Dynamic CJS Module Generation Script ([#1404](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1404))
- [`283f1b4`](https://github.com/react-dnd/react-dnd/commit/283f1b4eb97c4948dde2d5e32ca45b91b1767ab8) build: move dynamic module generation to a preinstall script ([#1403](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1403))
- Additional commits viewable in [compare view](https://github.com/react-dnd/react-dnd/compare/v8.0.0...v8.0.2)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps react-dnd-html5-backend from 8.0.0 to 8.0.2.
Release notes
*Sourced from [react-dnd-html5-backend's releases](https://github.com/react-dnd/react-dnd/releases).* > ## CommonJS Fixes > ## Patch > The CommonJS libraries had runtime issues due to some `@ts-ignore` statements on non-typed module imports. Those have been removed from the core libraries. > > ## CommonJS Builds > In v8.0.0 we changed the default module format to ES-Modules. This should enable better tree-shaking performance, and aligns the library with modern web standards supported by greenfield browsers and Node v12. We think it's time to make them the default option. > > That being said, we realize that users who expect CommonJS functionality will have some pain with this approach. If you use react-dnd and want CommonJS modules, look for the > `dnd-core-cjs`, > `react-dnd-cjs`, > `react-dnd-html5-backend-cjs`, > `react-dnd-test-backend-cjs`, and > `react-dnd-test-utils-cjs` > packages.Commits
- [`54d0bf6`](https://github.com/react-dnd/react-dnd/commit/54d0bf68d4f7dae39021f2c70719d4a9541d9fff) build: version bump - [`5e02b54`](https://github.com/react-dnd/react-dnd/commit/5e02b54d057adcf2ed485d51738ec0d86c031d48) build: add start_docs script - [`ddfb020`](https://github.com/react-dnd/react-dnd/commit/ddfb0204676a39c8a57dc56a7263cd8f23e265c7) fix: rename the discount_lodash modules in case of special plugins looking fo... - [`917c7b5`](https://github.com/react-dnd/react-dnd/commit/917c7b568e4b10596bc7d31cd07f3000b4a49acb) CJS Fix: Use typed libraries for utility packages ([#1409](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1409)) - [`32543b6`](https://github.com/react-dnd/react-dnd/commit/32543b62c418f9569f236a640418cef9b96a725a) CJS Fix: Remove [@ts](https://github.com/ts)-ignore usage from hoist-non-react-statics ([#1408](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1408)) - [`d300c1e`](https://github.com/react-dnd/react-dnd/commit/d300c1ef395337e3c7ed7ef2680a3d7e7fdc1e92) CJS Fix: Remove shallowequal dependency ([#1407](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1407)) - [`5036db0`](https://github.com/react-dnd/react-dnd/commit/5036db0353cada6f189821e55181ea4eb64d7ca7) CJS Fix: remove invariant dependency, clear up some [@ts](https://github.com/ts)-ignore usage ([#1406](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1406)) - [`50f82a4`](https://github.com/react-dnd/react-dnd/commit/50f82a49077acb2c19768d76c1e64f4bfda58087) docs: add a comment in the docsroot about esm vs cjs installation - [`e135410`](https://github.com/react-dnd/react-dnd/commit/e1354106ee5a826a5229ae9230c6ca091d76f870) Correct the Dynamic CJS Module Generation Script ([#1404](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1404)) - [`283f1b4`](https://github.com/react-dnd/react-dnd/commit/283f1b4eb97c4948dde2d5e32ca45b91b1767ab8) build: move dynamic module generation to a preinstall script ([#1403](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1403)) - Additional commits viewable in [compare view](https://github.com/react-dnd/react-dnd/compare/v8.0.0...v8.0.2)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.