Giter Site home page Giter Site logo

Comments (1)

WikiRik avatar WikiRik commented on May 28, 2024

I tried to reproduce this with a clean GitHub Codespaces instance running the default image. On the master branch (we're not using main), I ran the following commands and got no errors.

  1. nvm install 20.7
  2. nvm use 20.7 && npm i --legacy-peer-deps && npm run test
Output from the second command
Now using node v20.7.0 (npm v10.1.0)
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
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]: 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]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.

added 517 packages, and audited 518 packages in 35s

72 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (4 moderate, 1 high, 3 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

> [email protected] pretest
> npm run build && npm run lint


> [email protected] build
> run-p build:*


> [email protected] build:browser
> node --require @babel/register build-browser && npm run minify


> [email protected] build:es
> babel src -d es --env-name=es


> [email protected] build:node
> babel src -d .

Successfully compiled 107 files with Babel (5586ms).
Successfully compiled 107 files with Babel (6619ms).

> [email protected] minify
> uglifyjs validator.js -o validator.min.js  --compress --mangle --comments /Copyright/


> [email protected] lint
> eslint src test


> [email protected] test
> nyc --reporter=cobertura --reporter=text-summary mocha --require @babel/register --reporter dot --recursive



  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  256 passing (250ms)


=============================== Coverage summary ===============================
Statements   : 100% ( 2592/2592 )
Branches     : 97.25% ( 1589/1634 )
Functions    : 100% ( 405/405 )
Lines        : 100% ( 2291/2291 )
================================================================================

So therefore I'll close this for now, if you have clearer steps to reproduce this I can re-open this.

from validator.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.