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

@wordpress/dataviews 4.10.0 esm/commonjs confusion #67897

Closed
anomiex opened this issue Dec 12, 2024 · 1 comment · Fixed by #67962
Closed

@wordpress/dataviews 4.10.0 esm/commonjs confusion #67897

anomiex opened this issue Dec 12, 2024 · 1 comment · Fixed by #67962
Assignees
Labels
[Package] DataViews /packages/dataviews [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@anomiex
Copy link
Contributor

anomiex commented Dec 12, 2024

CommonJS

If we're running in a CommonJS environment, the package cannot be required:

$ node -e 'require( "@wordpress/dataviews" );'
node:internal/modules/cjs/loader:647
      throw e;
      ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /tmp/test/node_modules/@wordpress/dataviews/package.json

This is particularly problematic when trying to test with jest, e.g.

const x = require( '@wordpress/dataviews' );

it( 'passes', () => {
    expect( true ).toBe( true );
} );

This fails with the following error:

    Cannot find module '@wordpress/dataviews' from 'foo.test.js'

    > 1 | const x = require( '@wordpress/dataviews' );
        |                                            ^
      2 |
      3 | it( 'passes', () => {
      4 |     expect( true ).toBe( true );

      at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
      at Object.<anonymous> (foo.test.js:1:44)

All this is because there is no commonjs export anymore after #66825, only types and import.

"exports": {
".": {
"types": "./build-types/index.d.ts",
"import": "./build-module/index.js"
},

Adding a "require": "./build/index.js" or "default": "./build/index.js" at the end of the object makes it work.

ESM

Let's look at Jest first, running the following test with --experimental-vm-modules as documented at https://jestjs.io/docs/ecmascript-modules.

import * as x from '@wordpress/dataviews';

it( 'passes', () => {
    expect( true ).toBe( true );
} );

This fails with the following error: (with some irrelevant text snipped)

  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    [...]

    Details:

    /tmp/test/node_modules/@wordpress/dataviews/build-module/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { default as DataViews } from './components/dataviews';
                                                                                      ^^^^^^

    SyntaxError: Unexpected token 'export'

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)

This is because the file at node_modules/@wordpress/dataviews/build-module/index.js is supposedly in CommonJS format, not ESM, but actually contains ESM code. There are two different ways you might fix this:

  • Rename all the files under build-module/ to .mjs so they're parsed as ESM.
    • Also build-wp/index.js, since that contains ESM code too.
  • Add "type": "module" to the package.json so all .js files default to being interpreted as ESM.
    • And then rename all the files under build/ to .cjs so they're parsed as CommonJS.

Trying to import it with node --input-type=module -e 'import * as dataviews from "@wordpress/dataviews";' has additional problems due to the stricter ECMAScript loader:

  • It does not support folders as modules, directory indexes (e.g. './startup/index.js') must be fully specified.
  • It does no extension searching. A file extension must be provided when the specifier is a relative or absolute file URL.

so even after applying the fixes above we still get failures like

Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/tmp/test/node_modules/@wordpress/dataviews/build-module/components/dataviews' is not supported resolving ES modules imported from /tmp/test/node_modules/@wordpress/dataviews/build-module/index.mjs

But since this package is probably not intended to be used that way (and it works with webpack and jest), it's probably safe to ignore that.

anomiex added a commit to Automattic/jetpack that referenced this issue Dec 12, 2024
@gziolo gziolo added [Package] DataViews /packages/dataviews [Type] Bug An existing feature does not function as intended labels Dec 12, 2024
nateweller pushed a commit to Automattic/jetpack that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>
matticbot pushed a commit to Automattic/jetpack-components that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-connection-js that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-shared-extension-utils that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-publicize-components that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-yoast-promo that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/classic-theme-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-crm that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/automattic-for-agencies-client that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-blaze that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-wordads that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-inspect that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-storybook that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-forms that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-my-jetpack that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-starter-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-protect-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-backup that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-videopress that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-boost-production that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-backup-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-social-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-mu-wpcom-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-videopress-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-search that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/wpcom-site-helper that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-search-plugin that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
matticbot pushed a commit to Automattic/jetpack-production that referenced this issue Dec 13, 2024
* Update dependency @wordpress/dataviews to v4.10.0

* Add hack for WordPress/gutenberg#67897

* ThreatsDataViews: Fix defaultLayouts (#40600)

* Updates defaultLayouts fields

* Changelog

* Update title field label

---------

Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12309995609

Upstream-Ref: Automattic/jetpack@5047d0a
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 13, 2024
@anomiex
Copy link
Contributor Author

anomiex commented Dec 13, 2024

#67962 fixed the first part of this issue, but the second part (under heading "ESM") still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] DataViews /packages/dataviews [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants