von-grid icon indicating copy to clipboard operation
von-grid copied to clipboard

Freshening dependencies?

Open duncan-bayne opened this issue 3 years ago • 0 comments

First of all, thanks for von-grid :) I'm planning to use it to make an awesome hex game~~s~~ :)

It seems that von-grid hasn't been updated in a while. npm install produces a list of deprecation warnings, and an error:

npm WARN deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /home/duncan/code/von-grid/node_modules/riot/node_modules/.bin/riot
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/duncan/code/von-grid/node_modules/riot/node_modules/.bin/riot'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

Using von-grid against recent versions of threejs also produces errors because threejs no longer exports the Geometry type (see https://discourse.threejs.org/t/three-geometry-will-be-removed-from-core-with-r125/22401).

I was thinking of raising a separate issue for each of the above (this issue being more for discussion of the approach). Then, hopefully, I can raise some pull requests to address at least some of the above, albeit slowly and haltingly; I'm only a dilettante JavaScript developer, and the last game I wrote ran on an Amstrad CPC. It'd still be faster than writing my own von-grid from scratch though ;)

Does that sounds like a reasonable approach? Asking because I'm not sure of the status of von-grid, and whether you may already be working on any or all of the above.

duncan-bayne avatar Mar 29 '21 02:03 duncan-bayne