summaryrefslogtreecommitdiff
path: root/node_modules/trim-repeated
diff options
context:
space:
mode:
authorLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
committerLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
commit726b81b19251674e149ccfbb1abacbd837fc6db0 (patch)
treefbdbb227dc01357eb76e8222d76185bc124c5ca6 /node_modules/trim-repeated
parent34f0890e175698940d49238097579f44e4d78c89 (diff)
downloadFlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.gz
FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.zst
Removed files that should not have been included in git
Diffstat (limited to 'node_modules/trim-repeated')
-rw-r--r--node_modules/trim-repeated/index.js10
-rw-r--r--node_modules/trim-repeated/license21
-rw-r--r--node_modules/trim-repeated/node_modules/escape-string-regexp/index.js11
-rw-r--r--node_modules/trim-repeated/node_modules/escape-string-regexp/license21
-rw-r--r--node_modules/trim-repeated/node_modules/escape-string-regexp/package.json41
-rw-r--r--node_modules/trim-repeated/node_modules/escape-string-regexp/readme.md27
-rw-r--r--node_modules/trim-repeated/package.json41
-rw-r--r--node_modules/trim-repeated/readme.md47
8 files changed, 0 insertions, 219 deletions
diff --git a/node_modules/trim-repeated/index.js b/node_modules/trim-repeated/index.js
deleted file mode 100644
index cb67a69..0000000
--- a/node_modules/trim-repeated/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-var escapeStringRegexp = require('escape-string-regexp');
-
-module.exports = function (str, target) {
- if (typeof str !== 'string' || typeof target !== 'string') {
- throw new TypeError('Expected a string');
- }
-
- return str.replace(new RegExp('(?:' + escapeStringRegexp(target) + '){2,}', 'g'), target);
-};
diff --git a/node_modules/trim-repeated/license b/node_modules/trim-repeated/license
deleted file mode 100644
index 654d0bf..0000000
--- a/node_modules/trim-repeated/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/trim-repeated/node_modules/escape-string-regexp/index.js b/node_modules/trim-repeated/node_modules/escape-string-regexp/index.js
deleted file mode 100644
index 7834bf9..0000000
--- a/node_modules/trim-repeated/node_modules/escape-string-regexp/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-
-var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
-
-module.exports = function (str) {
- if (typeof str !== 'string') {
- throw new TypeError('Expected a string');
- }
-
- return str.replace(matchOperatorsRe, '\\$&');
-};
diff --git a/node_modules/trim-repeated/node_modules/escape-string-regexp/license b/node_modules/trim-repeated/node_modules/escape-string-regexp/license
deleted file mode 100644
index 654d0bf..0000000
--- a/node_modules/trim-repeated/node_modules/escape-string-regexp/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/trim-repeated/node_modules/escape-string-regexp/package.json b/node_modules/trim-repeated/node_modules/escape-string-regexp/package.json
deleted file mode 100644
index f307df3..0000000
--- a/node_modules/trim-repeated/node_modules/escape-string-regexp/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "escape-string-regexp",
- "version": "1.0.5",
- "description": "Escape RegExp special characters",
- "license": "MIT",
- "repository": "sindresorhus/escape-string-regexp",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "maintainers": [
- "Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
- "Joshua Boy Nicolai Appelman <joshua@jbna.nl> (jbna.nl)"
- ],
- "engines": {
- "node": ">=0.8.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "escape",
- "regex",
- "regexp",
- "re",
- "regular",
- "expression",
- "string",
- "str",
- "special",
- "characters"
- ],
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- }
-}
diff --git a/node_modules/trim-repeated/node_modules/escape-string-regexp/readme.md b/node_modules/trim-repeated/node_modules/escape-string-regexp/readme.md
deleted file mode 100644
index 87ac82d..0000000
--- a/node_modules/trim-repeated/node_modules/escape-string-regexp/readme.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)
-
-> Escape RegExp special characters
-
-
-## Install
-
-```
-$ npm install --save escape-string-regexp
-```
-
-
-## Usage
-
-```js
-const escapeStringRegexp = require('escape-string-regexp');
-
-const escapedString = escapeStringRegexp('how much $ for a unicorn?');
-//=> 'how much \$ for a unicorn\?'
-
-new RegExp(escapedString);
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/trim-repeated/package.json b/node_modules/trim-repeated/package.json
deleted file mode 100644
index 0526c06..0000000
--- a/node_modules/trim-repeated/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "trim-repeated",
- "version": "1.0.0",
- "description": "Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz",
- "license": "MIT",
- "repository": "sindresorhus/trim-repeated",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "condense",
- "collapse",
- "compact",
- "consecutive",
- "repeated",
- "string",
- "str",
- "trim",
- "remove",
- "strip",
- "character",
- "char"
- ],
- "dependencies": {
- "escape-string-regexp": "^1.0.2"
- },
- "devDependencies": {
- "ava": "0.0.4"
- }
-}
diff --git a/node_modules/trim-repeated/readme.md b/node_modules/trim-repeated/readme.md
deleted file mode 100644
index 7f5a7a7..0000000
--- a/node_modules/trim-repeated/readme.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# trim-repeated [![Build Status](https://travis-ci.org/sindresorhus/trim-repeated.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-repeated)
-
-> Trim a consecutively repeated substring: `foo--bar---baz` → `foo-bar-baz`
-
-
-## Install
-
-```
-$ npm install --save trim-repeated
-```
-
-
-## Usage
-
-```js
-var trimRepeated = require('trim-repeated');
-
-trimRepeated('foo--bar---baz', '-');
-//=> 'foo-bar-baz'
-
-trimRepeated('foo@#@#baz', '@#');
-//=> 'foo@#baz'
-```
-
-### trimRepeated(input, target)
-
-#### input
-
-*Required*
-Type: `string`
-
-#### target
-
-*Required*
-Type: `string`
-
-Substring to trim.
-
-
-## Related
-
-- [`condense-whitespace`](https://github.com/sindresorhus/condense-whitespace) - Remove leading, trailing and repeated whitespace from a string
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)