aboutsummaryrefslogtreecommitdiff
path: root/node_modules/boolean
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/boolean')
-rw-r--r--node_modules/boolean/.eslintrc.json3
-rw-r--r--node_modules/boolean/.releaserc.json3
-rw-r--r--node_modules/boolean/CHANGELOG.md13
-rw-r--r--node_modules/boolean/LICENSE.txt8
-rw-r--r--node_modules/boolean/README.md67
-rw-r--r--node_modules/boolean/build/lib/boolean.d.ts2
-rw-r--r--node_modules/boolean/build/lib/boolean.js16
-rw-r--r--node_modules/boolean/lib/boolean.ts17
-rw-r--r--node_modules/boolean/package.json70
-rw-r--r--node_modules/boolean/tsconfig.json16
10 files changed, 0 insertions, 215 deletions
diff --git a/node_modules/boolean/.eslintrc.json b/node_modules/boolean/.eslintrc.json
deleted file mode 100644
index 0b7481d..0000000
--- a/node_modules/boolean/.eslintrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "es/node"
-}
diff --git a/node_modules/boolean/.releaserc.json b/node_modules/boolean/.releaserc.json
deleted file mode 100644
index ca62656..0000000
--- a/node_modules/boolean/.releaserc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "semantic-release-configuration"
-}
diff --git a/node_modules/boolean/CHANGELOG.md b/node_modules/boolean/CHANGELOG.md
deleted file mode 100644
index 5b32423..0000000
--- a/node_modules/boolean/CHANGELOG.md
+++ /dev/null
@@ -1,13 +0,0 @@
-## [3.0.2](https://github.com/thenativeweb/boolean/compare/3.0.1...3.0.2) (2020-11-03)
-
-
-### Bug Fixes
-
-* Fix headline for robot section in readme. ([#191](https://github.com/thenativeweb/boolean/issues/191)) ([6b7b72b](https://github.com/thenativeweb/boolean/commit/6b7b72b6d5d5c1ad2251c5959b35c8c87b3421a5))
-
-## [3.0.1](https://github.com/thenativeweb/boolean/compare/3.0.0...3.0.1) (2020-02-11)
-
-
-### Bug Fixes
-
-* Simplify comparison code to not use unicode regexp flag ([#99](https://github.com/thenativeweb/boolean/issues/99)) ([2be2aeb](https://github.com/thenativeweb/boolean/commit/2be2aeb244c060eccb388dacc6903bbad193e745))
diff --git a/node_modules/boolean/LICENSE.txt b/node_modules/boolean/LICENSE.txt
deleted file mode 100644
index 523047a..0000000
--- a/node_modules/boolean/LICENSE.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-The MIT License (MIT)
-Copyright (c) 2014-2020 the native web.
-
-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/boolean/README.md b/node_modules/boolean/README.md
deleted file mode 100644
index 17384dc..0000000
--- a/node_modules/boolean/README.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# boolean
-
-boolean converts lots of things to boolean.
-
-## Status
-
-| Category | Status |
-| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
-| Version | [![npm](https://img.shields.io/npm/v/boolean)](https://www.npmjs.com/package/boolean) |
-| Dependencies | ![David](https://img.shields.io/david/thenativeweb/boolean) |
-| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/boolean) |
-| Build | ![GitHub Actions](https://github.com/thenativeweb/boolean/workflows/Release/badge.svg?branch=master) |
-| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/boolean) |
-
-## Installation
-
-```shell
-$ npm install boolean
-```
-
-## Quick start
-
-First you need to add a reference to boolean in your application:
-
-```javascript
-const { boolean } = require('boolean');
-```
-
-If you use TypeScript, use the following code instead:
-
-```typescript
-import { boolean } from 'boolean';
-```
-
-To verify a value for its boolean value, call the `boolean` function and provide the value in question as parameter.
-
-```javascript
-console.log(boolean('true')); // => true
-```
-
-The `boolean` function considers the following values to be equivalent to `true`:
-
-- `true` (boolean)
-- `'true'` (string)
-- `'TRUE'` (string)
-- `'t'` (string)
-- `'T'` (string)
-- `'yes'` (string)
-- `'YES'` (string)
-- `'y'` (string)
-- `'Y'` (string)
-- `'on'` (string)
-- `'ON'` (string)
-- `'1'` (string)
-- `1` (number)
-
-_Please note that if you provide a string, it will be trimmed._
-
-All other values, including `undefined` and `null` are considered to be `false`.
-
-## Running quality assurance
-
-To run quality assurance for this module use [roboter](https://www.npmjs.com/package/roboter):
-
-```shell
-$ npx roboter
-```
diff --git a/node_modules/boolean/build/lib/boolean.d.ts b/node_modules/boolean/build/lib/boolean.d.ts
deleted file mode 100644
index 379e720..0000000
--- a/node_modules/boolean/build/lib/boolean.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-declare const boolean: (value: any) => boolean;
-export { boolean };
diff --git a/node_modules/boolean/build/lib/boolean.js b/node_modules/boolean/build/lib/boolean.js
deleted file mode 100644
index 0dae924..0000000
--- a/node_modules/boolean/build/lib/boolean.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.boolean = void 0;
-const boolean = function (value) {
- if (typeof value === 'string') {
- return ['true', 't', 'yes', 'y', 'on', '1'].includes(value.trim().toLowerCase());
- }
- if (typeof value === 'number') {
- return value === 1;
- }
- if (typeof value === 'boolean') {
- return value;
- }
- return false;
-};
-exports.boolean = boolean;
diff --git a/node_modules/boolean/lib/boolean.ts b/node_modules/boolean/lib/boolean.ts
deleted file mode 100644
index ea3d92f..0000000
--- a/node_modules/boolean/lib/boolean.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-const boolean = function (value: any): boolean {
- if (typeof value === 'string') {
- return [ 'true', 't', 'yes', 'y', 'on', '1' ].includes(value.trim().toLowerCase());
- }
-
- if (typeof value === 'number') {
- return value === 1;
- }
-
- if (typeof value === 'boolean') {
- return value;
- }
-
- return false;
-};
-
-export { boolean };
diff --git a/node_modules/boolean/package.json b/node_modules/boolean/package.json
deleted file mode 100644
index 1c83d88..0000000
--- a/node_modules/boolean/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "_from": "boolean@^3.0.1",
- "_id": "[email protected]",
- "_inBundle": false,
- "_integrity": "sha512-RwywHlpCRc3/Wh81MiCKun4ydaIFyW5Ea6JbL6sRCVx5q5irDw7pMXBUFYF/jArQ6YrG36q0kpovc9P/Kd3I4g==",
- "_location": "/boolean",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "boolean@^3.0.1",
- "name": "boolean",
- "escapedName": "boolean",
- "rawSpec": "^3.0.1",
- "saveSpec": null,
- "fetchSpec": "^3.0.1"
- },
- "_requiredBy": [
- "/global-agent",
- "/roarr"
- ],
- "_resolved": "https://registry.npmjs.org/boolean/-/boolean-3.0.2.tgz",
- "_shasum": "df1baa18b6a2b0e70840475e1d93ec8fe75b2570",
- "_spec": "boolean@^3.0.1",
- "_where": "/Users/lucifer/Documents/styx/node_modules/global-agent",
- "bugs": {
- "url": "https://github.com/thenativeweb/boolean/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Golo Roden",
- "email": "[email protected]"
- },
- {
- "name": "Matthias Wagler",
- "email": "[email protected]"
- },
- {
- "name": "Ryan Smith",
- "email": "[email protected]"
- },
- {
- "name": "Thomas Schaaf",
- "email": "[email protected]"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "boolean converts lots of things to boolean.",
- "devDependencies": {
- "assertthat": "5.2.1",
- "roboter": "11.5.1",
- "semantic-release-configuration": "1.0.23"
- },
- "homepage": "https://github.com/thenativeweb/boolean#readme",
- "keywords": [
- "boolean",
- "parser"
- ],
- "license": "MIT",
- "main": "build/lib/boolean.js",
- "name": "boolean",
- "repository": {
- "type": "git",
- "url": "git://github.com/thenativeweb/boolean.git"
- },
- "types": "build/lib/boolean.d.ts",
- "version": "3.0.2"
-}
diff --git a/node_modules/boolean/tsconfig.json b/node_modules/boolean/tsconfig.json
deleted file mode 100644
index bc040d4..0000000
--- a/node_modules/boolean/tsconfig.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": ".",
- "declaration": true,
- "esModuleInterop": true,
- "lib": [ "esnext" ],
- "module": "commonjs",
- "outDir": "build",
- "resolveJsonModule": true,
- "strict": true,
- "target": "es2019"
- },
- "include": [
- "./**/*.ts"
- ]
-}