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/unicode-match-property-ecmascript/index.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 node_modules/unicode-match-property-ecmascript/index.js (limited to 'node_modules/unicode-match-property-ecmascript/index.js') diff --git a/node_modules/unicode-match-property-ecmascript/index.js b/node_modules/unicode-match-property-ecmascript/index.js deleted file mode 100755 index 65205934..00000000 --- a/node_modules/unicode-match-property-ecmascript/index.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -const canonicalProperties = require('unicode-canonical-property-names-ecmascript'); -const propertyAliases = require('unicode-property-aliases-ecmascript'); - -const matchProperty = function(property) { - if (canonicalProperties.has(property)) { - return property; - } - if (propertyAliases.has(property)) { - return propertyAliases.get(property); - } - throw new Error(`Unknown property: ${ property }`); -}; - -module.exports = matchProperty; -- cgit v1.2.3