Bump @justinribeiro/lite-youtube from 0.9.0 to 0.9.1 in /build/javascript (#273)
* Commit updated Javascript packages * Bump preact from 10.5.4 to 10.5.5 in /build/javascript (#265) * Trying a new github workflow to install javascript packages * Bump tailwindcss from 1.9.2 to 1.9.4 in /build/javascript (#266) Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.9.2 to 1.9.4. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.2...v1.9.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Commit updated Javascript packages * Bump preact from 10.5.4 to 10.5.5 in /build/javascript Bumps [preact](https://github.com/preactjs/preact) from 10.5.4 to 10.5.5. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.5.4...10.5.5) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owncast <owncast@owncast.online> * Bump @justinribeiro/lite-youtube in /build/javascript Bumps [@justinribeiro/lite-youtube](https://github.com/justinribeiro/lite-youtube) from 0.9.0 to 0.9.1. - [Release notes](https://github.com/justinribeiro/lite-youtube/releases) - [Commits](https://github.com/justinribeiro/lite-youtube/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Owncast <owncast@owncast.online> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
27
build/javascript/node_modules/camelcase-css/README.md
generated
vendored
Normal file
27
build/javascript/node_modules/camelcase-css/README.md
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# camelcase-css [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
|
||||
|
||||
> Convert a kebab-cased CSS property into a camelCased DOM property.
|
||||
|
||||
|
||||
## Installation
|
||||
[Node.js](http://nodejs.org/) `>= 6` is required. Type this at the command line:
|
||||
```shell
|
||||
npm install camelcase-css
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
```js
|
||||
const camelCaseCSS = require('camelcase-css');
|
||||
|
||||
camelCaseCSS('-webkit-border-radius'); //-> WebkitBorderRadius
|
||||
camelCaseCSS('-moz-border-radius'); //-> MozBorderRadius
|
||||
camelCaseCSS('-ms-border-radius'); //-> msBorderRadius
|
||||
camelCaseCSS('border-radius'); //-> borderRadius
|
||||
```
|
||||
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/camelcase-css.svg
|
||||
[npm-url]: https://npmjs.org/package/camelcase-css
|
||||
[travis-image]: https://img.shields.io/travis/stevenvachon/camelcase-css.svg
|
||||
[travis-url]: https://travis-ci.org/stevenvachon/camelcase-css
|
||||
24
build/javascript/node_modules/camelcase-css/index-es5.js
generated
vendored
Normal file
24
build/javascript/node_modules/camelcase-css/index-es5.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
|
||||
var pattern = /-(\w|$)/g;
|
||||
|
||||
var callback = function callback(dashChar, char) {
|
||||
return char.toUpperCase();
|
||||
};
|
||||
|
||||
var camelCaseCSS = function camelCaseCSS(property) {
|
||||
property = property.toLowerCase();
|
||||
|
||||
// NOTE :: IE8's "styleFloat" is intentionally not supported
|
||||
if (property === "float") {
|
||||
return "cssFloat";
|
||||
}
|
||||
// Microsoft vendor-prefixes are uniquely cased
|
||||
else if (property.charCodeAt(0) === 45&& property.charCodeAt(1) === 109&& property.charCodeAt(2) === 115&& property.charCodeAt(3) === 45) {
|
||||
return property.substr(1).replace(pattern, callback);
|
||||
} else {
|
||||
return property.replace(pattern, callback);
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = camelCaseCSS;
|
||||
30
build/javascript/node_modules/camelcase-css/index.js
generated
vendored
Normal file
30
build/javascript/node_modules/camelcase-css/index.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
const pattern = /-(\w|$)/g;
|
||||
|
||||
const callback = (dashChar, char) => char.toUpperCase();
|
||||
|
||||
|
||||
|
||||
const camelCaseCSS = property =>
|
||||
{
|
||||
property = property.toLowerCase();
|
||||
|
||||
// NOTE :: IE8's "styleFloat" is intentionally not supported
|
||||
if (property === "float")
|
||||
{
|
||||
return "cssFloat";
|
||||
}
|
||||
// Microsoft vendor-prefixes are uniquely cased
|
||||
else if (property.startsWith("-ms-"))
|
||||
{
|
||||
return property.substr(1).replace(pattern, callback);
|
||||
}
|
||||
else
|
||||
{
|
||||
return property.replace(pattern, callback);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
module.exports = camelCaseCSS;
|
||||
21
build/javascript/node_modules/camelcase-css/license
generated
vendored
Normal file
21
build/javascript/node_modules/camelcase-css/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Steven Vachon <contact@svachon.com> (svachon.com)
|
||||
|
||||
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.
|
||||
73
build/javascript/node_modules/camelcase-css/package.json
generated
vendored
Normal file
73
build/javascript/node_modules/camelcase-css/package.json
generated
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"camelcase-css@2.0.1",
|
||||
"/home/runner/work/owncast/owncast/build/javascript"
|
||||
]
|
||||
],
|
||||
"_from": "camelcase-css@2.0.1",
|
||||
"_id": "camelcase-css@2.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
|
||||
"_location": "/camelcase-css",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "camelcase-css@2.0.1",
|
||||
"name": "camelcase-css",
|
||||
"escapedName": "camelcase-css",
|
||||
"rawSpec": "2.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/postcss-js"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
|
||||
"_spec": "2.0.1",
|
||||
"_where": "/home/runner/work/owncast/owncast/build/javascript",
|
||||
"author": {
|
||||
"name": "Steven Vachon",
|
||||
"email": "contact@svachon.com",
|
||||
"url": "https://www.svachon.com/"
|
||||
},
|
||||
"browser": "index-es5.js",
|
||||
"bugs": {
|
||||
"url": "https://github.com/stevenvachon/camelcase-css/issues"
|
||||
},
|
||||
"description": "Convert a kebab-cased CSS property into a camelCased DOM property.",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-plugin-optimize-starts-with": "^1.0.1",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"chai": "^4.1.2",
|
||||
"mocha": "^5.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index-es5.js"
|
||||
],
|
||||
"homepage": "https://github.com/stevenvachon/camelcase-css#readme",
|
||||
"keywords": [
|
||||
"camelcase",
|
||||
"case",
|
||||
"css",
|
||||
"dom"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "camelcase-css",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/stevenvachon/camelcase-css.git"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "babel index.js --out-file=index-es5.js --presets=env --plugins=optimize-starts-with",
|
||||
"test": "mocha test.js --check-leaks --bail"
|
||||
},
|
||||
"version": "2.0.1"
|
||||
}
|
||||
Reference in New Issue
Block a user