summaryrefslogtreecommitdiff
path: root/node_modules/camelcase
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-03-14 17:01:52 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-03-14 17:01:52 +0800
commit7f8f993637e698d63aeb2e08f053e0948d9f4d31 (patch)
tree52d5e508a4ff2e4fa80dde457bc52e662a3887ab /node_modules/camelcase
parent7210ae26624cc6c6ad6725040e388b31991b7907 (diff)
fixed minifier
Diffstat (limited to 'node_modules/camelcase')
-rw-r--r--node_modules/camelcase/index.js27
-rw-r--r--node_modules/camelcase/license21
-rw-r--r--node_modules/camelcase/package.json38
-rw-r--r--node_modules/camelcase/readme.md56
4 files changed, 0 insertions, 142 deletions
diff --git a/node_modules/camelcase/index.js b/node_modules/camelcase/index.js
deleted file mode 100644
index b46e1009..00000000
--- a/node_modules/camelcase/index.js
+++ /dev/null
@@ -1,27 +0,0 @@
-'use strict';
-module.exports = function () {
- var str = [].map.call(arguments, function (str) {
- return str.trim();
- }).filter(function (str) {
- return str.length;
- }).join('-');
-
- if (!str.length) {
- return '';
- }
-
- if (str.length === 1 || !(/[_.\- ]+/).test(str) ) {
- if (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {
- return str;
- }
-
- return str.toLowerCase();
- }
-
- return str
- .replace(/^[_.\- ]+/, '')
- .toLowerCase()
- .replace(/[_.\- ]+(\w|$)/g, function (m, p1) {
- return p1.toUpperCase();
- });
-};
diff --git a/node_modules/camelcase/license b/node_modules/camelcase/license
deleted file mode 100644
index 654d0bfe..00000000
--- a/node_modules/camelcase/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.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.
diff --git a/node_modules/camelcase/package.json b/node_modules/camelcase/package.json
deleted file mode 100644
index 34f75e74..00000000
--- a/node_modules/camelcase/package.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "name": "camelcase",
- "version": "1.2.1",
- "description": "Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar",
- "license": "MIT",
- "repository": "sindresorhus/camelcase",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "camelcase",
- "camel-case",
- "camel",
- "case",
- "dash",
- "hyphen",
- "dot",
- "underscore",
- "separator",
- "string",
- "text",
- "convert"
- ],
- "devDependencies": {
- "ava": "0.0.4"
- }
-}
diff --git a/node_modules/camelcase/readme.md b/node_modules/camelcase/readme.md
deleted file mode 100644
index 516dc398..00000000
--- a/node_modules/camelcase/readme.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# camelcase [![Build Status](https://travis-ci.org/sindresorhus/camelcase.svg?branch=master)](https://travis-ci.org/sindresorhus/camelcase)
-
-> Convert a dash/dot/underscore/space separated string to camelCase: `foo-bar` → `fooBar`
-
-
-## Install
-
-```sh
-$ npm install --save camelcase
-```
-
-
-## Usage
-
-```js
-var camelCase = require('camelcase');
-
-camelCase('foo-bar');
-//=> fooBar
-
-camelCase('foo_bar');
-//=> fooBar
-
-camelCase('Foo-Bar');
-//=> fooBar
-
-camelCase('--foo.bar');
-//=> fooBar
-
-camelCase('__foo__bar__');
-//=> fooBar
-
-camelCase('foo bar');
-//=> fooBar
-
-console.log(process.argv[3]);
-//=> --foo-bar
-camelCase(process.argv[3]);
-//=> fooBar
-
-camelCase('foo', 'bar');
-//=> fooBar
-
-camelCase('__foo__', '--bar');
-//=> fooBar
-```
-
-
-## Related
-
-See [`decamelize`](https://github.com/sindresorhus/decamelize) for the inverse.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)