Skip to content

ezze/sequelize-core-js-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sequelize-core-js-issue

This repo reproduces an issue with core-js in Sequelize 6.0.0 beta. The issue is caused by incompatibility of _.isNative() and core-js polyfill.

From _.isNative() docs:

This method can't reliably detect native functions in the presence of the core-js package because core-js circumvents this kind of detection. Despite multiple requests, the core-js maintainer has made it clear: any attempt to fix the detection will be obstructed. As a result, we're left with little choice but to throw an error. Unfortunately, this also affects packages, like babel-polyfill, which rely on core-js.

How to reproduce

  1. Install dependencies:

    $ yarn
  2. Build:

    $ yarn build
  3. Execute:

    $ node dist/index.js

About

This repo reproduces an issue with core-js in Sequelize 6.0.0 beta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published