1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 21:00:04 +02:00

update some packages and remove node_modules from repo

This commit is contained in:
s2
2019-03-09 16:38:04 +01:00
parent 3dcadb39c2
commit d24a82e91e
94766 changed files with 290 additions and 858252 deletions

View File

@@ -1,6 +0,0 @@
component
build
node_modules
test.js
component.json
.gitignore

View File

@@ -1,3 +0,0 @@
language: node_js
node_js:
- "0.10"

19
app/node_modules/is-promise/LICENSE generated vendored
View File

@@ -1,19 +0,0 @@
Copyright (c) 2014 Forbes Lindesay
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.

View File

@@ -1,5 +0,0 @@
module.exports = isPromise;
function isPromise(obj) {
return obj && typeof obj.then === 'function';
}

View File

@@ -1,51 +0,0 @@
{
"_from": "is-promise@~1.0.0",
"_id": "is-promise@1.0.1",
"_inBundle": false,
"_integrity": "sha1-MVc3YcBX4zwukaq56W2gjO++duU=",
"_location": "/is-promise",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "is-promise@~1.0.0",
"name": "is-promise",
"escapedName": "is-promise",
"rawSpec": "~1.0.0",
"saveSpec": null,
"fetchSpec": "~1.0.0"
},
"_requiredBy": [
"/nodeify",
"/promise"
],
"_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz",
"_shasum": "31573761c057e33c2e91aab9e96da08cefbe76e5",
"_spec": "is-promise@~1.0.0",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\nodeify",
"author": {
"name": "ForbesLindesay"
},
"bugs": {
"url": "https://github.com/then/is-promise/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Test whether an object looks like a promises-a+ promise",
"devDependencies": {
"better-assert": "~0.1.0",
"mocha": "~1.7.4"
},
"homepage": "https://github.com/then/is-promise#readme",
"license": "MIT",
"main": "index.js",
"name": "is-promise",
"repository": {
"type": "git",
"url": "git+https://github.com/then/is-promise.git"
},
"scripts": {
"test": "mocha -R spec"
},
"version": "1.0.1"
}

View File

@@ -1,29 +0,0 @@
<a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" align="right" /></a>
# is-promise
Test whether an object looks like a promises-a+ promise
[![Build Status](https://img.shields.io/travis/then/is-promise/master.svg)](https://travis-ci.org/then/is-promise)
[![Dependency Status](https://img.shields.io/gemnasium/then/is-promise.svg)](https://gemnasium.com/then/is-promise)
[![NPM version](https://img.shields.io/npm/v/is-promise.svg)](https://www.npmjs.org/package/is-promise)
## Installation
$ npm install is-promise
You can also use it client side via npm.
## API
```javascript
var isPromise = require('is-promise');
isPromise({then:function () {...}});//=>true
isPromise(null);//=>false
isPromise({});//=>false
isPromise({then: true})//=>false
```
## License
MIT