Skip to content

Usage of deprecated punycode module #21644

@RDIL

Description

@RDIL

Bug description

Hi Prisma team,

It seems somewhere in the engines package, the punycode package is used, which was recently runtime-deprecated by the Node.js team.
Screenshot 2023-10-26 at 22 00 27

Just opening this to put it on the radar.

How to reproduce

Here's where it was detected:
Screenshot 2023-10-26 at 22 01 49

Expected behavior

The error should not be raised.

Prisma information

Prisma schema is not relevant to the issue.

Environment & setup

yarn dlx envinfo:

  System:
    OS: macOS 14.0
    CPU: (8) arm64 Apple M1
    Memory: 42.22 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.1.0 - /private/var/folders/db/rxww00gx78q985zjbd22p0rw0000gn/T/xfs-a83cbd08/node
    Yarn: 4.0.0 - /private/var/folders/db/rxww00gx78q985zjbd22p0rw0000gn/T/xfs-a83cbd08/yarn
    npm: 10.2.0 - /opt/homebrew/bin/npm
  Managers:
    Cargo: 1.73.0 - ~/.cargo/bin/cargo
    Homebrew: 4.1.17 - /opt/homebrew/bin/brew
    pip3: 23.2.1 - /opt/homebrew/bin/pip3
    RubyGems: 3.0.3.1 - /usr/bin/gem
  Utilities:
    CMake: 3.27.7 - /opt/homebrew/bin/cmake
    Make: 3.81 - /usr/bin/make
    GCC: 15.0.0 - /usr/bin/gcc
    Git: 2.42.0 - /opt/homebrew/bin/git
    Clang: 15.0.0 - /usr/bin/clang
    FFmpeg: 6.0 - /opt/homebrew/bin/ffmpeg
    Curl: 8.1.2 - /usr/bin/curl
  Servers:
    Apache: 2.4.56 - /usr/sbin/apachectl
  Virtualization:
    Docker: 24.0.6 - /opt/homebrew/bin/docker
  IDEs:
    Emacs: 29.1 - /opt/homebrew/bin/emacs
    VSCode: 1.78.0 - /opt/homebrew/bin/code
    Vim: 9.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.21.3 - /opt/homebrew/bin/go
    Java: 17.0.8.1 - /usr/bin/javac
    Perl: 5.30.3 - /usr/bin/perl
    Protoc: 24.4 - /opt/homebrew/bin/protoc
    Python3: 3.11.6 - /opt/homebrew/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
    Rust: 1.73.0 - /Users/reece/.cargo/bin/rustc
  Databases:
    PostgreSQL: 14.9 - /opt/homebrew/bin/postgres
    SQLite: 3.39.5 - /usr/bin/sqlite3
  Browsers:
    Safari: 17.0

Prisma Version

5.5.2

Metadata

Metadata

Assignees

Labels

bug/2-confirmedBug has been reproduced and confirmed.kind/bugA reported bug.tech/typescriptIssue for tech TypeScript.topic: prisma6topic: tech debtInitiatives to improve the experience of working with the code base

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions