UNPKG

minidev

Version:

支付宝小程序开发 cli(minidev)提供了常用的支付宝系小程序开发指令,能够方便地在各类平台上快速进行小程序的开发、预览、上传等操作。

582 lines (503 loc) 12.3 kB
/* object-assign (c) Sindre Sorhus @license MIT */ /*! * Array of passes. * * A `pass` is just a function that is executed on `req, res, options` * so that you can easily add new checks while still keeping the base * flexible. */ /*! * Array of passes. * * A `pass` is just a function that is executed on `req, socket, options` * so that you can easily add new checks while still keeping the base * flexible. */ /*! * Caron dimonio, con occhi di bragia * loro accennando, tutte le raccoglie; * batte col remo qualunque s’adagia * * Charon the demon, with the eyes of glede, * Beckoning to them, collects them all together, * Beats with his oar whoever lags behind * * Dante - The Divine Comedy (Canto III) */ /*! * Timm * * Immutability helpers with fast reads and acceptable writes. * * @copyright Guillermo Grau Panea 2016 * @license MIT */ /*! * XRegExp Prototype Methods v1.0.0 * (c) 2012 Steven Levithan <http://xregexp.com/> * MIT License */ /*! * XRegExp Unicode Base v1.0.0 * (c) 2008-2012 Steven Levithan <http://xregexp.com/> * MIT License * Uses Unicode 6.1 <http://unicode.org/> */ /*! * XRegExp Unicode Blocks v1.2.0 * (c) 2010-2012 Steven Levithan <http://xregexp.com/> * MIT License * Uses Unicode 6.1 <http://unicode.org/> */ /*! * XRegExp Unicode Categories v1.2.0 * (c) 2010-2012 Steven Levithan <http://xregexp.com/> * MIT License * Uses Unicode 6.1 <http://unicode.org/> */ /*! * XRegExp Unicode Properties v1.0.0 * (c) 2012 Steven Levithan <http://xregexp.com/> * MIT License * Uses Unicode 6.1 <http://unicode.org/> */ /*! * XRegExp Unicode Scripts v1.2.0 * (c) 2010-2012 Steven Levithan <http://xregexp.com/> * MIT License * Uses Unicode 6.1 <http://unicode.org/> */ /*! * XRegExp v2.0.0 * (c) 2007-2012 Steven Levithan <http://xregexp.com/> * MIT License */ /*! * XRegExp.build v0.1.0 * (c) 2012 Steven Levithan <http://xregexp.com/> * MIT License * Inspired by RegExp.create by Lea Verou <http://lea.verou.me/> */ /*! * XRegExp.matchRecursive v0.2.0 * (c) 2009-2012 Steven Levithan <http://xregexp.com/> * MIT License */ /*! * body-parser * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */ /*! * body-parser * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */ /*! * bytes * Copyright(c) 2012-2014 TJ Holowaychuk * Copyright(c) 2015 Jed Watson * MIT Licensed */ /*! * content-type * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ /*! * copy-to - index.js * Copyright(c) 2014 dead_horse <dead_horse@qq.com> * MIT Licensed */ /*! * depd * Copyright(c) 2014-2018 Douglas Christopher Wilson * MIT Licensed */ /*! * destroy * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015-2022 Douglas Christopher Wilson * MIT Licensed */ /*! * ee-first * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */ /*! * fill-range <https://github.com/jonschlinkert/fill-range> * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. */ /*! * http-errors * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2016 Douglas Christopher Wilson * MIT Licensed */ /*! * humanize-ms - index.js * Copyright(c) 2014 dead_horse <dead_horse@qq.com> * MIT Licensed */ /*! * is-extendable <https://github.com/jonschlinkert/is-extendable> * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ /*! * is-extglob <https://github.com/jonschlinkert/is-extglob> * * Copyright (c) 2014-2016, Jon Schlinkert. * Licensed under the MIT License. */ /*! * is-glob <https://github.com/jonschlinkert/is-glob> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ /*! * is-number <https://github.com/jonschlinkert/is-number> * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. */ /*! * media-typer * Copyright(c) 2014 Douglas Christopher Wilson * MIT Licensed */ /*! * mime-db * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015-2022 Douglas Christopher Wilson * MIT Licensed */ /*! * mime-types * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ /*! * on-finished * Copyright(c) 2013 Jonathan Ong * Copyright(c) 2014 Douglas Christopher Wilson * MIT Licensed */ /*! * raw-body * Copyright(c) 2013-2014 Jonathan Ong * Copyright(c) 2014-2022 Douglas Christopher Wilson * MIT Licensed */ /*! * statuses * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2016 Douglas Christopher Wilson * MIT Licensed */ /*! * to-regex-range <https://github.com/micromatch/to-regex-range> * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. */ /*! * toidentifier * Copyright(c) 2016 Douglas Christopher Wilson * MIT Licensed */ /*! * type-is * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */ /*! * unpipe * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ /*! * vary * Copyright(c) 2014-2017 Douglas Christopher Wilson * MIT Licensed */ /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */ /** * @fileoverview Main entrypoint for libraries using yargs-parser in Node.js * CJS and ESM environments. * * @license * Copyright (c) 2016, Contributors * SPDX-License-Identifier: ISC */ /** * @license * Copyright (c) 2016, Contributors * SPDX-License-Identifier: ISC */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * cie94.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * ciede2000.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * cmetric.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * common.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * constants.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * ditherErrorDiffusionArray.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * euclidean.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * helper.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * hueStatistics.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * iq.ts - Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * lab2rgb.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * lab2xyz.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * manhattanNeuQuant.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * nearestColor.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * palette.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * pngQuant.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * point.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * pointContainer.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * rgb2hsl.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * rgb2lab.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * rgb2xyz.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * ssim.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * wuQuant.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * xyz2lab.ts - part of Image Quantization Library */ /** * @preserve * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * xyz2rgb.ts - part of Image Quantization Library */ /** * @preserve * MIT License * * Copyright 2015-2018 Igor Bezkrovnyi * * 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. * * riemersma.ts - part of Image Quantization Library */ /** * @preserve TypeScript port: * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * colorHistogram.ts - part of Image Quantization Library */ /** * @preserve TypeScript port: * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * neuquant.ts - part of Image Quantization Library */ /** * @preserve TypeScript port: * Copyright 2015-2018 Igor Bezkrovnyi * All rights reserved. (MIT Licensed) * * rgbquant.ts - part of Image Quantization Library */ /** * Wrapper for built-in http.js to emulate the browser XMLHttpRequest object. * * This can be used with JS designed for browsers to improve reuse of code and * allow the use of existing libraries. * * Usage: include("XMLHttpRequest.js") and use XMLHttpRequest per W3C specs. * * @author Dan DeFelippi <dan@driverdan.com> * @contributor David Ellis <d.f.ellis@ieee.org> * @license MIT */ /**! * default-user-agent - index.js * * Copyright(c) fengmk2 and other contributors. * MIT Licensed * * Authors: * fengmk2 <fengmk2@gmail.com> (http://fengmk2.com) */