Comments (1)
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.
nvm install 20.7
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)
- What is the exact ISO 8601 format for isDate() ? HOT 4
- Can't be used within remix routes HOT 7
- isLocale doesn't work anymore (returns true on wrong locals) HOT 4
- Add support uuid v7 for `isUUID` HOT 3
- isURL() returns false for long urls HOT 6
- The isDate function returns false for some timezones (e.g. North American time zones) HOT 2
- fix: Date is not validated as expected HOT 3
- Email validator accepts special character "¸" which should not be valid HOT 7
- Enhance assertion check for function "equals" HOT 2
- readme.md toBoolean function documentation typo HOT 4
- No Active Maintainers? New Maintainers Needed? How to Proceed? HOT 10
- `isISO8601` doesn't support duration HOT 3
- isEmail accepts &@<domain> HOT 3
- Inconsistent isSlug results with "." in the inputs HOT 2
- "Cannot find module" error for lib or es/lib modules HOT 1
- isDate returns false for all strings HOT 8
- extended ascii passed isEmail validation HOT 1
- isEmail does not reject emails when blacklisted_chars includes quote
- get list of supported countries for passports HOT 1
- Invalid URL get validated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validator.js.