add lisp packages
This commit is contained in:
34
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/ChangeLog
generated
vendored
Normal file
34
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/ChangeLog
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
2019.09.12, v2.0.1
|
||||
|
||||
feature:
|
||||
- (try-catch) add madrun
|
||||
- (package) eslint v6.3.0
|
||||
- (package) nyc v14.1.1
|
||||
- (package) nyc v12.0.2
|
||||
- (try-catch) changed the way result is returned
|
||||
|
||||
|
||||
2018.02.08, v2.0.0
|
||||
|
||||
feature:
|
||||
- (try-catch) changed the way arguments returned
|
||||
|
||||
|
||||
2014.11.24, v1.0.2
|
||||
|
||||
feature:
|
||||
- (trammel) rm util-io
|
||||
- (size) rm exec
|
||||
|
||||
|
||||
2014.11.20, v1.0.1
|
||||
|
||||
feature:
|
||||
- (trammel) util-io v1.6.3
|
||||
|
||||
|
||||
2014.11.19, v1.0.0
|
||||
|
||||
feature:
|
||||
- (size) trammel.get -> trammel
|
||||
|
||||
21
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/LICENSE
generated
vendored
Normal file
21
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2018 coderaiser
|
||||
|
||||
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.
|
||||
42
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/README.md
generated
vendored
Normal file
42
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/README.md
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# Try Catch [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
|
||||
|
||||
[NPMIMGURL]: https://img.shields.io/npm/v/try-catch.svg?style=flat
|
||||
[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/try-catch/master.svg?style=flat
|
||||
[DependencyStatusIMGURL]: https://img.shields.io/david/coderaiser/try-catch.svg?style=flat
|
||||
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
|
||||
[NPMURL]: https://npmjs.org/package/try-catch "npm"
|
||||
[BuildStatusURL]: https://travis-ci.org/coderaiser/try-catch "Build Status"
|
||||
[DependencyStatusURL]: https://david-dm.org/coderaiser/try-catch "Dependency Status"
|
||||
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
|
||||
|
||||
[CoverageURL]: https://coveralls.io/github/coderaiser/readify?branch=master
|
||||
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/readify/badge.svg?branch=master&service=github
|
||||
|
||||
Functional `try-catch` wrapper
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm i try-catch
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const tryCatch = require('try-catch');
|
||||
const {parse} = JSON;
|
||||
const [error, result] = tryCatch(parse, 'hello');
|
||||
|
||||
if (error)
|
||||
console.error(error.message);
|
||||
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
- [try-to-catch](https://github.com/coderaiser/try-to-catch "TryToCatch") - functional try-catch wrapper for promises.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
12
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/lib/try-catch.js
generated
vendored
Normal file
12
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/lib/try-catch.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function tryCatch(fn) {
|
||||
var args = [].slice.call(arguments, 1);
|
||||
|
||||
try {
|
||||
return [null, fn.apply(null, args)];
|
||||
} catch(e) {
|
||||
return [e];
|
||||
}
|
||||
};
|
||||
|
||||
34
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/package.json
generated
vendored
Normal file
34
lisp/emacs-application-framework/app/mermaid/node_modules/try-catch/package.json
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "try-catch",
|
||||
"version": "2.0.1",
|
||||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
||||
"description": "functional try-catch wrapper",
|
||||
"homepage": "http://github.com/coderaiser/try-catch",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/coderaiser/try-catch.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "madrun test",
|
||||
"lint": "madrun lint",
|
||||
"fix:lint": "madrun fix:lint",
|
||||
"coverage": "madrun coverage",
|
||||
"report": "madrun report"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"coveralls": "^3.0.0",
|
||||
"eslint": "^6.3.0",
|
||||
"eslint-plugin-node": "^10.0.0",
|
||||
"eslint-plugin-putout": "^2.0.0",
|
||||
"madrun": "^3.0.3",
|
||||
"nyc": "^14.1.1",
|
||||
"putout": "^5.27.0",
|
||||
"supertape": "^1.2.3"
|
||||
},
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.4"
|
||||
},
|
||||
"main": "lib/try-catch.js"
|
||||
}
|
||||
Reference in New Issue
Block a user