filters icon indicating copy to clipboard operation
filters copied to clipboard

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

Open Julien-Marcou opened this issue 2 years ago • 3 comments

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 🙂

Julien-Marcou avatar May 18 '23 09:05 Julien-Marcou

Yeah, something that uses Color. These filters need updating

bigtimebuddy avatar May 18 '23 11:05 bigtimebuddy

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 [email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated @evocateur/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
npm WARN deprecated @evocateur/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated @evocateur/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: 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 [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @evocateur/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

FloodGames avatar May 19 '23 23:05 FloodGames

I'm trying https://github.com/pixijs/filters/pull/389

FloodGames avatar May 20 '23 12:05 FloodGames

This project will not be updating v7 deprecations, closing for now.

bigtimebuddy avatar Aug 18 '24 17:08 bigtimebuddy