From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- node_modules/doiuse/data/features/css-not-sel-list.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 node_modules/doiuse/data/features/css-not-sel-list.js (limited to 'node_modules/doiuse/data/features/css-not-sel-list.js') diff --git a/node_modules/doiuse/data/features/css-not-sel-list.js b/node_modules/doiuse/data/features/css-not-sel-list.js deleted file mode 100644 index ee745e7e..00000000 --- a/node_modules/doiuse/data/features/css-not-sel-list.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Selectors Level 3 only allowed `:not()` pseudo-class to accept a single simple selector, which the element must not match any of. Thus, `:not(a, .b, [c])` or `:not(a.b[c])` did not work. Selectors Level 4 allows `:not()` to accept a list of selectors. Thus, `:not(a):not(.b):not([c])` can instead be written as `:not(a, .b, [c])` and `:not(a.b[c])` works as intended. - * @see https://caniuse.com/css-not-sel-list - */ - -import { checkSelector } from '../../utils/util.js'; - -/** - * @type {import('../features').Feature} - */ -export default checkSelector( - (selector) => selector.includes(':not(') && !/:not\(.?#?-?[\w[\]-]+\)/.test(selector), -); -- cgit v1.2.3