mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* first action! (#1)
This commit is contained in:
parent
8deacc95b1
commit
ace1e6a69a
3750 changed files with 1155519 additions and 0 deletions
25
node_modules/humanize-ms/History.md
generated
vendored
Normal file
25
node_modules/humanize-ms/History.md
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
1.2.1 / 2017-05-19
|
||||
==================
|
||||
|
||||
* fix: package.json to reduce vulnerabilities (#3)
|
||||
|
||||
1.2.0 / 2016-05-21
|
||||
==================
|
||||
|
||||
* feat: warn with stack
|
||||
|
||||
1.1.0 / 2016-04-04
|
||||
==================
|
||||
|
||||
* deps: upgrade ms to 0.7.0
|
||||
|
||||
1.0.1 / 2014-12-31
|
||||
==================
|
||||
|
||||
* feat(index.js): warn when result is undefined
|
||||
|
||||
1.0.0 / 2014-08-14
|
||||
==================
|
||||
|
||||
* init
|
17
node_modules/humanize-ms/LICENSE
generated
vendored
Normal file
17
node_modules/humanize-ms/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
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.
|
40
node_modules/humanize-ms/README.md
generated
vendored
Normal file
40
node_modules/humanize-ms/README.md
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
humanize-ms
|
||||
---------------
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![build status][travis-image]][travis-url]
|
||||
[![Test coverage][coveralls-image]][coveralls-url]
|
||||
[![Gittip][gittip-image]][gittip-url]
|
||||
[![David deps][david-image]][david-url]
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/humanize-ms.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/humanize-ms
|
||||
[travis-image]: https://img.shields.io/travis/node-modules/humanize-ms.svg?style=flat
|
||||
[travis-url]: https://travis-ci.org/node-modules/humanize-ms
|
||||
[coveralls-image]: https://img.shields.io/coveralls/node-modules/humanize-ms.svg?style=flat
|
||||
[coveralls-url]: https://coveralls.io/r/node-modules/humanize-ms?branch=master
|
||||
[gittip-image]: https://img.shields.io/gittip/dead-horse.svg?style=flat
|
||||
[gittip-url]: https://www.gittip.com/dead-horse/
|
||||
[david-image]: https://img.shields.io/david/node-modules/humanize-ms.svg?style=flat
|
||||
[david-url]: https://david-dm.org/node-modules/humanize-ms
|
||||
|
||||
transform humanize time to ms
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ npm install humanize-ms
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
```js
|
||||
var ms = require('humanize-ms');
|
||||
|
||||
ms('1s') // 1000
|
||||
ms(1000) // 1000
|
||||
```
|
||||
|
||||
### License
|
||||
|
||||
MIT
|
24
node_modules/humanize-ms/index.js
generated
vendored
Normal file
24
node_modules/humanize-ms/index.js
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*!
|
||||
* humanize-ms - index.js
|
||||
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
var util = require('util');
|
||||
var ms = require('ms');
|
||||
|
||||
module.exports = function (t) {
|
||||
if (typeof t === 'number') return t;
|
||||
var r = ms(t);
|
||||
if (r === undefined) {
|
||||
var err = new Error(util.format('humanize-ms(%j) result undefined', t));
|
||||
console.warn(err.stack);
|
||||
}
|
||||
return r;
|
||||
};
|
66
node_modules/humanize-ms/package.json
generated
vendored
Normal file
66
node_modules/humanize-ms/package.json
generated
vendored
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"_from": "humanize-ms@^1.2.1",
|
||||
"_id": "humanize-ms@1.2.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=",
|
||||
"_location": "/humanize-ms",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "humanize-ms@^1.2.1",
|
||||
"name": "humanize-ms",
|
||||
"escapedName": "humanize-ms",
|
||||
"rawSpec": "^1.2.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.2.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/agentkeepalive"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
|
||||
"_shasum": "c46e3159a293f6b896da29316d8b6fe8bb79bbed",
|
||||
"_spec": "humanize-ms@^1.2.1",
|
||||
"_where": "/home/shimataro/projects/actions/ssh-key-action/node_modules/agentkeepalive",
|
||||
"author": {
|
||||
"name": "dead-horse",
|
||||
"email": "dead_horse@qq.com",
|
||||
"url": "http://deadhorse.me"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/node-modules/humanize-ms/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"ms": "^2.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "transform humanize time to ms",
|
||||
"devDependencies": {
|
||||
"autod": "*",
|
||||
"beautify-benchmark": "~0.2.4",
|
||||
"benchmark": "~1.0.0",
|
||||
"istanbul": "*",
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/node-modules/humanize-ms#readme",
|
||||
"keywords": [
|
||||
"humanize",
|
||||
"ms"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "humanize-ms",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/node-modules/humanize-ms.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
"version": "1.2.1"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue