es-shims / es-shims/Object.getOwnPropertyDescriptors

Cannot find module 'es-abstract/2023/CreateDataProperty'

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hi there,

In a recent update of your patch version from 2.1.6 to 2.1.7, a different minor version of es-abstract was used. This resulted in the following issue for one of our services

`2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]/app/node_modules/object.getownpropertydescriptors/implementation.js:1
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]Error: Cannot find module 'es-abstract/2023/CreateDataProperty'
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]Require stack:
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/object.getownpropertydescriptors/implementation.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/object.getownpropertydescriptors/index.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/util.promisify/implementation.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/util.promisify/index.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/bull/lib/queue.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/node_modules/bull/index.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/bullQueues.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/app.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info]- /app/index.js
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] at Object. (/app/node_modules/object.getownpropertydescriptors/implementation.js:3:26)
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) {
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] code: 'MODULE_NOT_FOUND',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] requireStack: [
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/object.getownpropertydescriptors/implementation.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/object.getownpropertydescriptors/index.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/util.promisify/implementation.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/util.promisify/index.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/bull/lib/queue.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/node_modules/bull/index.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/bullQueues.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/app.js',
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] '/app/index.js'
2023-09-08T05:57:27Z app[6e82d0df396587] sin [info] ]`

I believe when running npm install it will use the latest patch version, but because our dependency was locked at 1.21.2, this became a breaking change.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.