Skip to content

Conversation

@PHILLIPS71
Copy link

This PR upgrades replace-in-file to the latest version (8.3.0) to resolve dependency warnings and improve compatibility with modern Node.js versions.

Running npm install or building the project was triggering the following warnings:

tailwind-config-viewer > replace-in-file > glob@7.2.3: Glob versions prior to v9 are no longer supported
tailwind-config-viewer > replace-in-file > glob > inflight@1.0.6: This module is not supported, and leaks memory...

Additionally, attempts to build the project with Node.js versions newer than 16 were failing with OpenSSL-related errors:

Error: error:0308010C:digital envelope routines::unsupported
...
at Object.createHash (node:crypto:139:10)

Changes

  • Bumped replace-in-file from 6.1.0 → 8.3.0 (resolves glob/inflight deprecation warnings)
  • Updated core build dependencies to their latest compatible versions to support newer Node versions:
    • core-js → ^3.42.0
    • @vue/cli-service → ^5.0.8
    • @vue/cli-plugin-babel → ^5.0.8

Closes #104

@jennifer-richards
Copy link

I don't know the project well enough to say anything about this PR, except that it would also fix #102 and #110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated replace-in-file dependency

2 participants