summaryrefslogtreecommitdiffstats
path: root/node_modules/trim-right
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
commit81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch)
tree8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/trim-right
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/trim-right')
-rw-r--r--node_modules/trim-right/index.js10
-rw-r--r--node_modules/trim-right/license21
-rw-r--r--node_modules/trim-right/package.json69
-rw-r--r--node_modules/trim-right/readme.md30
4 files changed, 0 insertions, 130 deletions
diff --git a/node_modules/trim-right/index.js b/node_modules/trim-right/index.js
deleted file mode 100644
index 666f4b2..0000000
--- a/node_modules/trim-right/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-module.exports = function (str) {
- var tail = str.length;
-
- while (/[\s\uFEFF\u00A0]/.test(str[tail - 1])) {
- tail--;
- }
-
- return str.slice(0, tail);
-};
diff --git a/node_modules/trim-right/license b/node_modules/trim-right/license
deleted file mode 100644
index 654d0bf..0000000
--- a/node_modules/trim-right/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-right/package.json b/node_modules/trim-right/package.json
deleted file mode 100644
index 95ac529..0000000
--- a/node_modules/trim-right/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "_from": "trim-right@^1.0.1",
- "_id": "trim-right@1.0.1",
- "_inBundle": false,
- "_integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
- "_location": "/trim-right",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "trim-right@^1.0.1",
- "name": "trim-right",
- "escapedName": "trim-right",
- "rawSpec": "^1.0.1",
- "saveSpec": null,
- "fetchSpec": "^1.0.1"
- },
- "_requiredBy": [
- "/babel-generator"
- ],
- "_resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
- "_shasum": "cb2e1203067e0c8de1f614094b9fe45704ea6003",
- "_spec": "trim-right@^1.0.1",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-generator",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/trim-right/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Similar to String#trim() but removes only whitespace on the right",
- "devDependencies": {
- "ava": "0.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/trim-right#readme",
- "keywords": [
- "trim",
- "right",
- "string",
- "str",
- "util",
- "utils",
- "utility",
- "whitespace",
- "space",
- "remove",
- "delete"
- ],
- "license": "MIT",
- "name": "trim-right",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/trim-right.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.1"
-}
diff --git a/node_modules/trim-right/readme.md b/node_modules/trim-right/readme.md
deleted file mode 100644
index 0a4438a..0000000
--- a/node_modules/trim-right/readme.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# trim-right [![Build Status](https://travis-ci.org/sindresorhus/trim-right.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-right)
-
-> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only whitespace on the right
-
-
-## Install
-
-```
-$ npm install --save trim-right
-```
-
-
-## Usage
-
-```js
-var trimRight = require('trim-right');
-
-trimRight(' unicorn ');
-//=> ' unicorn'
-```
-
-
-## Related
-
-- [`trim-left`](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)