Giter VIP home page Giter VIP logo

pbkdf2-hmac's People

Contributors

juanelas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

martinr2295

pbkdf2-hmac's Issues

Module not found: Error: Default condition should be last one

After upgrading the pbkdf2-hmac library from version 1.1.0 to 1.2.0, I started encountering Angular compilation errors that seem unrelated to the library itself. The error messages are cryptic and do not point to a specific issue in the Angular application.

ERROR in ./src/app/pages/login/login.page.ts 15:0-37
Module not found: Error: Default condition should be last one
ModuleNotFoundError: Module not found: Error: Default condition should be last one

The line to which the error points is a blank line.

These errors occur in several components and seem to be related to the imports. The error message "Default condition should be last one" is not a standard Angular error and might be related to a custom loader or plugin used in the project.

The issue appears only when the pbkdf2-hmac library is updated to version 1.2.0. Reverting to version 1.1.0 resolves the compilation errors.

Steps to reproduce:

Upgrade the pbkdf2-hmac library to version 1.2.0 in an Angular project.
Run ng build or ng serve.

Expected behavior:
The Angular application should compile without any errors related to the pbkdf2-hmac library update.

Actual behavior:
The Angular application fails to compile, throwing cryptic error messages related to imports in several components.

Environment:

Angular version: 15.2.4
Node.js version: 19.9.0
npm version: 9.6.3
pbkdf2-hmac version: 1.2.0
Operating System: Windows 11

I would appreciate any help in resolving this issue or understanding why the library update causes these errors.

Thank you!

Your package offers a neat & clean abstraction for generating pbkdf2 for universal code - a clever way of solving this problem at build-time, via IS_BROWSER ๐Ÿ‘

1.0.5 release

Hello @juanelas !

Can you release 1.0.5 and publish it to npm please? You fixed a bug in 203e7fb that currently prevents usage of the module in node esm environment two months ago but the latest release is from a year ago.

Much appreciated !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.