Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation Warning: utils.hex2rgb when using PixiJS filters with PixiJS v7.2.0+ #387

Open
Julien-Marcou opened this issue May 18, 2023 · 3 comments

Comments

@Julien-Marcou
Copy link
Member

PixiJS filters are using deprecated utils functions like hex2rgb, which prints deprecation warnings into the console:

PixiJS Deprecation Warning: utils.hex2rgb is deprecated, use Color#toRgbArray instead
Deprecated since v7.2.0

It wouls be nice to see an updated version of PixiJS filters without these warnings 🙂

@bigtimebuddy
Copy link
Member

Yeah, something that uses Color. These filters need updating

@FloodGames
Copy link

FloodGames commented May 19, 2023

This whole package needs some love?

Can't even get past.
"npm run build" after "npm install"

npm ERR! code 1
npm ERR! path C:\GIT\filters\node_modules\canvas
npm ERR! command failed

I would be interested in trying to update some packages without breaking everything, if I get it up and running.


npm run clean did seem to help, along with removing package-lock.json

npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated @evocateur/npm-registry-fetch@4.0.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
npm WARN deprecated @evocateur/libnpmaccess@3.1.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated @evocateur/libnpmpublish@1.2.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @evocateur/pacote@9.6.5: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated open-sans-fonts@1.6.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@FloodGames
Copy link

I'm trying #389

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

No branches or pull requests

3 participants