PHP 7.4.33
Preview: index.js Size: 449 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/unicode-match-property-ecmascript/index.js
'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;

Directory Contents

Dirs: 0 × Files: 4
Name Size Perms Modified Actions
449 B lrwxr-xr-x 2025-03-28 11:04:35
Edit Download
1.05 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
1.06 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
2.38 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).