Skip to content

Commit

Permalink
chore(deps): update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Oct 24, 2024
1 parent a6f41fd commit 0b558b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion lib/react-utils.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/* eslint-disable regexp/no-useless-range */

// *** REACT BORROWED ***

const ATTRIBUTE_NAME_START_CHAR =
':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD';
const ATTRIBUTE_NAME_CHAR =
// eslint-disable-next-line regexp/prefer-w
ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040';

// eslint-disable-next-line no-misleading-character-class
const VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$');

const VALID_TAG_REGEX = /^[A-Za-z][\w.:-]*$/; // Simplified subset
const VALID_TAG_REGEX = /^[a-z][\w.:-]*$/i; // Simplified subset

/** @type {Map<string, boolean>} */
const validatedTagCache = new Map();
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,27 @@
"@skypack/package-check": "^0.2.2",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.8",
"@types/node": "^18.19.54",
"@types/mocha": "^10.0.9",
"@types/node": "^18.19.59",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@voxpelli/eslint-config": "^21.0.0",
"@voxpelli/eslint-config": "^22.0.0",
"@voxpelli/tsconfig": "^15.0.0",
"c8": "^10.1.2",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"eslint": "^9.11.1",
"eslint": "^9.13.0",
"husky": "^9.1.6",
"installed-check": "^9.3.0",
"knip": "^5.30.6",
"knip": "^5.34.0",
"linemod": "^2.0.1",
"mocha": "^10.7.3",
"nodemon": "^3.1.7",
"npm-run-all2": "^6.2.3",
"npm-run-all2": "^6.2.6",
"sinon": "^19.0.2",
"sinon-chai": "^3.7.0",
"tsd": "^0.31.2",
"type-coverage": "^2.29.1",
"type-coverage": "^2.29.7",
"typescript": "~5.6.2",
"validate-conventional-commit": "^1.0.4"
}
Expand Down

0 comments on commit 0b558b1

Please sign in to comment.