summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/is-potential-custom-element-name
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
committerMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
commit3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch)
tree75be5fba4368472fb11c8015aee026b2b9a71888 /includes/external/school/node_modules/is-potential-custom-element-name
parent8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff)
downloadpluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'includes/external/school/node_modules/is-potential-custom-element-name')
-rw-r--r--includes/external/school/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt20
-rw-r--r--includes/external/school/node_modules/is-potential-custom-element-name/README.md40
-rwxr-xr-xincludes/external/school/node_modules/is-potential-custom-element-name/index.js9
-rw-r--r--includes/external/school/node_modules/is-potential-custom-element-name/package.json35
4 files changed, 104 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt b/includes/external/school/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt
new file mode 100644
index 0000000..a41e0a7
--- /dev/null
+++ b/includes/external/school/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt
@@ -0,0 +1,20 @@
+Copyright Mathias Bynens <https://mathiasbynens.be/>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/includes/external/school/node_modules/is-potential-custom-element-name/README.md b/includes/external/school/node_modules/is-potential-custom-element-name/README.md
new file mode 100644
index 0000000..85a35a5
--- /dev/null
+++ b/includes/external/school/node_modules/is-potential-custom-element-name/README.md
@@ -0,0 +1,40 @@
+# is-potential-custom-element-name [![Build status](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name.svg?branch=master)](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name)
+
+_is-potential-custom-element-name_ checks whether a given string matches [the `PotentialCustomElementName` production](https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomelementname) as defined in the HTML Standard.
+
+## Installation
+
+To use _is-potential-custom-element-name_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):
+
+```bash
+$ npm install is-potential-custom-element-name
+```
+
+Then, `require` it:
+
+```js
+const isPotentialCustomElementName = require('is-potential-custom-element-name');
+```
+
+## Usage
+
+```js
+isPotentialCustomElementName('foo-bar');
+// → true
+isPotentialCustomElementName('Foo-bar');
+// → false
+isPotentialCustomElementName('baz-©');
+// → false
+isPotentialCustomElementName('annotation-xml');
+// → true
+```
+
+## Author
+
+| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
+|---|
+| [Mathias Bynens](https://mathiasbynens.be/) |
+
+## License
+
+_is-potential-custom-element-name_ is available under the [MIT](https://mths.be/mit) license.
diff --git a/includes/external/school/node_modules/is-potential-custom-element-name/index.js b/includes/external/school/node_modules/is-potential-custom-element-name/index.js
new file mode 100755
index 0000000..71417c6
--- /dev/null
+++ b/includes/external/school/node_modules/is-potential-custom-element-name/index.js
@@ -0,0 +1,9 @@
+// Generated using `npm run build`. Do not edit.
+
+var regex = /^[a-z](?:[\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/;
+
+var isPotentialCustomElementName = function(string) {
+ return regex.test(string);
+};
+
+module.exports = isPotentialCustomElementName;
diff --git a/includes/external/school/node_modules/is-potential-custom-element-name/package.json b/includes/external/school/node_modules/is-potential-custom-element-name/package.json
new file mode 100644
index 0000000..440a783
--- /dev/null
+++ b/includes/external/school/node_modules/is-potential-custom-element-name/package.json
@@ -0,0 +1,35 @@
+{
+ "name": "is-potential-custom-element-name",
+ "version": "1.0.1",
+ "description": "Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.",
+ "homepage": "https://github.com/mathiasbynens/is-potential-custom-element-name",
+ "main": "index.js",
+ "files": [
+ "LICENSE-MIT.txt",
+ "index.js"
+ ],
+ "keywords": [
+ "html",
+ "custom element",
+ "custom element name",
+ "web components"
+ ],
+ "license": "MIT",
+ "author": {
+ "name": "Mathias Bynens",
+ "url": "https://mathiasbynens.be/"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mathiasbynens/is-potential-custom-element-name.git"
+ },
+ "bugs": "https://github.com/mathiasbynens/is-potential-custom-element-name/issues",
+ "devDependencies": {
+ "mocha": "^2.2.1",
+ "regenerate": "^1.4.2"
+ },
+ "scripts": {
+ "build": "node build.js",
+ "test": "mocha"
+ }
+}