commit node_modules

This commit is contained in:
Bret Comnes
2020-02-10 12:50:13 -07:00
parent eb6412a365
commit 13eab06cd3
610 changed files with 203178 additions and 60 deletions

18
node_modules/nanoassert/.travis.yml generated vendored Normal file
View File

@@ -0,0 +1,18 @@
sudo: false
language: node_js
node_js:
- lts/*
jobs:
include:
- stage: npm release
node_js: node
script: echo "Deploying to npm ..."
deploy:
provider: npm
email:
secure: "Xxe2IEoT27tWFCCN3suwAtioeWSy5IhTEqqAIy6I6MbFAbqq4npU0lQ6mL5+kI5H6S2luFZwf1Eex1lXNfNAdGFI0sSnjOcKyw7HUsU/D7fNpQmtnnlSAJmz0z7qtWGzrNM/ihTFxAo5CYRJq2uemZ7tZTah0ePcXfiQxK3ZcnI2kS5yR+bQqZQVMy0yT0zHhTGoTsWaF3yAaZrlqLK5VNwIMahmRbz+BTtzNPgB9c9RA5tDla+GPevF3jaFw+Fwuv8M38idRERzJMJ7nYnBOC7XXssk25d+2ErsX61wqAxrXTaPmV9Mg6Njp5hLdl6PA2wMOSSHMfbqrRmjB2yvKzqvcB/Z34lhpd7/0PT2iWVA78aSGwLuTDIxcyeRNdYLMhVrMt/mPHTtzw2xckdg1NNkXEwyXowTLqMEB+8AnRt7Vuy/wOgw60l1AvYB3VJsmwkOR/bL3p8Q1weRj4hYJgB0W4YWeAh7d0NcvE4zwML849n5t37k1tHtcOY0ZVqea1ENJfja1IjFsNN4ki99y8wCm+ba5d+AJaqn0+ChluZfnQTqSqFHxfEEEy8v+TGXl+F8j6YT9iYfnyPHwYLjXx4GcFzlhSDiDF+Dxr155TU2XsSVB9zrL6Mv8TzOiazgosBFZO2Jz3EnWjEr21oFuKPHyb0FJ0nC5UMLHx3youU="
api_key: # 1ed6
secure: "zX7inYgOYTPpbMMU2BHPcGwbuPRadcFUfgANuvFk81ZWTgmoZkGSl/YUbacQmpg8QcuSvw6m5Gpv518hNKGHIlvKgf02PADJNoMoHNK+vpCzwhHxAEddAYO7Up18vNPs+erDlnDBa9LhnTbNeGh9bUvb1ylDDlvdsNCbDIU+dFsTxJCqG9jma0P5UJIbj6S+oMB+pVYZ64e82k7H3PE4PFctUPuahMcKhuO/rt9t/62IXzC7f1CIPwpm6bOfhkwtpO9UswyLkpscERIEWjLY5GgwIi/t4Zp3wV1J0EjczhA1+ZnUvCM9HelSAiWxqQrkCZSEFDI3Q9x9ZOgBCjwBt7BcNOb68UMASYFpVJZ4iVu+BmdhKPpSYqb+fIxxSFJuXOmND2wSNkxM/ETKkYRGu3rG9g52TMegtYYZXfD/oYLtozfdBVtCymjZ9Pt4Bw/IcpmcuS8gfWJqziXIlD+7hOaZHAwcTg7zpSQvnUN0pxcumztWCgSSUpIWffn2YdQRuM3ih7Za6Qeve7ZkuKdi6uzvuoLB8WXt6xy7X+KIG7Ng3LTvCWvIkBuOXNAV9sRyF5BNwm0QbVMAwYO5MeK2acUxOFxLFNQLEkl+2pKHWcDPAXFuX0sgRfCc336cCUAauN7B83IAScHGx50BjG4ldRPOPlXWQawRDcsBQm5h7W0="
on:
tags: true
node: node

13
node_modules/nanoassert/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,13 @@
Copyright (c) 2017, Emil Bay <github@tixz.dk>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

44
node_modules/nanoassert/README.md generated vendored Normal file
View File

@@ -0,0 +1,44 @@
# `nanoassert`
[![Build Status](https://travis-ci.org/emilbayes/nanoassert.svg?branch=master)](https://travis-ci.org/emilbayes/nanoassert)
> Nanoscale assertion module
## Usage
```js
var assert = require('nanoassert')
assert(a !== b, `${a} !== ${b}`)
```
## API
### `assert(declaration, [message])`
Assert that `declaration` is truthy otherwise throw `AssertionError` with
optional `message`. In Javascript runtimes that use v8, you will get a nicer
stack trace with this error.
If you want friendlier messages you can use template strings to show the
assertion made like in the example above.
## Why
I like to write public facing code very defensively, but have reservations about
the size incurred by the `assert` module. I only use the top-level `assert`
method anyway.
## `nanoassert@^1.1.0`
Docs for the previous version, which is used by many modules on npm, can be
[found here](https://github.com/emilbayes/nanoassert/tree/v1.1.0)
## Install
```sh
npm install nanoassert
```
## License
[ISC](LICENSE)

5
node_modules/nanoassert/example.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
var assert = require('.')
var a = 1
var b = 1
assert(a !== b, `${a} !== ${b}`)

18
node_modules/nanoassert/index.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
module.exports = assert
class AssertionError extends Error {}
AssertionError.prototype.name = 'AssertionError'
/**
* Minimal assert function
* @param {any} t Value to check if falsy
* @param {string=} m Optional assertion error message
* @throws {AssertionError}
*/
function assert (t, m) {
if (!t) {
var err = new AssertionError(m)
if (Error.captureStackTrace) Error.captureStackTrace(err, assert)
throw err
}
}

59
node_modules/nanoassert/package.json generated vendored Normal file
View File

@@ -0,0 +1,59 @@
{
"_from": "nanoassert@^2.0.0",
"_id": "nanoassert@2.0.0",
"_inBundle": false,
"_integrity": "sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==",
"_location": "/nanoassert",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "nanoassert@^2.0.0",
"name": "nanoassert",
"escapedName": "nanoassert",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/async-neocities-tmp"
],
"_resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz",
"_shasum": "a05f86de6c7a51618038a620f88878ed1e490c09",
"_spec": "nanoassert@^2.0.0",
"_where": "/Users/bret/repos/deploy-to-neocities/node_modules/async-neocities-tmp",
"author": {
"name": "Emil Bay",
"email": "github@tixz.dk"
},
"bugs": {
"url": "https://github.com/emilbayes/nanoassert/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Nanoscale assertion module",
"devDependencies": {
"tape": "^4.9.1"
},
"homepage": "https://github.com/emilbayes/nanoassert#readme",
"keywords": [
"assert",
"unassert",
"power-assert",
"tiny",
"nano",
"pico"
],
"license": "ISC",
"main": "index.js",
"name": "nanoassert",
"repository": {
"type": "git",
"url": "git+https://github.com/emilbayes/nanoassert.git"
},
"scripts": {
"test": "tape test.js"
},
"version": "2.0.0"
}

27
node_modules/nanoassert/test.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
var assert = require('.')
var test = require('tape')
test('test', function (t) {
try {
assert(true === true) // test that it doesn't throw
t.pass('does not throw on truthy')
} catch (e) {
t.fail()
}
t.throws(assert.bind(null, false), 'throws on falsy')
try {
assert(false)
} catch (e) {
t.equal(e.message, '', 'default message')
}
try {
assert(false, 'hello world')
} catch (e) {
t.equal(e.message, 'hello world', 'custom message')
}
t.end()
})