diff options
Diffstat (limited to 'node_modules/unicode-match-property-ecmascript/index.js')
| -rwxr-xr-x | node_modules/unicode-match-property-ecmascript/index.js | 16 |
1 files changed, 0 insertions, 16 deletions
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; |
