瀏覽代碼

分批删除node_modules.bak数据3

wangsy 11 月之前
父節點
當前提交
2232b34393
共有 100 個文件被更改,包括 0 次插入13840 次删除
  1. 0 28
      node_modules.bak/@xtuc/ieee754/LICENSE
  2. 0 51
      node_modules.bak/@xtuc/ieee754/README.md
  3. 0 84
      node_modules.bak/@xtuc/ieee754/index.js
  4. 0 75
      node_modules.bak/@xtuc/ieee754/package.json
  5. 0 202
      node_modules.bak/@xtuc/long/LICENSE
  6. 0 257
      node_modules.bak/@xtuc/long/README.md
  7. 0 429
      node_modules.bak/@xtuc/long/index.d.ts
  8. 0 1
      node_modules.bak/@xtuc/long/index.js
  9. 0 68
      node_modules.bak/@xtuc/long/package.json
  10. 0 1405
      node_modules.bak/@xtuc/long/src/long.js
  11. 0 236
      node_modules.bak/accepts/HISTORY.md
  12. 0 23
      node_modules.bak/accepts/LICENSE
  13. 0 142
      node_modules.bak/accepts/README.md
  14. 0 238
      node_modules.bak/accepts/index.js
  15. 0 88
      node_modules.bak/accepts/package.json
  16. 0 79
      node_modules.bak/acorn/AUTHORS
  17. 0 508
      node_modules.bak/acorn/CHANGELOG.md
  18. 0 19
      node_modules.bak/acorn/LICENSE
  19. 0 467
      node_modules.bak/acorn/README.md
  20. 0 69
      node_modules.bak/acorn/bin/_acorn.js
  21. 0 4
      node_modules.bak/acorn/bin/acorn
  22. 0 21
      node_modules.bak/acorn/bin/run_test262.js
  23. 0 404
      node_modules.bak/acorn/bin/test262.whitelist
  24. 0 324
      node_modules.bak/acorn/package.json
  25. 0 21
      node_modules.bak/ajv-errors/LICENSE
  26. 0 318
      node_modules.bak/ajv-errors/README.md
  27. 0 48
      node_modules.bak/ajv-errors/index.js
  28. 0 372
      node_modules.bak/ajv-errors/lib/dot/errorMessage.jst
  29. 0 3
      node_modules.bak/ajv-errors/lib/dotjs/README.md
  30. 0 315
      node_modules.bak/ajv-errors/lib/dotjs/errorMessage.js
  31. 0 90
      node_modules.bak/ajv-errors/package.json
  32. 0 21
      node_modules.bak/ajv-keywords/LICENSE
  33. 0 836
      node_modules.bak/ajv-keywords/README.md
  34. 0 7
      node_modules.bak/ajv-keywords/ajv-keywords.d.ts
  35. 0 35
      node_modules.bak/ajv-keywords/index.js
  36. 0 101
      node_modules.bak/ajv-keywords/keywords/_formatLimit.js
  37. 0 15
      node_modules.bak/ajv-keywords/keywords/_util.js
  38. 0 18
      node_modules.bak/ajv-keywords/keywords/allRequired.js
  39. 0 24
      node_modules.bak/ajv-keywords/keywords/anyRequired.js
  40. 0 54
      node_modules.bak/ajv-keywords/keywords/deepProperties.js
  41. 0 57
      node_modules.bak/ajv-keywords/keywords/deepRequired.js
  42. 0 116
      node_modules.bak/ajv-keywords/keywords/dot/_formatLimit.jst
  43. 0 33
      node_modules.bak/ajv-keywords/keywords/dot/patternRequired.jst
  44. 0 71
      node_modules.bak/ajv-keywords/keywords/dot/switch.jst
  45. 0 3
      node_modules.bak/ajv-keywords/keywords/dotjs/README.md
  46. 0 178
      node_modules.bak/ajv-keywords/keywords/dotjs/_formatLimit.js
  47. 0 58
      node_modules.bak/ajv-keywords/keywords/dotjs/patternRequired.js
  48. 0 129
      node_modules.bak/ajv-keywords/keywords/dotjs/switch.js
  49. 0 72
      node_modules.bak/ajv-keywords/keywords/dynamicDefaults.js
  50. 0 3
      node_modules.bak/ajv-keywords/keywords/formatMaximum.js
  51. 0 3
      node_modules.bak/ajv-keywords/keywords/formatMinimum.js
  52. 0 22
      node_modules.bak/ajv-keywords/keywords/index.js
  53. 0 58
      node_modules.bak/ajv-keywords/keywords/instanceof.js
  54. 0 24
      node_modules.bak/ajv-keywords/keywords/oneRequired.js
  55. 0 21
      node_modules.bak/ajv-keywords/keywords/patternRequired.js
  56. 0 24
      node_modules.bak/ajv-keywords/keywords/prohibited.js
  57. 0 36
      node_modules.bak/ajv-keywords/keywords/range.js
  58. 0 36
      node_modules.bak/ajv-keywords/keywords/regexp.js
  59. 0 79
      node_modules.bak/ajv-keywords/keywords/select.js
  60. 0 38
      node_modules.bak/ajv-keywords/keywords/switch.js
  61. 0 80
      node_modules.bak/ajv-keywords/keywords/transform.js
  62. 0 32
      node_modules.bak/ajv-keywords/keywords/typeof.js
  63. 0 59
      node_modules.bak/ajv-keywords/keywords/uniqueItemProperties.js
  64. 0 89
      node_modules.bak/ajv-keywords/package.json
  65. 0 20
      node_modules.bak/ajv/.tonic_example.js
  66. 0 22
      node_modules.bak/ajv/LICENSE
  67. 0 1497
      node_modules.bak/ajv/README.md
  68. 0 397
      node_modules.bak/ajv/lib/ajv.d.ts
  69. 0 506
      node_modules.bak/ajv/lib/ajv.js
  70. 0 26
      node_modules.bak/ajv/lib/cache.js
  71. 0 90
      node_modules.bak/ajv/lib/compile/async.js
  72. 0 5
      node_modules.bak/ajv/lib/compile/equal.js
  73. 0 34
      node_modules.bak/ajv/lib/compile/error_classes.js
  74. 0 142
      node_modules.bak/ajv/lib/compile/formats.js
  75. 0 387
      node_modules.bak/ajv/lib/compile/index.js
  76. 0 270
      node_modules.bak/ajv/lib/compile/resolve.js
  77. 0 66
      node_modules.bak/ajv/lib/compile/rules.js
  78. 0 9
      node_modules.bak/ajv/lib/compile/schema_obj.js
  79. 0 20
      node_modules.bak/ajv/lib/compile/ucs2length.js
  80. 0 239
      node_modules.bak/ajv/lib/compile/util.js
  81. 0 49
      node_modules.bak/ajv/lib/data.js
  82. 0 37
      node_modules.bak/ajv/lib/definition_schema.js
  83. 0 113
      node_modules.bak/ajv/lib/dot/_limit.jst
  84. 0 12
      node_modules.bak/ajv/lib/dot/_limitItems.jst
  85. 0 12
      node_modules.bak/ajv/lib/dot/_limitLength.jst
  86. 0 12
      node_modules.bak/ajv/lib/dot/_limitProperties.jst
  87. 0 32
      node_modules.bak/ajv/lib/dot/allOf.jst
  88. 0 46
      node_modules.bak/ajv/lib/dot/anyOf.jst
  89. 0 51
      node_modules.bak/ajv/lib/dot/coerce.def
  90. 0 9
      node_modules.bak/ajv/lib/dot/comment.jst
  91. 0 11
      node_modules.bak/ajv/lib/dot/const.jst
  92. 0 55
      node_modules.bak/ajv/lib/dot/contains.jst
  93. 0 191
      node_modules.bak/ajv/lib/dot/custom.jst
  94. 0 47
      node_modules.bak/ajv/lib/dot/defaults.def
  95. 0 203
      node_modules.bak/ajv/lib/dot/definitions.def
  96. 0 79
      node_modules.bak/ajv/lib/dot/dependencies.jst
  97. 0 30
      node_modules.bak/ajv/lib/dot/enum.jst
  98. 0 194
      node_modules.bak/ajv/lib/dot/errors.def
  99. 0 106
      node_modules.bak/ajv/lib/dot/format.jst
  100. 0 0
      node_modules.bak/ajv/lib/dot/if.jst

+ 0 - 28
node_modules.bak/@xtuc/ieee754/LICENSE

@@ -1,28 +0,0 @@
-Copyright (c) 2008, Fair Oaks Labs, Inc.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-   this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright notice,
-   this list of conditions and the following disclaimer in the documentation
-   and/or other materials provided with the distribution.
-
- * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors
-   may be used to endorse or promote products derived from this software
-   without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.

+ 0 - 51
node_modules.bak/@xtuc/ieee754/README.md

@@ -1,51 +0,0 @@
-# ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
-
-[travis-image]: https://img.shields.io/travis/feross/ieee754/master.svg
-[travis-url]: https://travis-ci.org/feross/ieee754
-[npm-image]: https://img.shields.io/npm/v/ieee754.svg
-[npm-url]: https://npmjs.org/package/ieee754
-[downloads-image]: https://img.shields.io/npm/dm/ieee754.svg
-[downloads-url]: https://npmjs.org/package/ieee754
-[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
-[standard-url]: https://standardjs.com
-
-[![saucelabs][saucelabs-image]][saucelabs-url]
-
-[saucelabs-image]: https://saucelabs.com/browser-matrix/ieee754.svg
-[saucelabs-url]: https://saucelabs.com/u/ieee754
-
-### Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.
-
-## install
-
-```
-npm install ieee754
-```
-
-## methods
-
-`var ieee754 = require('ieee754')`
-
-The `ieee754` object has the following functions:
-
-```
-ieee754.read = function (buffer, offset, isLE, mLen, nBytes)
-ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes)
-```
-
-The arguments mean the following:
-
-- buffer = the buffer
-- offset = offset into the buffer
-- value = value to set (only for `write`)
-- isLe = is little endian?
-- mLen = mantissa length
-- nBytes = number of bytes
-
-## what is ieee754?
-
-The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. [Read more](http://en.wikipedia.org/wiki/IEEE_floating_point).
-
-## license
-
-BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc.

+ 0 - 84
node_modules.bak/@xtuc/ieee754/index.js

@@ -1,84 +0,0 @@
-export function read(buffer, offset, isLE, mLen, nBytes) {
-  var e, m
-  var eLen = (nBytes * 8) - mLen - 1
-  var eMax = (1 << eLen) - 1
-  var eBias = eMax >> 1
-  var nBits = -7
-  var i = isLE ? (nBytes - 1) : 0
-  var d = isLE ? -1 : 1
-  var s = buffer[offset + i]
-
-  i += d
-
-  e = s & ((1 << (-nBits)) - 1)
-  s >>= (-nBits)
-  nBits += eLen
-  for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
-
-  m = e & ((1 << (-nBits)) - 1)
-  e >>= (-nBits)
-  nBits += mLen
-  for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
-
-  if (e === 0) {
-    e = 1 - eBias
-  } else if (e === eMax) {
-    return m ? NaN : ((s ? -1 : 1) * Infinity)
-  } else {
-    m = m + Math.pow(2, mLen)
-    e = e - eBias
-  }
-  return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
-}
-
-export function write(buffer, value, offset, isLE, mLen, nBytes) {
-  var e, m, c
-  var eLen = (nBytes * 8) - mLen - 1
-  var eMax = (1 << eLen) - 1
-  var eBias = eMax >> 1
-  var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
-  var i = isLE ? 0 : (nBytes - 1)
-  var d = isLE ? 1 : -1
-  var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
-
-  value = Math.abs(value)
-
-  if (isNaN(value) || value === Infinity) {
-    m = isNaN(value) ? 1 : 0
-    e = eMax
-  } else {
-    e = Math.floor(Math.log(value) / Math.LN2)
-    if (value * (c = Math.pow(2, -e)) < 1) {
-      e--
-      c *= 2
-    }
-    if (e + eBias >= 1) {
-      value += rt / c
-    } else {
-      value += rt * Math.pow(2, 1 - eBias)
-    }
-    if (value * c >= 2) {
-      e++
-      c /= 2
-    }
-
-    if (e + eBias >= eMax) {
-      m = 0
-      e = eMax
-    } else if (e + eBias >= 1) {
-      m = ((value * c) - 1) * Math.pow(2, mLen)
-      e = e + eBias
-    } else {
-      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
-      e = 0
-    }
-  }
-
-  for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
-
-  e = (e << mLen) | m
-  eLen += mLen
-  for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
-
-  buffer[offset + i - d] |= s * 128
-}

+ 0 - 75
node_modules.bak/@xtuc/ieee754/package.json

@@ -1,75 +0,0 @@
-{
-  "_from": "@xtuc/ieee754@^1.2.0",
-  "_id": "@xtuc/ieee754@1.2.0",
-  "_inBundle": false,
-  "_integrity": "sha1-7vAUoxRa5Hehy8AM0eVSM23Ot5A=",
-  "_location": "/@xtuc/ieee754",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "@xtuc/ieee754@^1.2.0",
-    "name": "@xtuc/ieee754",
-    "escapedName": "@xtuc%2fieee754",
-    "scope": "@xtuc",
-    "rawSpec": "^1.2.0",
-    "saveSpec": null,
-    "fetchSpec": "^1.2.0"
-  },
-  "_requiredBy": [
-    "/@webassemblyjs/ieee754"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/@xtuc/ieee754/download/@xtuc/ieee754-1.2.0.tgz",
-  "_shasum": "eef014a3145ae477a1cbc00cd1e552336dceb790",
-  "_spec": "@xtuc/ieee754@^1.2.0",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\@webassemblyjs\\ieee754",
-  "author": {
-    "name": "Feross Aboukhadijeh",
-    "email": "feross@feross.org",
-    "url": "http://feross.org"
-  },
-  "bugs": {
-    "url": "https://github.com/feross/ieee754/issues"
-  },
-  "bundleDependencies": false,
-  "contributors": [
-    {
-      "name": "Romain Beauxis",
-      "email": "toots@rastageeks.org"
-    }
-  ],
-  "deprecated": false,
-  "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object",
-  "devDependencies": {
-    "@babel/cli": "^7.0.0-beta.54",
-    "@babel/core": "^7.0.0-beta.54",
-    "@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.54",
-    "airtap": "0.0.7",
-    "standard": "*",
-    "tape": "^4.0.0"
-  },
-  "homepage": "https://github.com/feross/ieee754#readme",
-  "keywords": [
-    "IEEE 754",
-    "buffer",
-    "convert",
-    "floating point",
-    "ieee754"
-  ],
-  "license": "BSD-3-Clause",
-  "main": "dist/index.cjs.js",
-  "module": "index.js",
-  "name": "@xtuc/ieee754",
-  "prepublish": "babel --plugins @babel/plugin-transform-modules-commonjs index.js -o dist/index.cjs.js",
-  "repository": {
-    "type": "git",
-    "url": "git://github.com/feross/ieee754.git"
-  },
-  "scripts": {
-    "test": "standard && npm run test-node && npm run test-browser",
-    "test-browser": "airtap -- test/*.js",
-    "test-browser-local": "airtap --local -- test/*.js",
-    "test-node": "tape test/*.js"
-  },
-  "version": "1.2.0"
-}

+ 0 - 202
node_modules.bak/@xtuc/long/LICENSE

@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.

+ 0 - 257
node_modules.bak/@xtuc/long/README.md

@@ -1,257 +0,0 @@
-long.js
-=======
-
-A Long class for representing a 64 bit two's-complement integer value derived from the [Closure Library](https://github.com/google/closure-library)
-for stand-alone use and extended with unsigned support.
-
-[![npm](https://img.shields.io/npm/v/long.svg)](https://www.npmjs.com/package/long) [![Build Status](https://travis-ci.org/dcodeIO/long.js.svg)](https://travis-ci.org/dcodeIO/long.js)
-
-Background
-----------
-
-As of [ECMA-262 5th Edition](http://ecma262-5.com/ELS5_HTML.htm#Section_8.5), "all the positive and negative integers
-whose magnitude is no greater than 2<sup>53</sup> are representable in the Number type", which is "representing the
-doubleprecision 64-bit format IEEE 754 values as specified in the IEEE Standard for Binary Floating-Point Arithmetic".
-The [maximum safe integer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
-in JavaScript is 2<sup>53</sup>-1.
-
-Example: 2<sup>64</sup>-1 is 1844674407370955**1615** but in JavaScript it evaluates to 1844674407370955**2000**.
-
-Furthermore, bitwise operators in JavaScript "deal only with integers in the range −2<sup>31</sup> through
-2<sup>31</sup>−1, inclusive, or in the range 0 through 2<sup>32</sup>−1, inclusive. These operators accept any value of
-the Number type but first convert each such value to one of 2<sup>32</sup> integer values."
-
-In some use cases, however, it is required to be able to reliably work with and perform bitwise operations on the full
-64 bits. This is where long.js comes into play.
-
-Usage
------
-
-The class is compatible with CommonJS and AMD loaders and is exposed globally as `Long` if neither is available.
-
-```javascript
-var Long = require("long");
-
-var longVal = new Long(0xFFFFFFFF, 0x7FFFFFFF);
-
-console.log(longVal.toString());
-...
-```
-
-API
----
-
-### Constructor
-
-* new **Long**(low: `number`, high: `number`, unsigned?: `boolean`)<br />
-  Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers. See the from* functions below for more convenient ways of constructing Longs.
-
-### Fields
-
-* Long#**low**: `number`<br />
-  The low 32 bits as a signed value.
-
-* Long#**high**: `number`<br />
-  The high 32 bits as a signed value.
-
-* Long#**unsigned**: `boolean`<br />
-  Whether unsigned or not.
-
-### Constants
-
-* Long.**ZERO**: `Long`<br />
-  Signed zero.
-
-* Long.**ONE**: `Long`<br />
-  Signed one.
-
-* Long.**NEG_ONE**: `Long`<br />
-  Signed negative one.
-
-* Long.**UZERO**: `Long`<br />
-  Unsigned zero.
-
-* Long.**UONE**: `Long`<br />
-  Unsigned one.
-
-* Long.**MAX_VALUE**: `Long`<br />
-  Maximum signed value.
-
-* Long.**MIN_VALUE**: `Long`<br />
-  Minimum signed value.
-
-* Long.**MAX_UNSIGNED_VALUE**: `Long`<br />
-  Maximum unsigned value.
-
-### Utility
-
-* Long.**isLong**(obj: `*`): `boolean`<br />
-  Tests if the specified object is a Long.
-
-* Long.**fromBits**(lowBits: `number`, highBits: `number`, unsigned?: `boolean`): `Long`<br />
-  Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.
-
-* Long.**fromBytes**(bytes: `number[]`, unsigned?: `boolean`, le?: `boolean`): `Long`<br />
-  Creates a Long from its byte representation.
-
-* Long.**fromBytesLE**(bytes: `number[]`, unsigned?: `boolean`): `Long`<br />
-  Creates a Long from its little endian byte representation.
-
-* Long.**fromBytesBE**(bytes: `number[]`, unsigned?: `boolean`): `Long`<br />
-  Creates a Long from its big endian byte representation.
-
-* Long.**fromInt**(value: `number`, unsigned?: `boolean`): `Long`<br />
-  Returns a Long representing the given 32 bit integer value.
-
-* Long.**fromNumber**(value: `number`, unsigned?: `boolean`): `Long`<br />
-  Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
-
-* Long.**fromString**(str: `string`, unsigned?: `boolean`, radix?: `number`)<br />
-  Long.**fromString**(str: `string`, radix: `number`)<br />
-  Returns a Long representation of the given string, written using the specified radix.
-
-* Long.**fromValue**(val: `*`, unsigned?: `boolean`): `Long`<br />
-  Converts the specified value to a Long using the appropriate from* function for its type.
-
-### Methods
-
-* Long#**add**(addend: `Long | number | string`): `Long`<br />
-  Returns the sum of this and the specified Long.
-
-* Long#**and**(other: `Long | number | string`): `Long`<br />
-  Returns the bitwise AND of this Long and the specified.
-
-* Long#**compare**/**comp**(other: `Long | number | string`): `number`<br />
-  Compares this Long's value with the specified's. Returns `0` if they are the same, `1` if the this is greater and `-1` if the given one is greater.
-
-* Long#**divide**/**div**(divisor: `Long | number | string`): `Long`<br />
-  Returns this Long divided by the specified.
-
-* Long#**equals**/**eq**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value equals the specified's.
-
-* Long#**getHighBits**(): `number`<br />
-  Gets the high 32 bits as a signed integer.
-
-* Long#**getHighBitsUnsigned**(): `number`<br />
-  Gets the high 32 bits as an unsigned integer.
-
-* Long#**getLowBits**(): `number`<br />
-  Gets the low 32 bits as a signed integer.
-
-* Long#**getLowBitsUnsigned**(): `number`<br />
-  Gets the low 32 bits as an unsigned integer.
-
-* Long#**getNumBitsAbs**(): `number`<br />
-  Gets the number of bits needed to represent the absolute value of this Long.
-
-* Long#**greaterThan**/**gt**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value is greater than the specified's.
-
-* Long#**greaterThanOrEqual**/**gte**/**ge**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value is greater than or equal the specified's.
-
-* Long#**isEven**(): `boolean`<br />
-  Tests if this Long's value is even.
-
-* Long#**isNegative**(): `boolean`<br />
-  Tests if this Long's value is negative.
-
-* Long#**isOdd**(): `boolean`<br />
-  Tests if this Long's value is odd.
-
-* Long#**isPositive**(): `boolean`<br />
-  Tests if this Long's value is positive.
-
-* Long#**isZero**/**eqz**(): `boolean`<br />
-  Tests if this Long's value equals zero.
-
-* Long#**lessThan**/**lt**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value is less than the specified's.
-
-* Long#**lessThanOrEqual**/**lte**/**le**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value is less than or equal the specified's.
-
-* Long#**modulo**/**mod**/**rem**(divisor: `Long | number | string`): `Long`<br />
-  Returns this Long modulo the specified.
-
-* Long#**multiply**/**mul**(multiplier: `Long | number | string`): `Long`<br />
-  Returns the product of this and the specified Long.
-
-* Long#**negate**/**neg**(): `Long`<br />
-  Negates this Long's value.
-
-* Long#**not**(): `Long`<br />
-  Returns the bitwise NOT of this Long.
-
-* Long#**notEquals**/**neq**/**ne**(other: `Long | number | string`): `boolean`<br />
-  Tests if this Long's value differs from the specified's.
-
-* Long#**or**(other: `Long | number | string`): `Long`<br />
-  Returns the bitwise OR of this Long and the specified.
-
-* Long#**shiftLeft**/**shl**(numBits: `Long | number | string`): `Long`<br />
-  Returns this Long with bits shifted to the left by the given amount.
-
-* Long#**shiftRight**/**shr**(numBits: `Long | number | string`): `Long`<br />
-  Returns this Long with bits arithmetically shifted to the right by the given amount.
-
-* Long#**shiftRightUnsigned**/**shru**/**shr_u**(numBits: `Long | number | string`): `Long`<br />
-  Returns this Long with bits logically shifted to the right by the given amount.
-
-* Long#**rotateLeft**/**rotl**(numBits: `Long | number | string`): `Long`<br />
-  Returns this Long with bits rotated to the left by the given amount.
-
-* Long#**rotateRight**/**rotr**(numBits: `Long | number | string`): `Long`<br />
-  Returns this Long with bits rotated to the right by the given amount.
-
-* Long#**subtract**/**sub**(subtrahend: `Long | number | string`): `Long`<br />
-  Returns the difference of this and the specified Long.
-
-* Long#**toBytes**(le?: `boolean`): `number[]`<br />
-  Converts this Long to its byte representation.
-
-* Long#**toBytesLE**(): `number[]`<br />
-  Converts this Long to its little endian byte representation.
-
-* Long#**toBytesBE**(): `number[]`<br />
-  Converts this Long to its big endian byte representation.
-
-* Long#**toInt**(): `number`<br />
-  Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
-
-* Long#**toNumber**(): `number`<br />
-  Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
-
-* Long#**toSigned**(): `Long`<br />
-  Converts this Long to signed.
-
-* Long#**toString**(radix?: `number`): `string`<br />
-  Converts the Long to a string written in the specified radix.
-
-* Long#**toUnsigned**(): `Long`<br />
-  Converts this Long to unsigned.
-
-* Long#**xor**(other: `Long | number | string`): `Long`<br />
-  Returns the bitwise XOR of this Long and the given one.
-
-WebAssembly support
--------------------
-
-[WebAssembly](http://webassembly.org) supports 64-bit integer arithmetic out of the box, hence a [tiny WebAssembly module](./src/wasm.wat) is used to compute operations like multiplication, division and remainder more efficiently (slow operations like division are around twice as fast), falling back to floating point based computations in JavaScript where WebAssembly is not yet supported, e.g., in older versions of node.
-
-Building
---------
-
-To build an UMD bundle to `dist/long.js`, run:
-
-```
-$> npm install
-$> npm run build
-```
-
-Running the [tests](./tests):
-
-```
-$> npm test
-```

+ 0 - 429
node_modules.bak/@xtuc/long/index.d.ts

@@ -1,429 +0,0 @@
-export = Long;
-export as namespace Long;
-
-declare namespace Long { }
-
-declare class Long {
-    /**
-     * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs.
-     */
-    constructor(low: number, high?: number, unsigned?: boolean);
-
-    /**
-     * Maximum unsigned value.
-     */
-    static MAX_UNSIGNED_VALUE: Long;
-
-    /**
-     * Maximum signed value.
-     */
-    static MAX_VALUE: Long;
-
-    /**
-     * Minimum signed value.
-     */
-    static MIN_VALUE: Long;
-
-    /**
-     * Signed negative one.
-     */
-    static NEG_ONE: Long;
-
-    /**
-     * Signed one.
-     */
-    static ONE: Long;
-
-    /**
-     * Unsigned one.
-     */
-    static UONE: Long;
-
-    /**
-     * Unsigned zero.
-     */
-    static UZERO: Long;
-
-    /**
-     * Signed zero
-     */
-    static ZERO: Long;
-
-    /**
-     * The high 32 bits as a signed value.
-     */
-    high: number;
-
-    /**
-     * The low 32 bits as a signed value.
-     */
-    low: number;
-
-    /**
-     * Whether unsigned or not.
-     */
-    unsigned: boolean;
-
-    /**
-     * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.
-     */
-    static fromBits(lowBits: number, highBits: number, unsigned?: boolean): Long;
-
-    /**
-     * Returns a Long representing the given 32 bit integer value.
-     */
-    static fromInt(value: number, unsigned?: boolean): Long;
-
-    /**
-     * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
-     */
-    static fromNumber(value: number, unsigned?: boolean): Long;
-
-    /**
-     * Returns a Long representation of the given string, written using the specified radix.
-     */
-    static fromString(str: string, unsigned?: boolean | number, radix?: number): Long;
-
-    /**
-     * Creates a Long from its byte representation.
-     */
-    static fromBytes(bytes: number[], unsigned?: boolean, le?: boolean): Long;
-
-    /**
-     * Creates a Long from its little endian byte representation.
-     */
-    static fromBytesLE(bytes: number[], unsigned?: boolean): Long;
-
-    /**
-     * Creates a Long from its big endian byte representation.
-     */
-    static fromBytesBE(bytes: number[], unsigned?: boolean): Long;
-
-    /**
-     * Tests if the specified object is a Long.
-     */
-    static isLong(obj: any): obj is Long;
-
-    /**
-     * Converts the specified value to a Long.
-     */
-    static fromValue(val: Long | number | string | {low: number, high: number, unsigned: boolean}, unsigned?: boolean): Long;
-
-    /**
-     * Returns the sum of this and the specified Long.
-     */
-    add(addend: number | Long | string): Long;
-
-    /**
-     * Returns the bitwise AND of this Long and the specified.
-     */
-    and(other: Long | number | string): Long;
-
-    /**
-     * Compares this Long's value with the specified's.
-     */
-    compare(other: Long | number | string): number;
-
-    /**
-     * Compares this Long's value with the specified's.
-     */
-    comp(other: Long | number | string): number;
-
-    /**
-     * Returns this Long divided by the specified.
-     */
-    divide(divisor: Long | number | string): Long;
-
-    /**
-     * Returns this Long divided by the specified.
-     */
-    div(divisor: Long | number | string): Long;
-
-    /**
-     * Tests if this Long's value equals the specified's.
-     */
-    equals(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value equals the specified's.
-     */
-    eq(other: Long | number | string): boolean;
-
-    /**
-     * Gets the high 32 bits as a signed integer.
-     */
-    getHighBits(): number;
-
-    /**
-     * Gets the high 32 bits as an unsigned integer.
-     */
-    getHighBitsUnsigned(): number;
-
-    /**
-     * Gets the low 32 bits as a signed integer.
-     */
-    getLowBits(): number;
-
-    /**
-     * Gets the low 32 bits as an unsigned integer.
-     */
-    getLowBitsUnsigned(): number;
-
-    /**
-     * Gets the number of bits needed to represent the absolute value of this Long.
-     */
-    getNumBitsAbs(): number;
-
-    /**
-     * Tests if this Long's value is greater than the specified's.
-     */
-    greaterThan(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is greater than the specified's.
-     */
-    gt(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is greater than or equal the specified's.
-     */
-    greaterThanOrEqual(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is greater than or equal the specified's.
-     */
-    gte(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is greater than or equal the specified's.
-     */
-    ge(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is even.
-     */
-    isEven(): boolean;
-
-    /**
-     * Tests if this Long's value is negative.
-     */
-    isNegative(): boolean;
-
-    /**
-     * Tests if this Long's value is odd.
-     */
-    isOdd(): boolean;
-
-    /**
-     * Tests if this Long's value is positive.
-     */
-    isPositive(): boolean;
-
-    /**
-     * Tests if this Long's value equals zero.
-     */
-    isZero(): boolean;
-
-    /**
-     * Tests if this Long's value equals zero.
-     */
-    eqz(): boolean;
-
-    /**
-     * Tests if this Long's value is less than the specified's.
-     */
-    lessThan(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is less than the specified's.
-     */
-    lt(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is less than or equal the specified's.
-     */
-    lessThanOrEqual(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is less than or equal the specified's.
-     */
-    lte(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value is less than or equal the specified's.
-     */
-    le(other: Long | number | string): boolean;
-
-    /**
-     * Returns this Long modulo the specified.
-     */
-    modulo(other: Long | number | string): Long;
-
-    /**
-     * Returns this Long modulo the specified.
-     */
-    mod(other: Long | number | string): Long;
-
-    /**
-     * Returns this Long modulo the specified.
-     */
-    rem(other: Long | number | string): Long;
-
-    /**
-     * Returns the product of this and the specified Long.
-     */
-    multiply(multiplier: Long | number | string): Long;
-
-    /**
-     * Returns the product of this and the specified Long.
-     */
-    mul(multiplier: Long | number | string): Long;
-
-    /**
-     * Negates this Long's value.
-     */
-    negate(): Long;
-
-    /**
-     * Negates this Long's value.
-     */
-    neg(): Long;
-
-    /**
-     * Returns the bitwise NOT of this Long.
-     */
-    not(): Long;
-
-    /**
-     * Tests if this Long's value differs from the specified's.
-     */
-    notEquals(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value differs from the specified's.
-     */
-    neq(other: Long | number | string): boolean;
-
-    /**
-     * Tests if this Long's value differs from the specified's.
-     */
-    ne(other: Long | number | string): boolean;
-
-    /**
-     * Returns the bitwise OR of this Long and the specified.
-     */
-    or(other: Long | number | string): Long;
-
-    /**
-     * Returns this Long with bits shifted to the left by the given amount.
-     */
-    shiftLeft(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits shifted to the left by the given amount.
-     */
-    shl(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits arithmetically shifted to the right by the given amount.
-     */
-    shiftRight(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits arithmetically shifted to the right by the given amount.
-     */
-    shr(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits logically shifted to the right by the given amount.
-     */
-    shiftRightUnsigned(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits logically shifted to the right by the given amount.
-     */
-    shru(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits logically shifted to the right by the given amount.
-     */
-    shr_u(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits rotated to the left by the given amount.
-     */
-    rotateLeft(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits rotated to the left by the given amount.
-     */
-    rotl(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits rotated to the right by the given amount.
-     */
-    rotateRight(numBits: number | Long): Long;
-
-    /**
-     * Returns this Long with bits rotated to the right by the given amount.
-     */
-    rotr(numBits: number | Long): Long;
-
-    /**
-     * Returns the difference of this and the specified Long.
-     */
-    subtract(subtrahend: number | Long | string): Long;
-
-    /**
-     * Returns the difference of this and the specified Long.
-     */
-    sub(subtrahend: number | Long |string): Long;
-
-    /**
-     * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
-     */
-    toInt(): number;
-
-    /**
-     * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
-     */
-    toNumber(): number;
-
-    /**
-     * Converts this Long to its byte representation.
-     */
-
-    toBytes(le?: boolean): number[];
-
-    /**
-     * Converts this Long to its little endian byte representation.
-     */
-
-    toBytesLE(): number[];
-
-    /**
-     * Converts this Long to its big endian byte representation.
-     */
-
-    toBytesBE(): number[];
-
-    /**
-     * Converts this Long to signed.
-     */
-    toSigned(): Long;
-
-    /**
-     * Converts the Long to a string written in the specified radix.
-     */
-    toString(radix?: number): string;
-
-    /**
-     * Converts this Long to unsigned.
-     */
-    toUnsigned(): Long;
-
-    /**
-     * Returns the bitwise XOR of this Long and the given one.
-     */
-    xor(other: Long | number | string): Long;
-}

+ 0 - 1
node_modules.bak/@xtuc/long/index.js

@@ -1 +0,0 @@
-module.exports = require("./src/long");

+ 0 - 68
node_modules.bak/@xtuc/long/package.json

@@ -1,68 +0,0 @@
-{
-  "_from": "@xtuc/long@4.2.2",
-  "_id": "@xtuc/long@4.2.2",
-  "_inBundle": false,
-  "_integrity": "sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=",
-  "_location": "/@xtuc/long",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "version",
-    "registry": true,
-    "raw": "@xtuc/long@4.2.2",
-    "name": "@xtuc/long",
-    "escapedName": "@xtuc%2flong",
-    "scope": "@xtuc",
-    "rawSpec": "4.2.2",
-    "saveSpec": null,
-    "fetchSpec": "4.2.2"
-  },
-  "_requiredBy": [
-    "/@webassemblyjs/leb128",
-    "/@webassemblyjs/wast-parser",
-    "/@webassemblyjs/wast-printer"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/@xtuc/long/download/@xtuc/long-4.2.2.tgz",
-  "_shasum": "d291c6a4e97989b5c61d9acf396ae4fe133a718d",
-  "_spec": "@xtuc/long@4.2.2",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\@webassemblyjs\\wast-parser",
-  "author": {
-    "name": "Daniel Wirtz",
-    "email": "dcode@dcode.io"
-  },
-  "bugs": {
-    "url": "https://github.com/dcodeIO/long.js/issues"
-  },
-  "bundleDependencies": false,
-  "dependencies": {},
-  "deprecated": false,
-  "description": "A Long class for representing a 64-bit two's-complement integer value.",
-  "devDependencies": {
-    "webpack": "^3.10.0"
-  },
-  "files": [
-    "index.js",
-    "LICENSE",
-    "README.md",
-    "src/long.js",
-    "dist/long.js",
-    "dist/long.js.map",
-    "index.d.ts"
-  ],
-  "homepage": "https://github.com/dcodeIO/long.js#readme",
-  "keywords": [
-    "math"
-  ],
-  "license": "Apache-2.0",
-  "main": "src/long.js",
-  "name": "@xtuc/long",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/dcodeIO/long.js.git"
-  },
-  "scripts": {
-    "build": "webpack",
-    "test": "node tests"
-  },
-  "types": "index.d.ts",
-  "version": "4.2.2"
-}

File diff suppressed because it is too large
+ 0 - 1405
node_modules.bak/@xtuc/long/src/long.js


+ 0 - 236
node_modules.bak/accepts/HISTORY.md

@@ -1,236 +0,0 @@
-1.3.7 / 2019-04-29
-==================
-
-  * deps: negotiator@0.6.2
-    - Fix sorting charset, encoding, and language with extra parameters
-
-1.3.6 / 2019-04-28
-==================
-
-  * deps: mime-types@~2.1.24
-    - deps: mime-db@~1.40.0
-
-1.3.5 / 2018-02-28
-==================
-
-  * deps: mime-types@~2.1.18
-    - deps: mime-db@~1.33.0
-
-1.3.4 / 2017-08-22
-==================
-
-  * deps: mime-types@~2.1.16
-    - deps: mime-db@~1.29.0
-
-1.3.3 / 2016-05-02
-==================
-
-  * deps: mime-types@~2.1.11
-    - deps: mime-db@~1.23.0
-  * deps: negotiator@0.6.1
-    - perf: improve `Accept` parsing speed
-    - perf: improve `Accept-Charset` parsing speed
-    - perf: improve `Accept-Encoding` parsing speed
-    - perf: improve `Accept-Language` parsing speed
-
-1.3.2 / 2016-03-08
-==================
-
-  * deps: mime-types@~2.1.10
-    - Fix extension of `application/dash+xml`
-    - Update primary extension for `audio/mp4`
-    - deps: mime-db@~1.22.0
-
-1.3.1 / 2016-01-19
-==================
-
-  * deps: mime-types@~2.1.9
-    - deps: mime-db@~1.21.0
-
-1.3.0 / 2015-09-29
-==================
-
-  * deps: mime-types@~2.1.7
-    - deps: mime-db@~1.19.0
-  * deps: negotiator@0.6.0
-    - Fix including type extensions in parameters in `Accept` parsing
-    - Fix parsing `Accept` parameters with quoted equals
-    - Fix parsing `Accept` parameters with quoted semicolons
-    - Lazy-load modules from main entry point
-    - perf: delay type concatenation until needed
-    - perf: enable strict mode
-    - perf: hoist regular expressions
-    - perf: remove closures getting spec properties
-    - perf: remove a closure from media type parsing
-    - perf: remove property delete from media type parsing
-
-1.2.13 / 2015-09-06
-===================
-
-  * deps: mime-types@~2.1.6
-    - deps: mime-db@~1.18.0
-
-1.2.12 / 2015-07-30
-===================
-
-  * deps: mime-types@~2.1.4
-    - deps: mime-db@~1.16.0
-
-1.2.11 / 2015-07-16
-===================
-
-  * deps: mime-types@~2.1.3
-    - deps: mime-db@~1.15.0
-
-1.2.10 / 2015-07-01
-===================
-
-  * deps: mime-types@~2.1.2
-    - deps: mime-db@~1.14.0
-
-1.2.9 / 2015-06-08
-==================
-
-  * deps: mime-types@~2.1.1
-    - perf: fix deopt during mapping
-
-1.2.8 / 2015-06-07
-==================
-
-  * deps: mime-types@~2.1.0
-    - deps: mime-db@~1.13.0
-  * perf: avoid argument reassignment & argument slice
-  * perf: avoid negotiator recursive construction
-  * perf: enable strict mode
-  * perf: remove unnecessary bitwise operator
-
-1.2.7 / 2015-05-10
-==================
-
-  * deps: negotiator@0.5.3
-    - Fix media type parameter matching to be case-insensitive
-
-1.2.6 / 2015-05-07
-==================
-
-  * deps: mime-types@~2.0.11
-    - deps: mime-db@~1.9.1
-  * deps: negotiator@0.5.2
-    - Fix comparing media types with quoted values
-    - Fix splitting media types with quoted commas
-
-1.2.5 / 2015-03-13
-==================
-
-  * deps: mime-types@~2.0.10
-    - deps: mime-db@~1.8.0
-
-1.2.4 / 2015-02-14
-==================
-
-  * Support Node.js 0.6
-  * deps: mime-types@~2.0.9
-    - deps: mime-db@~1.7.0
-  * deps: negotiator@0.5.1
-    - Fix preference sorting to be stable for long acceptable lists
-
-1.2.3 / 2015-01-31
-==================
-
-  * deps: mime-types@~2.0.8
-    - deps: mime-db@~1.6.0
-
-1.2.2 / 2014-12-30
-==================
-
-  * deps: mime-types@~2.0.7
-    - deps: mime-db@~1.5.0
-
-1.2.1 / 2014-12-30
-==================
-
-  * deps: mime-types@~2.0.5
-    - deps: mime-db@~1.3.1
-
-1.2.0 / 2014-12-19
-==================
-
-  * deps: negotiator@0.5.0
-    - Fix list return order when large accepted list
-    - Fix missing identity encoding when q=0 exists
-    - Remove dynamic building of Negotiator class
-
-1.1.4 / 2014-12-10
-==================
-
-  * deps: mime-types@~2.0.4
-    - deps: mime-db@~1.3.0
-
-1.1.3 / 2014-11-09
-==================
-
-  * deps: mime-types@~2.0.3
-    - deps: mime-db@~1.2.0
-
-1.1.2 / 2014-10-14
-==================
-
-  * deps: negotiator@0.4.9
-    - Fix error when media type has invalid parameter
-
-1.1.1 / 2014-09-28
-==================
-
-  * deps: mime-types@~2.0.2
-    - deps: mime-db@~1.1.0
-  * deps: negotiator@0.4.8
-    - Fix all negotiations to be case-insensitive
-    - Stable sort preferences of same quality according to client order
-
-1.1.0 / 2014-09-02
-==================
-
-  * update `mime-types`
-
-1.0.7 / 2014-07-04
-==================
-
-  * Fix wrong type returned from `type` when match after unknown extension
-
-1.0.6 / 2014-06-24
-==================
-
-  * deps: negotiator@0.4.7
-
-1.0.5 / 2014-06-20
-==================
-
- * fix crash when unknown extension given
-
-1.0.4 / 2014-06-19
-==================
-
-  * use `mime-types`
-
-1.0.3 / 2014-06-11
-==================
-
-  * deps: negotiator@0.4.6
-    - Order by specificity when quality is the same
-
-1.0.2 / 2014-05-29
-==================
-
-  * Fix interpretation when header not in request
-  * deps: pin negotiator@0.4.5
-
-1.0.1 / 2014-01-18
-==================
-
-  * Identity encoding isn't always acceptable
-  * deps: negotiator@~0.4.0
-
-1.0.0 / 2013-12-27
-==================
-
-  * Genesis

+ 0 - 23
node_modules.bak/accepts/LICENSE

@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.

+ 0 - 142
node_modules.bak/accepts/README.md

@@ -1,142 +0,0 @@
-# accepts
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator).
-Extracted from [koa](https://www.npmjs.com/package/koa) for general use.
-
-In addition to negotiator, it allows:
-
-- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
-  as well as `('text/html', 'application/json')`.
-- Allows type shorthands such as `json`.
-- Returns `false` when no types match
-- Treats non-existent headers as `*`
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install accepts
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var accepts = require('accepts')
-```
-
-### accepts(req)
-
-Create a new `Accepts` object for the given `req`.
-
-#### .charset(charsets)
-
-Return the first accepted charset. If nothing in `charsets` is accepted,
-then `false` is returned.
-
-#### .charsets()
-
-Return the charsets that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .encoding(encodings)
-
-Return the first accepted encoding. If nothing in `encodings` is accepted,
-then `false` is returned.
-
-#### .encodings()
-
-Return the encodings that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .language(languages)
-
-Return the first accepted language. If nothing in `languages` is accepted,
-then `false` is returned.
-
-#### .languages()
-
-Return the languages that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .type(types)
-
-Return the first accepted type (and it is returned as the same text as what
-appears in the `types` array). If nothing in `types` is accepted, then `false`
-is returned.
-
-The `types` array can contain full MIME types or file extensions. Any value
-that is not a full MIME types is passed to `require('mime-types').lookup`.
-
-#### .types()
-
-Return the types that the request accepts, in the order of the client's
-preference (most preferred first).
-
-## Examples
-
-### Simple type negotiation
-
-This simple example shows how to use `accepts` to return a different typed
-respond body based on what the client wants to accept. The server lists it's
-preferences in order and will get back the best match between the client and
-server.
-
-```js
-var accepts = require('accepts')
-var http = require('http')
-
-function app (req, res) {
-  var accept = accepts(req)
-
-  // the order of this list is significant; should be server preferred order
-  switch (accept.type(['json', 'html'])) {
-    case 'json':
-      res.setHeader('Content-Type', 'application/json')
-      res.write('{"hello":"world!"}')
-      break
-    case 'html':
-      res.setHeader('Content-Type', 'text/html')
-      res.write('<b>hello, world!</b>')
-      break
-    default:
-      // the fallback is text/plain, so no need to specify it above
-      res.setHeader('Content-Type', 'text/plain')
-      res.write('hello, world!')
-      break
-  }
-
-  res.end()
-}
-
-http.createServer(app).listen(3000)
-```
-
-You can test this out with the cURL program:
-```sh
-curl -I -H'Accept: text/html' http://localhost:3000/
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master
-[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master
-[node-version-image]: https://badgen.net/npm/node/accepts
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/accepts
-[npm-url]: https://npmjs.org/package/accepts
-[npm-version-image]: https://badgen.net/npm/v/accepts
-[travis-image]: https://badgen.net/travis/jshttp/accepts/master
-[travis-url]: https://travis-ci.org/jshttp/accepts

+ 0 - 238
node_modules.bak/accepts/index.js

@@ -1,238 +0,0 @@
-/*!
- * accepts
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Negotiator = require('negotiator')
-var mime = require('mime-types')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Accepts
-
-/**
- * Create a new Accepts object for the given req.
- *
- * @param {object} req
- * @public
- */
-
-function Accepts (req) {
-  if (!(this instanceof Accepts)) {
-    return new Accepts(req)
-  }
-
-  this.headers = req.headers
-  this.negotiator = new Negotiator(req)
-}
-
-/**
- * Check if the given `type(s)` is acceptable, returning
- * the best match when true, otherwise `undefined`, in which
- * case you should respond with 406 "Not Acceptable".
- *
- * The `type` value may be a single mime type string
- * such as "application/json", the extension name
- * such as "json" or an array `["json", "html", "text/plain"]`. When a list
- * or array is given the _best_ match, if any is returned.
- *
- * Examples:
- *
- *     // Accept: text/html
- *     this.types('html');
- *     // => "html"
- *
- *     // Accept: text/*, application/json
- *     this.types('html');
- *     // => "html"
- *     this.types('text/html');
- *     // => "text/html"
- *     this.types('json', 'text');
- *     // => "json"
- *     this.types('application/json');
- *     // => "application/json"
- *
- *     // Accept: text/*, application/json
- *     this.types('image/png');
- *     this.types('png');
- *     // => undefined
- *
- *     // Accept: text/*;q=.5, application/json
- *     this.types(['html', 'json']);
- *     this.types('html', 'json');
- *     // => "json"
- *
- * @param {String|Array} types...
- * @return {String|Array|Boolean}
- * @public
- */
-
-Accepts.prototype.type =
-Accepts.prototype.types = function (types_) {
-  var types = types_
-
-  // support flattened arguments
-  if (types && !Array.isArray(types)) {
-    types = new Array(arguments.length)
-    for (var i = 0; i < types.length; i++) {
-      types[i] = arguments[i]
-    }
-  }
-
-  // no types, return all requested types
-  if (!types || types.length === 0) {
-    return this.negotiator.mediaTypes()
-  }
-
-  // no accept header, return first given type
-  if (!this.headers.accept) {
-    return types[0]
-  }
-
-  var mimes = types.map(extToMime)
-  var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))
-  var first = accepts[0]
-
-  return first
-    ? types[mimes.indexOf(first)]
-    : false
-}
-
-/**
- * Return accepted encodings or best fit based on `encodings`.
- *
- * Given `Accept-Encoding: gzip, deflate`
- * an array sorted by quality is returned:
- *
- *     ['gzip', 'deflate']
- *
- * @param {String|Array} encodings...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.encoding =
-Accepts.prototype.encodings = function (encodings_) {
-  var encodings = encodings_
-
-  // support flattened arguments
-  if (encodings && !Array.isArray(encodings)) {
-    encodings = new Array(arguments.length)
-    for (var i = 0; i < encodings.length; i++) {
-      encodings[i] = arguments[i]
-    }
-  }
-
-  // no encodings, return all requested encodings
-  if (!encodings || encodings.length === 0) {
-    return this.negotiator.encodings()
-  }
-
-  return this.negotiator.encodings(encodings)[0] || false
-}
-
-/**
- * Return accepted charsets or best fit based on `charsets`.
- *
- * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`
- * an array sorted by quality is returned:
- *
- *     ['utf-8', 'utf-7', 'iso-8859-1']
- *
- * @param {String|Array} charsets...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.charset =
-Accepts.prototype.charsets = function (charsets_) {
-  var charsets = charsets_
-
-  // support flattened arguments
-  if (charsets && !Array.isArray(charsets)) {
-    charsets = new Array(arguments.length)
-    for (var i = 0; i < charsets.length; i++) {
-      charsets[i] = arguments[i]
-    }
-  }
-
-  // no charsets, return all requested charsets
-  if (!charsets || charsets.length === 0) {
-    return this.negotiator.charsets()
-  }
-
-  return this.negotiator.charsets(charsets)[0] || false
-}
-
-/**
- * Return accepted languages or best fit based on `langs`.
- *
- * Given `Accept-Language: en;q=0.8, es, pt`
- * an array sorted by quality is returned:
- *
- *     ['es', 'pt', 'en']
- *
- * @param {String|Array} langs...
- * @return {Array|String}
- * @public
- */
-
-Accepts.prototype.lang =
-Accepts.prototype.langs =
-Accepts.prototype.language =
-Accepts.prototype.languages = function (languages_) {
-  var languages = languages_
-
-  // support flattened arguments
-  if (languages && !Array.isArray(languages)) {
-    languages = new Array(arguments.length)
-    for (var i = 0; i < languages.length; i++) {
-      languages[i] = arguments[i]
-    }
-  }
-
-  // no languages, return all requested languages
-  if (!languages || languages.length === 0) {
-    return this.negotiator.languages()
-  }
-
-  return this.negotiator.languages(languages)[0] || false
-}
-
-/**
- * Convert extnames to mime.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function extToMime (type) {
-  return type.indexOf('/') === -1
-    ? mime.lookup(type)
-    : type
-}
-
-/**
- * Check if mime is valid.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function validMime (type) {
-  return typeof type === 'string'
-}

+ 0 - 88
node_modules.bak/accepts/package.json

@@ -1,88 +0,0 @@
-{
-  "_from": "accepts@~1.3.7",
-  "_id": "accepts@1.3.7",
-  "_inBundle": false,
-  "_integrity": "sha1-UxvHJlF6OytB+FACHGzBXqq1B80=",
-  "_location": "/accepts",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "accepts@~1.3.7",
-    "name": "accepts",
-    "escapedName": "accepts",
-    "rawSpec": "~1.3.7",
-    "saveSpec": null,
-    "fetchSpec": "~1.3.7"
-  },
-  "_requiredBy": [
-    "/compression",
-    "/express",
-    "/serve-index"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/accepts/download/accepts-1.3.7.tgz",
-  "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd",
-  "_spec": "accepts@~1.3.7",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\express",
-  "bugs": {
-    "url": "https://github.com/jshttp/accepts/issues"
-  },
-  "bundleDependencies": false,
-  "contributors": [
-    {
-      "name": "Douglas Christopher Wilson",
-      "email": "doug@somethingdoug.com"
-    },
-    {
-      "name": "Jonathan Ong",
-      "email": "me@jongleberry.com",
-      "url": "http://jongleberry.com"
-    }
-  ],
-  "dependencies": {
-    "mime-types": "~2.1.24",
-    "negotiator": "0.6.2"
-  },
-  "deprecated": false,
-  "description": "Higher-level content negotiation",
-  "devDependencies": {
-    "deep-equal": "1.0.1",
-    "eslint": "5.16.0",
-    "eslint-config-standard": "12.0.0",
-    "eslint-plugin-import": "2.17.2",
-    "eslint-plugin-markdown": "1.0.0",
-    "eslint-plugin-node": "8.0.1",
-    "eslint-plugin-promise": "4.1.1",
-    "eslint-plugin-standard": "4.0.0",
-    "mocha": "6.1.4",
-    "nyc": "14.0.0"
-  },
-  "engines": {
-    "node": ">= 0.6"
-  },
-  "files": [
-    "LICENSE",
-    "HISTORY.md",
-    "index.js"
-  ],
-  "homepage": "https://github.com/jshttp/accepts#readme",
-  "keywords": [
-    "content",
-    "negotiation",
-    "accept",
-    "accepts"
-  ],
-  "license": "MIT",
-  "name": "accepts",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/jshttp/accepts.git"
-  },
-  "scripts": {
-    "lint": "eslint --plugin markdown --ext js,md .",
-    "test": "mocha --reporter spec --check-leaks --bail test/",
-    "test-cov": "nyc --reporter=html --reporter=text npm test",
-    "test-travis": "nyc --reporter=text npm test"
-  },
-  "version": "1.3.7"
-}

+ 0 - 79
node_modules.bak/acorn/AUTHORS

@@ -1,79 +0,0 @@
-List of Acorn contributors. Updated before every release.
-
-Adrian Heine
-Adrian Rakovsky
-Alistair Braidwood
-Amila Welihinda
-Andres Suarez
-Angelo
-Aparajita Fishman
-Arian Stolwijk
-Artem Govorov
-Boopesh Mahendran
-Bradley Heinz
-Brandon Mills
-Charles Hughes
-Charmander
-Chris McKnight
-Conrad Irwin
-Daniel Tschinder
-David Bonnet
-Domenico Matteo
-ehmicky
-Eugene Obrezkov
-Felix Maier
-Forbes Lindesay
-Gilad Peleg
-impinball
-Ingvar Stepanyan
-Jackson Ray Hamilton
-Jesse McCarthy
-Jiaxing Wang
-Joel Kemp
-Johannes Herr
-John-David Dalton
-Jordan Klassen
-Jürg Lehni
-Kai Cataldo
-keeyipchan
-Keheliya Gallaba
-Kevin Irish
-Kevin Kwok
-krator
-laosb
-luckyzeng
-Marek
-Marijn Haverbeke
-Martin Carlberg
-Mat Garcia
-Mathias Bynens
-Mathieu 'p01' Henri
-Matthew Bastien
-Max Schaefer
-Max Zerzouri
-Mihai Bazon
-Mike Rennie
-naoh
-Nicholas C. Zakas
-Nick Fitzgerald
-Olivier Thomann
-Oskar Schöldström
-Paul Harper
-Peter Rust
-PlNG
-Prayag Verma
-ReadmeCritic
-r-e-d
-Renée Kooi
-Richard Gibson
-Rich Harris
-Sebastian McKenzie
-Shahar Soel
-Sheel Bedi
-Simen Bekkhus
-Teddy Katz
-Timothy Gu
-Toru Nagashima
-Victor Homyakov
-Wexpo Lyu
-zsjforcn

+ 0 - 508
node_modules.bak/acorn/CHANGELOG.md

@@ -1,508 +0,0 @@
-## 5.7.3 (2018-09-10)
-
-### Bug fixes
-
-Fix failure to tokenize regexps after expressions like `x.of`.
-
-Better error message for unterminated template literals.
-	
-## 5.7.2 (2018-08-24)
-
-### Bug fixes
-
-Properly handle `allowAwaitOutsideFunction` in for statements.
-
-Treat function declarations at the top level of modules like let bindings.
-
-Don't allow async function declarations as the only statement under a label.
-
-## 5.7.1 (2018-06-15)
-
-### Bug fixes
-
-Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).
-
-## 5.7.0 (2018-06-15)
-
-### Bug fixes
-
-Fix crash in walker when walking a binding-less catch node.
-
-### New features
-
-Upgraded to Unicode 11.
-
-## 5.6.2 (2018-06-05)
-
-### Bug fixes
-
-In the walker, go back to allowing the `baseVisitor` argument to be null to default to the default base everywhere.
-
-## 5.6.1 (2018-06-01)
-
-### Bug fixes
-
-Fix regression when passing `null` as fourth argument to `walk.recursive`.
-
-## 5.6.0 (2018-05-31)
-
-### Bug fixes
-
-Fix a bug in the walker that caused a crash when walking an object pattern spread.
-
-### New features
-
-Allow U+2028 and U+2029 in string when ECMAVersion >= 10.
-
-Allow binding-less catch statements when ECMAVersion >= 10.
-
-Add `allowAwaitOutsideFunction` option for parsing top-level `await`.
-
-## 5.5.3 (2018-03-08)
-
-### Bug fixes
-
-A _second_ republish of the code in 5.5.1, this time with yarn, to hopefully get valid timestamps.
-
-## 5.5.2 (2018-03-08)
-
-### Bug fixes
-
-A republish of the code in 5.5.1 in an attempt to solve an issue with the file timestamps in the npm package being 0.
-
-## 5.5.1 (2018-03-06)
-
-### Bug fixes
-
-Fix regression in walker causing property values in object patterns to be walked as expressions.
-
-Fix misleading error message for octal escapes in template strings.
-
-## 5.5.0 (2018-02-27)
-
-### Bug fixes
-
-Support object spread in the AST walker.
-
-### New features
-
-The identifier character categorization is now based on Unicode version 10.
-
-Acorn will now validate the content of regular expressions, including new ES9 features.
-
-## 5.4.1 (2018-02-02)
-
-### Bug fixes
-
-5.4.0 somehow accidentally included an old version of walk.js.
-
-## 5.4.0 (2018-02-01)
-
-### Bug fixes
-
-Disallow duplicate or escaped flags on regular expressions.
-
-Disallow octal escapes in strings in strict mode.
-
-### New features
-
-Add support for async iteration.
-
-Add support for object spread and rest.
-
-## 5.3.0 (2017-12-28)
-
-### Bug fixes
-
-Fix parsing of floating point literals with leading zeroes in loose mode.
-
-Allow duplicate property names in object patterns.
-
-Don't allow static class methods named `prototype`.
-
-Disallow async functions directly under `if` or `else`.
-
-Parse right-hand-side of `for`/`of` as an assignment expression.
-
-Stricter parsing of `for`/`in`.
-
-Don't allow unicode escapes in contextual keywords.
-
-### New features
-
-Parsing class members was factored into smaller methods to allow plugins to hook into it.
-
-## 5.2.1 (2017-10-30)
-
-### Bug fixes
-
-Fix a token context corruption bug.
-
-## 5.2.0 (2017-10-30)
-
-### Bug fixes
-
-Fix token context tracking for `class` and `function` in property-name position.
-
-Make sure `%*` isn't parsed as a valid operator.
-
-The `full` and `fullAncestor` walkers no longer visit nodes multiple times.
-
-Allow shorthand properties `get` and `set` to be followed by default values.
-
-Disallow `super` when not in callee or object position.
-
-### New features
-
-Support [`directive` property](https://github.com/estree/estree/compare/b3de58c9997504d6fba04b72f76e6dd1619ee4eb...1da8e603237144f44710360f8feb7a9977e905e0) on directive expression statements.
-
-## 5.1.2 (2017-09-04)
-
-### Bug fixes
-
-Disable parsing of legacy HTML-style comments in modules.
-
-Fix parsing of async methods whose names are keywords.
-
-## 5.1.1 (2017-07-06)
-
-### Bug fixes
-
-Fix problem with disambiguating regexp and division after a class.
-
-## 5.1.0 (2017-07-05)
-
-### Bug fixes
-
-Fix tokenizing of regexps in an object-desctructuring `for`/`of` loop and after `yield`.
-
-Parse zero-prefixed numbers with non-octal digits as decimal.
-
-Allow object/array patterns in rest parameters.
-
-Don't error when `yield` is used as a property name.
-
-Allow `async` as a shorthand object property.
-
-Make the ES module version of the loose parser actually work.
-
-### New features
-
-Implement the [template literal revision proposal](https://github.com/tc39/proposal-template-literal-revision) for ES9.
-
-New walker functions `full` and `fullAncestor`.
-
-## 5.0.3 (2017-04-01)
-
-### Bug fixes
-
-Fix spurious duplicate variable definition errors for named functions.
-
-## 5.0.2 (2017-03-30)
-
-### Bug fixes
-
-A binary operator after a parenthesized arrow expression is no longer incorrectly treated as an error.
-
-## 5.0.0 (2017-03-28)
-
-### Bug fixes
-
-Raise an error for duplicated lexical bindings.
-
-Fix spurious error when an assignement expression occurred after a spread expression.
-
-Accept regular expressions after `of` (in `for`/`of`), `yield` (in a generator), and braced arrow functions.
-
-Allow labels in front or `var` declarations, even in strict mode.
-
-### Breaking changes
-
-Parse declarations following `export default` as declaration nodes, not expressions. This means that class and function declarations nodes can now have `null` as their `id`.
-
-## 4.0.11 (2017-02-07)
-
-### Bug fixes
-
-Allow all forms of member expressions to be parenthesized as lvalue.
-
-## 4.0.10 (2017-02-07)
-
-### Bug fixes
-
-Don't expect semicolons after default-exported functions or classes,
-even when they are expressions.
-
-Check for use of `'use strict'` directives in non-simple parameter
-functions, even when already in strict mode.
-
-## 4.0.9 (2017-02-06)
-
-### Bug fixes
-
-Fix incorrect error raised for parenthesized simple assignment
-targets, so that `(x) = 1` parses again.
-
-## 4.0.8 (2017-02-03)
-
-### Bug fixes
-
-Solve spurious parenthesized pattern errors by temporarily erring on
-the side of accepting programs that our delayed errors don't handle
-correctly yet.
-
-## 4.0.7 (2017-02-02)
-
-### Bug fixes
-
-Accept invalidly rejected code like `(x).y = 2` again.
-
-Don't raise an error when a function _inside_ strict code has a
-non-simple parameter list.
-
-## 4.0.6 (2017-02-02)
-
-### Bug fixes
-
-Fix exponential behavior (manifesting itself as a complete hang for
-even relatively small source files) introduced by the new 'use strict'
-check.
-
-## 4.0.5 (2017-02-02)
-
-### Bug fixes
-
-Disallow parenthesized pattern expressions.
-
-Allow keywords as export names.
-
-Don't allow the `async` keyword to be parenthesized.
-
-Properly raise an error when a keyword contains a character escape.
-
-Allow `"use strict"` to appear after other string literal expressions.
-
-Disallow labeled declarations.
-
-## 4.0.4 (2016-12-19)
-
-### Bug fixes
-
-Fix issue with loading acorn_loose.js with an AMD loader.
-
-Fix crash when `export` was followed by a keyword that can't be
-exported.
-
-## 4.0.3 (2016-08-16)
-
-### Bug fixes
-
-Allow regular function declarations inside single-statement `if`
-branches in loose mode. Forbid them entirely in strict mode.
-
-Properly parse properties named `async` in ES2017 mode.
-
-Fix bug where reserved words were broken in ES2017 mode.
-
-## 4.0.2 (2016-08-11)
-
-### Bug fixes
-
-Don't ignore period or 'e' characters after octal numbers.
-
-Fix broken parsing for call expressions in default parameter values
-of arrow functions.
-
-## 4.0.1 (2016-08-08)
-
-### Bug fixes
-
-Fix false positives in duplicated export name errors.
-
-## 4.0.0 (2016-08-07)
-
-### Breaking changes
-
-The default `ecmaVersion` option value is now 7.
-
-A number of internal method signatures changed, so plugins might need
-to be updated.
-
-### Bug fixes
-
-The parser now raises errors on duplicated export names.
-
-`arguments` and `eval` can now be used in shorthand properties.
-
-Duplicate parameter names in non-simple argument lists now always
-produce an error.
-
-### New features
-
-The `ecmaVersion` option now also accepts year-style version numbers
-(2015, etc).
-
-Support for `async`/`await` syntax when `ecmaVersion` is >= 8.
-
-Support for trailing commas in call expressions when `ecmaVersion`
-is >= 8.
-
-## 3.3.0 (2016-07-25)
-
-### Bug fixes
-
-Fix bug in tokenizing of regexp operator after a function declaration.
-
-Fix parser crash when parsing an array pattern with a hole.
-
-### New features
-
-Implement check against complex argument lists in functions that
-enable strict mode in ES7.
-
-## 3.2.0 (2016-06-07)
-
-### Bug fixes
-
-Improve handling of lack of unicode regexp support in host
-environment.
-
-Properly reject shorthand properties whose name is a keyword.
-
-Don't crash when the loose parser is called without options object.
-
-### New features
-
-Visitors created with `visit.make` now have their base as _prototype_,
-rather than copying properties into a fresh object.
-
-Make it possible to use `visit.ancestor` with a walk state.
-
-## 3.1.0 (2016-04-18)
-
-### Bug fixes
-
-Fix issue where the loose parser created invalid TemplateElement nodes
-for unclosed template literals.
-
-Properly tokenize the division operator directly after a function
-expression.
-
-Allow trailing comma in destructuring arrays.
-
-### New features
-
-The walker now allows defining handlers for `CatchClause` nodes.
-
-## 3.0.4 (2016-02-25)
-
-### Fixes
-
-Allow update expressions as left-hand-side of the ES7 exponential
-operator.
-
-## 3.0.2 (2016-02-10)
-
-### Fixes
-
-Fix bug that accidentally made `undefined` a reserved word when
-parsing ES7.
-
-## 3.0.0 (2016-02-10)
-
-### Breaking changes
-
-The default value of the `ecmaVersion` option is now 6 (used to be 5).
-
-Support for comprehension syntax (which was dropped from the draft
-spec) has been removed.
-
-### Fixes
-
-`let` and `yield` are now “contextual keywords”, meaning you can
-mostly use them as identifiers in ES5 non-strict code.
-
-A parenthesized class or function expression after `export default` is
-now parsed correctly.
-
-### New features
-
-When `ecmaVersion` is set to 7, Acorn will parse the exponentiation
-operator (`**`).
-
-The identifier character ranges are now based on Unicode 8.0.0.
-
-Plugins can now override the `raiseRecoverable` method to override the
-way non-critical errors are handled.
-
-## 2.7.0 (2016-01-04)
-
-### Fixes
-
-Stop allowing rest parameters in setters.
-
-Make sure the loose parser always attaches a `local` property to
-`ImportNamespaceSpecifier` nodes.
-
-Disallow `y` rexexp flag in ES5.
-
-Disallow `\00` and `\000` escapes in strict mode.
-
-Raise an error when an import name is a reserved word.
-
-## 2.6.4 (2015-11-12)
-
-### Fixes
-
-Fix crash in loose parser when parsing invalid object pattern.
-
-### New features
-
-Support plugins in the loose parser.
-
-## 2.6.2 (2015-11-10)
-
-### Fixes
-
-Don't crash when no options object is passed.
-
-## 2.6.0 (2015-11-09)
-
-### Fixes
-
-Add `await` as a reserved word in module sources.
-
-Disallow `yield` in a parameter default value for a generator.
-
-Forbid using a comma after a rest pattern in an array destructuring.
-
-### New features
-
-Support parsing stdin in command-line tool.
-
-## 2.5.2 (2015-10-27)
-
-### Fixes
-
-Fix bug where the walker walked an exported `let` statement as an
-expression.
-
-## 2.5.0 (2015-10-27)
-
-### Fixes
-
-Fix tokenizer support in the command-line tool.
-
-In the loose parser, don't allow non-string-literals as import
-sources.
-
-Stop allowing `new.target` outside of functions.
-
-Remove legacy `guard` and `guardedHandler` properties from try nodes.
-
-Stop allowing multiple `__proto__` properties on an object literal in
-strict mode.
-
-Don't allow rest parameters to be non-identifier patterns.
-
-Check for duplicate paramter names in arrow functions.

+ 0 - 19
node_modules.bak/acorn/LICENSE

@@ -1,19 +0,0 @@
-Copyright (C) 2012-2018 by various contributors (see AUTHORS)
-
-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.

+ 0 - 467
node_modules.bak/acorn/README.md

@@ -1,467 +0,0 @@
-# Acorn
-
-[![Build Status](https://travis-ci.org/acornjs/acorn.svg?branch=master)](https://travis-ci.org/acornjs/acorn)
-[![NPM version](https://img.shields.io/npm/v/acorn.svg)](https://www.npmjs.com/package/acorn)
-[![CDNJS](https://img.shields.io/cdnjs/v/acorn.svg)](https://cdnjs.com/libraries/acorn)  
-[Author funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?force)](https://marijnhaverbeke.nl/fund/)
-
-A tiny, fast JavaScript parser, written completely in JavaScript.
-
-## Community
-
-Acorn is open source software released under an
-[MIT license](https://github.com/acornjs/acorn/blob/master/LICENSE).
-
-You are welcome to
-[report bugs](https://github.com/acornjs/acorn/issues) or create pull
-requests on [github](https://github.com/acornjs/acorn). For questions
-and discussion, please use the
-[Tern discussion forum](https://discuss.ternjs.net).
-
-## Installation
-
-The easiest way to install acorn is with [`npm`][npm].
-
-[npm]: https://www.npmjs.com/
-
-```sh
-npm install acorn
-```
-
-Alternately, you can download the source and build acorn yourself:
-
-```sh
-git clone https://github.com/acornjs/acorn.git
-cd acorn
-npm install
-npm run build
-```
-
-## Components
-
-When run in a CommonJS (node.js) or AMD environment, exported values
-appear in the interfaces exposed by the individual files, as usual.
-When loaded in the browser (Acorn works in any JS-enabled browser more
-recent than IE5) without any kind of module management, a single
-global object `acorn` will be defined, and all the exported properties
-will be added to that.
-
-### Main parser
-
-This is implemented in `dist/acorn.js`, and is what you get when you
-`require("acorn")` in node.js.
-
-**parse**`(input, options)` is used to parse a JavaScript program.
-The `input` parameter is a string, `options` can be undefined or an
-object setting some of the options listed below. The return value will
-be an abstract syntax tree object as specified by the
-[ESTree spec][estree].
-
-When  encountering   a  syntax   error,  the   parser  will   raise  a
-`SyntaxError` object with a meaningful  message. The error object will
-have a `pos` property that indicates the character offset at which the
-error occurred,  and a `loc`  object that contains a  `{line, column}`
-object referring to that same position.
-
-[estree]: https://github.com/estree/estree
-
-- **ecmaVersion**: Indicates the ECMAScript version to parse. Must be
-  either 3, 5, 6 (2015), 7 (2016), 8 (2017), 9 (2018) or 10 (2019, partial
-  support). This influences support for strict mode, the set of
-  reserved words, and support for new syntax features. Default is 7.
-
-  **NOTE**: Only 'stage 4' (finalized) ECMAScript features are being
-  implemented by Acorn.
-
-- **sourceType**: Indicate the mode the code should be parsed in. Can be
-  either `"script"` or `"module"`. This influences global strict mode
-  and parsing of `import` and `export` declarations.
-
-- **onInsertedSemicolon**: If given a callback, that callback will be
-  called whenever a missing semicolon is inserted by the parser. The
-  callback will be given the character offset of the point where the
-  semicolon is inserted as argument, and if `locations` is on, also a
-  `{line, column}` object representing this position.
-
-- **onTrailingComma**: Like `onInsertedSemicolon`, but for trailing
-  commas.
-
-- **allowReserved**: If `false`, using a reserved word will generate
-  an error. Defaults to `true` for `ecmaVersion` 3, `false` for higher
-  versions. When given the value `"never"`, reserved words and
-  keywords can also not be used as property names (as in Internet
-  Explorer's old parser).
-
-- **allowReturnOutsideFunction**: By default, a return statement at
-  the top level raises an error. Set this to `true` to accept such
-  code.
-
-- **allowImportExportEverywhere**: By default, `import` and `export`
-  declarations can only appear at a program's top level. Setting this
-  option to `true` allows them anywhere where a statement is allowed.
-  
-- **allowAwaitOutsideFunction**: By default, `await` expressions can only appear inside `async` functions. Setting this option to `true` allows to have top-level `await` expressions. They are still not allowed in non-`async` functions, though.
-
-- **allowHashBang**: When this is enabled (off by default), if the
-  code starts with the characters `#!` (as in a shellscript), the
-  first line will be treated as a comment.
-
-- **locations**: When `true`, each node has a `loc` object attached
-  with `start` and `end` subobjects, each of which contains the
-  one-based line and zero-based column numbers in `{line, column}`
-  form. Default is `false`.
-
-- **onToken**: If a function is passed for this option, each found
-  token will be passed in same format as tokens returned from
-  `tokenizer().getToken()`.
-
-  If array is passed, each found token is pushed to it.
-
-  Note that you are not allowed to call the parser from the
-  callback—that will corrupt its internal state.
-
-- **onComment**: If a function is passed for this option, whenever a
-  comment is encountered the function will be called with the
-  following parameters:
-
-  - `block`: `true` if the comment is a block comment, false if it
-    is a line comment.
-  - `text`: The content of the comment.
-  - `start`: Character offset of the start of the comment.
-  - `end`: Character offset of the end of the comment.
-
-  When the `locations` options is on, the `{line, column}` locations
-  of the comment’s start and end are passed as two additional
-  parameters.
-
-  If array is passed for this option, each found comment is pushed
-  to it as object in Esprima format:
-
-  ```javascript
-  {
-    "type": "Line" | "Block",
-    "value": "comment text",
-    "start": Number,
-    "end": Number,
-    // If `locations` option is on:
-    "loc": {
-      "start": {line: Number, column: Number}
-      "end": {line: Number, column: Number}
-    },
-    // If `ranges` option is on:
-    "range": [Number, Number]
-  }
-  ```
-
-  Note that you are not allowed to call the parser from the
-  callback—that will corrupt its internal state.
-
-- **ranges**: Nodes have their start and end characters offsets
-  recorded in `start` and `end` properties (directly on the node,
-  rather than the `loc` object, which holds line/column data. To also
-  add a [semi-standardized][range] `range` property holding a
-  `[start, end]` array with the same numbers, set the `ranges` option
-  to `true`.
-
-- **program**: It is possible to parse multiple files into a single
-  AST by passing the tree produced by parsing the first file as the
-  `program` option in subsequent parses. This will add the toplevel
-  forms of the parsed file to the "Program" (top) node of an existing
-  parse tree.
-
-- **sourceFile**: When the `locations` option is `true`, you can pass
-  this option to add a `source` attribute in every node’s `loc`
-  object. Note that the contents of this option are not examined or
-  processed in any way; you are free to use whatever format you
-  choose.
-
-- **directSourceFile**: Like `sourceFile`, but a `sourceFile` property
-  will be added (regardless of the `location` option) directly to the
-  nodes, rather than the `loc` object.
-
-- **preserveParens**: If this option is `true`, parenthesized expressions
-  are represented by (non-standard) `ParenthesizedExpression` nodes
-  that have a single `expression` property containing the expression
-  inside parentheses.
-
-[range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678
-
-**parseExpressionAt**`(input, offset, options)` will parse a single
-expression in a string, and return its AST. It will not complain if
-there is more of the string left after the expression.
-
-**getLineInfo**`(input, offset)` can be used to get a `{line,
-column}` object for a given program string and character offset.
-
-**tokenizer**`(input, options)` returns an object with a `getToken`
-method that can be called repeatedly to get the next token, a `{start,
-end, type, value}` object (with added `loc` property when the
-`locations` option is enabled and `range` property when the `ranges`
-option is enabled). When the token's type is `tokTypes.eof`, you
-should stop calling the method, since it will keep returning that same
-token forever.
-
-In ES6 environment, returned result can be used as any other
-protocol-compliant iterable:
-
-```javascript
-for (let token of acorn.tokenizer(str)) {
-  // iterate over the tokens
-}
-
-// transform code to array of tokens:
-var tokens = [...acorn.tokenizer(str)];
-```
-
-**tokTypes** holds an object mapping names to the token type objects
-that end up in the `type` properties of tokens.
-
-#### Note on using with [Escodegen][escodegen]
-
-Escodegen supports generating comments from AST, attached in
-Esprima-specific format. In order to simulate same format in
-Acorn, consider following example:
-
-```javascript
-var comments = [], tokens = [];
-
-var ast = acorn.parse('var x = 42; // answer', {
-	// collect ranges for each node
-	ranges: true,
-	// collect comments in Esprima's format
-	onComment: comments,
-	// collect token ranges
-	onToken: tokens
-});
-
-// attach comments using collected information
-escodegen.attachComments(ast, comments, tokens);
-
-// generate code
-console.log(escodegen.generate(ast, {comment: true}));
-// > 'var x = 42;    // answer'
-```
-
-[escodegen]: https://github.com/estools/escodegen
-
-### dist/acorn_loose.js ###
-
-This file implements an error-tolerant parser. It exposes a single
-function. The loose parser is accessible in node.js via `require("acorn/dist/acorn_loose")`.
-
-**parse_dammit**`(input, options)` takes the same arguments and
-returns the same syntax tree as the `parse` function in `acorn.js`,
-but never raises an error, and will do its best to parse syntactically
-invalid code in as meaningful a way as it can. It'll insert identifier
-nodes with name `"✖"` as placeholders in places where it can't make
-sense of the input. Depends on `acorn.js`, because it uses the same
-tokenizer.
-
-### dist/walk.js ###
-
-Implements an abstract syntax tree walker. Will store its interface in
-`acorn.walk` when loaded without a module system.
-
-**simple**`(node, visitors, base, state)` does a 'simple' walk over
-a tree. `node` should be the AST node to walk, and `visitors` an
-object with properties whose names correspond to node types in the
-[ESTree spec][estree]. The properties should contain functions
-that will be called with the node object and, if applicable the state
-at that point. The last two arguments are optional. `base` is a walker
-algorithm, and `state` is a start state. The default walker will
-simply visit all statements and expressions and not produce a
-meaningful state. (An example of a use of state is to track scope at
-each point in the tree.)
-
-```js
-const acorn = require("acorn")
-const walk = require("acorn/dist/walk")
-
-walk.simple(acorn.parse("let x = 10"), {
-  Literal(node) {
-    console.log(`Found a literal: ${node.value}`)
-  }
-})
-```
-
-**ancestor**`(node, visitors, base, state)` does a 'simple' walk over
-a tree, building up an array of ancestor nodes (including the current node)
-and passing the array to the callbacks as a third parameter.
-
-```js
-const acorn = require("acorn")
-const walk = require("acorn/dist/walk")
-
-walk.ancestor(acorn.parse("foo('hi')"), {
-  Literal(_, ancestors) {
-    console.log("This literal's ancestors are:",
-                ancestors.map(n => n.type))
-  }
-})
-```
-
-**recursive**`(node, state, functions, base)` does a 'recursive'
-walk, where the walker functions are responsible for continuing the
-walk on the child nodes of their target node. `state` is the start
-state, and `functions` should contain an object that maps node types
-to walker functions. Such functions are called with `(node, state, c)`
-arguments, and can cause the walk to continue on a sub-node by calling
-the `c` argument on it with `(node, state)` arguments. The optional
-`base` argument provides the fallback walker functions for node types
-that aren't handled in the `functions` object. If not given, the
-default walkers will be used.
-
-**make**`(functions, base)` builds a new walker object by using the
-walker functions in `functions` and filling in the missing ones by
-taking defaults from `base`.
-
-**full**`(node, callback, base, state)` does a 'full'
-walk over a tree, calling the callback with the arguments (node, state, type)
-for each node
-
-**fullAncestor**`(node, callback, base, state)` does a 'full' walk over
-a tree, building up an array of ancestor nodes (including the current node)
-and passing the array to the callbacks as a third parameter.
-
-```js
-const acorn = require("acorn")
-const walk = require("acorn/dist/walk")
-
-walk.full(acorn.parse("1 + 1"), node => {
-  console.log(`There's a ${node.type} node at ${node.ch}`)
-})
-```
-
-**findNodeAt**`(node, start, end, test, base, state)` tries to
-locate a node in a tree at the given start and/or end offsets, which
-satisfies the predicate `test`. `start` and `end` can be either `null`
-(as wildcard) or a number. `test` may be a string (indicating a node
-type) or a function that takes `(nodeType, node)` arguments and
-returns a boolean indicating whether this node is interesting. `base`
-and `state` are optional, and can be used to specify a custom walker.
-Nodes are tested from inner to outer, so if two nodes match the
-boundaries, the inner one will be preferred.
-
-**findNodeAround**`(node, pos, test, base, state)` is a lot like
-`findNodeAt`, but will match any node that exists 'around' (spanning)
-the given position.
-
-**findNodeAfter**`(node, pos, test, base, state)` is similar to
-`findNodeAround`, but will match all nodes *after* the given position
-(testing outer nodes before inner nodes).
-
-## Command line interface
-
-The `bin/acorn` utility can be used to parse a file from the command
-line. It accepts as arguments its input file and the following
-options:
-
-- `--ecma3|--ecma5|--ecma6|--ecma7|--ecma8|--ecma9|--ecma10`: Sets the ECMAScript version
-  to parse. Default is version 7.
-
-- `--module`: Sets the parsing mode to `"module"`. Is set to `"script"` otherwise.
-
-- `--locations`: Attaches a "loc" object to each node with "start" and
-  "end" subobjects, each of which contains the one-based line and
-  zero-based column numbers in `{line, column}` form.
-
-- `--allow-hash-bang`: If the code starts with the characters #! (as in a shellscript), the first line will be treated as a comment.
-
-- `--compact`: No whitespace is used in the AST output.
-
-- `--silent`: Do not output the AST, just return the exit status.
-
-- `--help`: Print the usage information and quit.
-
-The utility spits out the syntax tree as JSON data.
-
-## Build system
-
-Acorn is written in ECMAScript 6, as a set of small modules, in the
-project's `src` directory, and compiled down to bigger ECMAScript 3
-files in `dist` using [Browserify](http://browserify.org) and
-[Babel](http://babeljs.io/). If you are already using Babel, you can
-consider including the modules directly.
-
-The command-line test runner (`npm test`) uses the ES6 modules. The
-browser-based test page (`test/index.html`) uses the compiled modules.
-The `bin/build-acorn.js` script builds the latter from the former.
-
-If you are working on Acorn, you'll probably want to try the code out
-directly, without an intermediate build step. In your scripts, you can
-register the Babel require shim like this:
-
-    require("babel-core/register")
-
-That will allow you to directly `require` the ES6 modules.
-
-## Plugins
-
-Acorn is designed support allow plugins which, within reasonable
-bounds, redefine the way the parser works. Plugins can add new token
-types and new tokenizer contexts (if necessary), and extend methods in
-the parser object. This is not a clean, elegant API—using it requires
-an understanding of Acorn's internals, and plugins are likely to break
-whenever those internals are significantly changed. But still, it is
-_possible_, in this way, to create parsers for JavaScript dialects
-without forking all of Acorn. And in principle it is even possible to
-combine such plugins, so that if you have, for example, a plugin for
-parsing types and a plugin for parsing JSX-style XML literals, you
-could load them both and parse code with both JSX tags and types.
-
-A plugin should register itself by adding a property to
-`acorn.plugins`, which holds a function. Calling `acorn.parse`, a
-`plugins` option can be passed, holding an object mapping plugin names
-to configuration values (or just `true` for plugins that don't take
-options). After the parser object has been created, the initialization
-functions for the chosen plugins are called with `(parser,
-configValue)` arguments. They are expected to use the `parser.extend`
-method to extend parser methods. For example, the `readToken` method
-could be extended like this:
-
-```javascript
-parser.extend("readToken", function(nextMethod) {
-  return function(code) {
-    console.log("Reading a token!")
-    return nextMethod.call(this, code)
-  }
-})
-```
-
-The `nextMethod` argument passed to `extend`'s second argument is the
-previous value of this method, and should usually be called through to
-whenever the extended method does not handle the call itself.
-
-Similarly, the loose parser allows plugins to register themselves via
-`acorn.pluginsLoose`.  The extension mechanism is the same as for the
-normal parser:
-
-```javascript
-looseParser.extend("readToken", function(nextMethod) {
-  return function() {
-    console.log("Reading a token in the loose parser!")
-    return nextMethod.call(this)
-  }
-})
-```
-
-### Existing plugins
-
- - [`acorn-jsx`](https://github.com/RReverser/acorn-jsx): Parse [Facebook JSX syntax extensions](https://github.com/facebook/jsx)
- - [`acorn-objj`](https://github.com/cappuccino/acorn-objj): [Objective-J](http://www.cappuccino-project.org/learn/objective-j.html) language parser built as Acorn plugin
- 
- Plugins for ECMAScript proposals:
- 
- - [`acorn-stage3`](https://github.com/acornjs/acorn-stage3): Parse most stage 3 proposals, bundling:
-   - [`acorn-async-iteration`](https://github.com/acornjs/acorn-async-iteration): Parse [async iteration proposal](https://github.com/tc39/proposal-async-iteration)
-   - [`acorn-bigint`](https://github.com/acornjs/acorn-bigint): Parse [BigInt proposal](https://github.com/tc39/proposal-bigint)
-   - [`acorn-class-fields`](https://github.com/acornjs/acorn-class-fields): Parse [class fields proposal](https://github.com/tc39/proposal-class-fields)
-   - [`acorn-dynamic-import`](https://github.com/kesne/acorn-dynamic-import): Parse [import() proposal](https://github.com/tc39/proposal-dynamic-import)
-   - [`acorn-import-meta`](https://github.com/acornjs/acorn-import-meta): Parse [import.meta proposal](https://github.com/tc39/proposal-import-meta)
-   - [`acorn-numeric-separator`](https://github.com/acornjs/acorn-numeric-separator): Parse [numeric separator proposal](https://github.com/tc39/proposal-numeric-separator)
-   - [`acorn-optional-catch-binding`](https://github.com/acornjs/acorn-optional-catch-binding): Parse [optional catch binding proposal](https://github.com/tc39/proposal-optional-catch-binding)
-   - [`acorn-private-methods`](https://github.com/acornjs/acorn-private-methods): parse [private methods, getters and setters proposal](https://github.com/tc39/proposal-private-methods)
-   - [`acorn5-object-spread`](https://github.com/adrianheine/acorn5-object-spread): Parse [Object Rest/Spread Properties proposal](https://github.com/tc39/proposal-object-rest-spread)
- - [`acorn-object-rest-spread`](https://github.com/victor-homyakov/acorn-object-rest-spread): Parse [Object Rest/Spread Properties proposal](https://github.com/tc39/proposal-object-rest-spread)
- - [`acorn-es7`](https://github.com/angelozerr/acorn-es7): Parse [decorator syntax proposal](https://github.com/wycats/javascript-decorators)
- - [`acorn-static-class-property-initializer`](https://github.com/victor-homyakov/acorn-static-class-property-initializer): Partial support for static class properties from [ES Class Fields & Static Properties Proposal](https://github.com/tc39/proposal-class-public-fields) to support static property initializers in [React components written as ES6+ classes](https://babeljs.io/blog/2015/07/07/react-on-es6-plus)

+ 0 - 69
node_modules.bak/acorn/bin/_acorn.js

@@ -1,69 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-
-var path = require('path');
-var fs = require('fs');
-var acorn = require('../dist/acorn.js');
-
-var infile;
-var forceFile;
-var silent = false;
-var compact = false;
-var tokenize = false;
-var options = {};
-
-function help(status) {
-  var print = (status === 0) ? console.log : console.error;
-  print("usage: " + path.basename(process.argv[1]) + " [--ecma3|--ecma5|--ecma6|--ecma7|--ecma8|--ecma9|...|--ecma2015|--ecma2016|--ecma2017|--ecma2018|...]");
-  print("        [--tokenize] [--locations] [---allow-hash-bang] [--compact] [--silent] [--module] [--help] [--] [infile]");
-  process.exit(status);
-}
-
-for (var i = 2; i < process.argv.length; ++i) {
-  var arg = process.argv[i];
-  if ((arg === "-" || arg[0] !== "-") && !infile) { infile = arg; }
-  else if (arg === "--" && !infile && i + 2 === process.argv.length) { forceFile = infile = process.argv[++i]; }
-  else if (arg === "--locations") { options.locations = true; }
-  else if (arg === "--allow-hash-bang") { options.allowHashBang = true; }
-  else if (arg === "--silent") { silent = true; }
-  else if (arg === "--compact") { compact = true; }
-  else if (arg === "--help") { help(0); }
-  else if (arg === "--tokenize") { tokenize = true; }
-  else if (arg === "--module") { options.sourceType = "module"; }
-  else {
-    var match = arg.match(/^--ecma(\d+)$/);
-    if (match)
-      { options.ecmaVersion = +match[1]; }
-    else
-      { help(1); }
-  }
-}
-
-function run(code) {
-  var result;
-  try {
-    if (!tokenize) {
-      result = acorn.parse(code, options);
-    } else {
-      result = [];
-      var tokenizer$$1 = acorn.tokenizer(code, options), token;
-      do {
-        token = tokenizer$$1.getToken();
-        result.push(token);
-      } while (token.type !== acorn.tokTypes.eof)
-    }
-  } catch (e) {
-    console.error(e.message);
-    process.exit(1);
-  }
-  if (!silent) { console.log(JSON.stringify(result, null, compact ? null : 2)); }
-}
-
-if (forceFile || infile && infile !== "-") {
-  run(fs.readFileSync(infile, "utf8"));
-} else {
-  var code = "";
-  process.stdin.resume();
-  process.stdin.on("data", function (chunk) { return code += chunk; });
-  process.stdin.on("end", function () { return run(code); });
-}

+ 0 - 4
node_modules.bak/acorn/bin/acorn

@@ -1,4 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-
-require('./_acorn.js');

+ 0 - 21
node_modules.bak/acorn/bin/run_test262.js

@@ -1,21 +0,0 @@
-const fs = require("fs")
-const path = require("path")
-const run = require("test262-parser-runner")
-const parse = require("..").parse
-
-const unsupportedFeatures = [
-  "BigInt",
-  "class-fields",
-  "class-fields-private",
-  "class-fields-public",
-  "numeric-separator-literal"
-];
-
-run(
-  (content, {sourceType}) => parse(content, {sourceType, ecmaVersion: 10}),
-  {
-    testsDirectory: path.dirname(require.resolve("test262/package.json")),
-    skip: test => (test.attrs.features && unsupportedFeatures.some(f => test.attrs.features.includes(f))),
-    whitelist: fs.readFileSync("./bin/test262.whitelist", "utf8").split("\n").filter(v => v)
-  }
-)

+ 0 - 404
node_modules.bak/acorn/bin/test262.whitelist

@@ -1,404 +0,0 @@
-annexB/language/function-code/block-decl-func-no-skip-try.js (default)
-annexB/language/function-code/block-decl-func-skip-early-err-block.js (default)
-annexB/language/function-code/block-decl-func-skip-early-err.js (default)
-annexB/language/function-code/block-decl-func-skip-early-err-switch.js (default)
-annexB/language/function-code/block-decl-func-skip-early-err-try.js (default)
-annexB/language/function-code/if-decl-else-decl-a-func-no-skip-try.js (default)
-annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-block.js (default)
-annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err.js (default)
-annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-switch.js (default)
-annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-try.js (default)
-annexB/language/function-code/if-decl-else-decl-b-func-no-skip-try.js (default)
-annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-block.js (default)
-annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err.js (default)
-annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-switch.js (default)
-annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-try.js (default)
-annexB/language/function-code/if-decl-else-stmt-func-no-skip-try.js (default)
-annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-block.js (default)
-annexB/language/function-code/if-decl-else-stmt-func-skip-early-err.js (default)
-annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-switch.js (default)
-annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-try.js (default)
-annexB/language/function-code/if-decl-no-else-func-no-skip-try.js (default)
-annexB/language/function-code/if-decl-no-else-func-skip-early-err-block.js (default)
-annexB/language/function-code/if-decl-no-else-func-skip-early-err.js (default)
-annexB/language/function-code/if-decl-no-else-func-skip-early-err-switch.js (default)
-annexB/language/function-code/if-decl-no-else-func-skip-early-err-try.js (default)
-annexB/language/function-code/if-stmt-else-decl-func-no-skip-try.js (default)
-annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-block.js (default)
-annexB/language/function-code/if-stmt-else-decl-func-skip-early-err.js (default)
-annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-switch.js (default)
-annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-try.js (default)
-annexB/language/function-code/switch-case-func-no-skip-try.js (default)
-annexB/language/function-code/switch-case-func-skip-early-err-block.js (default)
-annexB/language/function-code/switch-case-func-skip-early-err.js (default)
-annexB/language/function-code/switch-case-func-skip-early-err-switch.js (default)
-annexB/language/function-code/switch-case-func-skip-early-err-try.js (default)
-annexB/language/function-code/switch-dflt-func-no-skip-try.js (default)
-annexB/language/function-code/switch-dflt-func-skip-early-err-block.js (default)
-annexB/language/function-code/switch-dflt-func-skip-early-err.js (default)
-annexB/language/function-code/switch-dflt-func-skip-early-err-switch.js (default)
-annexB/language/function-code/switch-dflt-func-skip-early-err-try.js (default)
-annexB/language/global-code/block-decl-global-no-skip-try.js (default)
-annexB/language/global-code/block-decl-global-skip-early-err-block.js (default)
-annexB/language/global-code/block-decl-global-skip-early-err.js (default)
-annexB/language/global-code/block-decl-global-skip-early-err-switch.js (default)
-annexB/language/global-code/block-decl-global-skip-early-err-try.js (default)
-annexB/language/global-code/if-decl-else-decl-a-global-no-skip-try.js (default)
-annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-block.js (default)
-annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err.js (default)
-annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-switch.js (default)
-annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-try.js (default)
-annexB/language/global-code/if-decl-else-decl-b-global-no-skip-try.js (default)
-annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-block.js (default)
-annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err.js (default)
-annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-switch.js (default)
-annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-try.js (default)
-annexB/language/global-code/if-decl-else-stmt-global-no-skip-try.js (default)
-annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-block.js (default)
-annexB/language/global-code/if-decl-else-stmt-global-skip-early-err.js (default)
-annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-switch.js (default)
-annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-try.js (default)
-annexB/language/global-code/if-decl-no-else-global-no-skip-try.js (default)
-annexB/language/global-code/if-decl-no-else-global-skip-early-err-block.js (default)
-annexB/language/global-code/if-decl-no-else-global-skip-early-err.js (default)
-annexB/language/global-code/if-decl-no-else-global-skip-early-err-switch.js (default)
-annexB/language/global-code/if-decl-no-else-global-skip-early-err-try.js (default)
-annexB/language/global-code/if-stmt-else-decl-global-no-skip-try.js (default)
-annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-block.js (default)
-annexB/language/global-code/if-stmt-else-decl-global-skip-early-err.js (default)
-annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-switch.js (default)
-annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-try.js (default)
-annexB/language/global-code/switch-case-global-no-skip-try.js (default)
-annexB/language/global-code/switch-case-global-skip-early-err-block.js (default)
-annexB/language/global-code/switch-case-global-skip-early-err.js (default)
-annexB/language/global-code/switch-case-global-skip-early-err-switch.js (default)
-annexB/language/global-code/switch-case-global-skip-early-err-try.js (default)
-annexB/language/global-code/switch-dflt-global-no-skip-try.js (default)
-annexB/language/global-code/switch-dflt-global-skip-early-err-block.js (default)
-annexB/language/global-code/switch-dflt-global-skip-early-err.js (default)
-annexB/language/global-code/switch-dflt-global-skip-early-err-switch.js (default)
-annexB/language/global-code/switch-dflt-global-skip-early-err-try.js (default)
-annexB/language/statements/try/catch-redeclared-for-in-var.js (default)
-annexB/language/statements/try/catch-redeclared-for-in-var.js (strict mode)
-annexB/language/statements/try/catch-redeclared-for-var.js (default)
-annexB/language/statements/try/catch-redeclared-for-var.js (strict mode)
-annexB/language/statements/try/catch-redeclared-var-statement-captured.js (default)
-annexB/language/statements/try/catch-redeclared-var-statement-captured.js (strict mode)
-annexB/language/statements/try/catch-redeclared-var-statement.js (default)
-annexB/language/statements/try/catch-redeclared-var-statement.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/block-scope/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-const-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-const-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-let-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-let-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/block-scope/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/const-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/const-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/block-scope/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/let-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/let-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/block-scope/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js (default)
-language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js (strict mode)
-language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js (default)
-language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js (strict mode)
-language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js (default)
-language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js (strict mode)
-language/expressions/async-function/early-errors-expression-body-contains-super-call.js (default)
-language/expressions/async-function/early-errors-expression-body-contains-super-call.js (strict mode)
-language/expressions/async-function/early-errors-expression-body-contains-super-property.js (default)
-language/expressions/async-function/early-errors-expression-body-contains-super-property.js (strict mode)
-language/expressions/async-function/early-errors-expression-formals-contains-super-call.js (default)
-language/expressions/async-function/early-errors-expression-formals-contains-super-call.js (strict mode)
-language/expressions/async-function/early-errors-expression-formals-contains-super-property.js (default)
-language/expressions/async-function/early-errors-expression-formals-contains-super-property.js (strict mode)
-language/expressions/class/method-param-dflt-yield.js (default)
-language/expressions/class/static-method-param-dflt-yield.js (default)
-language/expressions/function/early-body-super-call.js (default)
-language/expressions/function/early-body-super-call.js (strict mode)
-language/expressions/function/early-body-super-prop.js (default)
-language/expressions/function/early-body-super-prop.js (strict mode)
-language/expressions/function/early-params-super-call.js (default)
-language/expressions/function/early-params-super-call.js (strict mode)
-language/expressions/function/early-params-super-prop.js (default)
-language/expressions/function/early-params-super-prop.js (strict mode)
-language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js (default)
-language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js (strict mode)
-language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js (default)
-language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js (default)
-language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js (strict mode)
-language/expressions/object/method-definition/generator-super-call-body.js (default)
-language/expressions/object/method-definition/generator-super-call-body.js (strict mode)
-language/expressions/object/method-definition/generator-super-call-param.js (default)
-language/expressions/object/method-definition/generator-super-call-param.js (strict mode)
-language/expressions/object/prop-def-invalid-async-prefix.js (default)
-language/expressions/object/prop-def-invalid-async-prefix.js (strict mode)
-language/expressions/yield/in-iteration-stmt.js (default)
-language/expressions/yield/in-iteration-stmt.js (strict mode)
-language/expressions/yield/star-in-iteration-stmt.js (default)
-language/expressions/yield/star-in-iteration-stmt.js (strict mode)
-language/global-code/new.target-arrow.js (default)
-language/global-code/new.target-arrow.js (strict mode)
-language/global-code/super-call-arrow.js (default)
-language/global-code/super-call-arrow.js (strict mode)
-language/global-code/super-prop-arrow.js (default)
-language/global-code/super-prop-arrow.js (strict mode)
-language/module-code/early-export-global.js (default)
-language/module-code/early-export-global.js (strict mode)
-language/module-code/early-export-unresolvable.js (default)
-language/module-code/early-export-unresolvable.js (strict mode)
-language/statements/async-function/early-errors-declaration-body-contains-super-call.js (default)
-language/statements/async-function/early-errors-declaration-body-contains-super-call.js (strict mode)
-language/statements/async-function/early-errors-declaration-body-contains-super-property.js (default)
-language/statements/async-function/early-errors-declaration-body-contains-super-property.js (strict mode)
-language/statements/async-function/early-errors-declaration-formals-contains-super-call.js (default)
-language/statements/async-function/early-errors-declaration-formals-contains-super-call.js (strict mode)
-language/statements/async-function/early-errors-declaration-formals-contains-super-property.js (default)
-language/statements/async-function/early-errors-declaration-formals-contains-super-property.js (strict mode)
-language/expressions/async-generator/early-errors-expression-body-contains-super-call.js (default)
-language/expressions/async-generator/early-errors-expression-body-contains-super-call.js (strict mode)
-language/expressions/async-generator/early-errors-expression-body-contains-super-property.js (default)
-language/expressions/async-generator/early-errors-expression-body-contains-super-property.js (strict mode)
-language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js (default)
-language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js (strict mode)
-language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js (default)
-language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js (strict mode)
-language/statements/class/definition/early-errors-class-method-arguments-in-formal-parameters.js (default)
-language/statements/class/definition/early-errors-class-method-body-contains-super-call.js (default)
-language/statements/class/definition/early-errors-class-method-body-contains-super-call.js (strict mode)
-language/statements/class/definition/early-errors-class-method-duplicate-parameters.js (default)
-language/statements/class/definition/early-errors-class-method-eval-in-formal-parameters.js (default)
-language/statements/class/definition/early-errors-class-method-formals-contains-super-call.js (default)
-language/statements/class/definition/early-errors-class-method-formals-contains-super-call.js (strict mode)
-language/statements/class/definition/methods-gen-yield-as-function-expression-binding-identifier.js (default)
-language/statements/class/definition/methods-gen-yield-as-identifier-in-nested-function.js (default)
-language/statements/class/method-param-yield.js (default)
-language/statements/class/static-method-param-yield.js (default)
-language/statements/class/strict-mode/with.js (default)
-language/statements/class/syntax/early-errors/class-body-has-direct-super-missing-class-heritage.js (default)
-language/statements/class/syntax/early-errors/class-body-has-direct-super-missing-class-heritage.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-method-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-method-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-special-method-generator-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-special-method-get-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-special-method-get-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-special-method-set-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-special-method-set-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js (default)
-language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js (strict mode)
-language/statements/class/syntax/early-errors/class-definition-evaluation-block-duplicate-binding.js (default)
-language/statements/class/syntax/early-errors/class-definition-evaluation-block-duplicate-binding.js (strict mode)
-language/statements/class/syntax/early-errors/class-definition-evaluation-scriptbody-duplicate-binding.js (default)
-language/statements/class/syntax/early-errors/class-definition-evaluation-scriptbody-duplicate-binding.js (strict mode)
-language/statements/const/syntax/const-declaring-let-split-across-two-lines.js (default)
-language/statements/do-while/labelled-fn-stmt.js (default)
-language/statements/for/head-let-bound-names-in-stmt.js (default)
-language/statements/for/head-let-bound-names-in-stmt.js (strict mode)
-language/statements/for-in/head-const-bound-names-in-stmt.js (default)
-language/statements/for-in/head-const-bound-names-in-stmt.js (strict mode)
-language/statements/for-in/head-const-bound-names-let.js (default)
-language/statements/for-in/head-let-bound-names-in-stmt.js (default)
-language/statements/for-in/head-let-bound-names-in-stmt.js (strict mode)
-language/statements/for-in/head-let-bound-names-let.js (default)
-language/statements/for-in/labelled-fn-stmt-const.js (default)
-language/statements/for-in/labelled-fn-stmt-let.js (default)
-language/statements/for-in/labelled-fn-stmt-lhs.js (default)
-language/statements/for-in/labelled-fn-stmt-var.js (default)
-language/statements/for-in/let-block-with-newline.js (default)
-language/statements/for-in/let-identifier-with-newline.js (default)
-language/statements/for/labelled-fn-stmt-expr.js (default)
-language/statements/for/labelled-fn-stmt-let.js (default)
-language/statements/for/labelled-fn-stmt-var.js (default)
-language/statements/for/let-block-with-newline.js (default)
-language/statements/for/let-identifier-with-newline.js (default)
-language/statements/for-of/head-const-bound-names-in-stmt.js (default)
-language/statements/for-of/head-const-bound-names-in-stmt.js (strict mode)
-language/statements/for-of/head-const-bound-names-let.js (default)
-language/statements/for-of/head-let-bound-names-in-stmt.js (default)
-language/statements/for-of/head-let-bound-names-in-stmt.js (strict mode)
-language/statements/for-of/head-let-bound-names-let.js (default)
-language/statements/for-of/labelled-fn-stmt-const.js (default)
-language/statements/for-of/labelled-fn-stmt-let.js (default)
-language/statements/for-of/labelled-fn-stmt-lhs.js (default)
-language/statements/for-of/labelled-fn-stmt-var.js (default)
-language/statements/for-of/let-block-with-newline.js (default)
-language/statements/for-of/let-identifier-with-newline.js (default)
-language/statements/for-await-of/let-block-with-newline.js (default)
-language/statements/for-await-of/let-identifier-with-newline.js (default)
-language/statements/function/early-body-super-call.js (default)
-language/statements/function/early-body-super-call.js (strict mode)
-language/statements/function/early-body-super-prop.js (default)
-language/statements/function/early-body-super-prop.js (strict mode)
-language/statements/function/early-params-super-call.js (default)
-language/statements/function/early-params-super-call.js (strict mode)
-language/statements/function/early-params-super-prop.js (default)
-language/statements/function/early-params-super-prop.js (strict mode)
-language/statements/if/if-gen-else-gen.js (default)
-language/statements/if/if-gen-else-stmt.js (default)
-language/statements/if/if-gen-no-else.js (default)
-language/statements/if/if-stmt-else-gen.js (default)
-language/statements/if/labelled-fn-stmt-first.js (default)
-language/statements/if/labelled-fn-stmt-lone.js (default)
-language/statements/if/labelled-fn-stmt-second.js (default)
-language/statements/if/let-block-with-newline.js (default)
-language/statements/if/let-identifier-with-newline.js (default)
-language/statements/labeled/let-block-with-newline.js (default)
-language/statements/labeled/let-identifier-with-newline.js (default)
-language/statements/let/syntax/identifier-let-disallowed-as-boundname.js (default)
-language/statements/let/syntax/let-let-declaration-split-across-two-lines.js (default)
-language/statements/let/syntax/let-let-declaration-with-initializer-split-across-two-lines.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/statements/switch/syntax/redeclaration/async-generator-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-const-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-const-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-let-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-let-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/statements/switch/syntax/redeclaration/class-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/const-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/const-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/statements/switch/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-var-declaration.js (default)
-language/statements/switch/syntax/redeclaration/generator-declaration-attempt-to-redeclare-with-var-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/let-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/let-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-async-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-class-declaration.js (default)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-class-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-function-declaration.js (default)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-function-declaration.js (strict mode)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-generator-declaration.js (default)
-language/statements/switch/syntax/redeclaration/var-declaration-attempt-to-redeclare-with-generator-declaration.js (strict mode)
-language/statements/while/labelled-fn-stmt.js (default)
-language/statements/while/let-block-with-newline.js (default)
-language/statements/while/let-identifier-with-newline.js (default)
-language/statements/with/labelled-fn-stmt.js (default)
-language/statements/with/let-block-with-newline.js (default)
-language/statements/with/let-identifier-with-newline.js (default)
-language/white-space/mongolian-vowel-separator.js (default)
-language/white-space/mongolian-vowel-separator.js (strict mode)

+ 0 - 324
node_modules.bak/acorn/package.json

@@ -1,324 +0,0 @@
-{
-  "_from": "acorn@^5.2.1",
-  "_id": "acorn@5.7.4",
-  "_inBundle": false,
-  "_integrity": "sha1-Po2KmUfQWZoXltECJddDL0pKz14=",
-  "_location": "/acorn",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "acorn@^5.2.1",
-    "name": "acorn",
-    "escapedName": "acorn",
-    "rawSpec": "^5.2.1",
-    "saveSpec": null,
-    "fetchSpec": "^5.2.1"
-  },
-  "_requiredBy": [
-    "/detective"
-  ],
-  "_resolved": "https://registry.nlark.com/acorn/download/acorn-5.7.4.tgz?cache=0&sync_timestamp=1620134156200&other_urls=https%3A%2F%2Fregistry.nlark.com%2Facorn%2Fdownload%2Facorn-5.7.4.tgz",
-  "_shasum": "3e8d8a9947d0599a1796d10225d7432f4a4acf5e",
-  "_spec": "acorn@^5.2.1",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\detective",
-  "bin": {
-    "acorn": "bin/acorn"
-  },
-  "bugs": {
-    "url": "https://github.com/acornjs/acorn/issues"
-  },
-  "bundleDependencies": false,
-  "contributors": [
-    {
-      "name": "List of Acorn contributors. Updated before every release."
-    },
-    {
-      "name": "Adrian Heine"
-    },
-    {
-      "name": "Adrian Rakovsky"
-    },
-    {
-      "name": "Alistair Braidwood"
-    },
-    {
-      "name": "Amila Welihinda"
-    },
-    {
-      "name": "Andres Suarez"
-    },
-    {
-      "name": "Angelo"
-    },
-    {
-      "name": "Aparajita Fishman"
-    },
-    {
-      "name": "Arian Stolwijk"
-    },
-    {
-      "name": "Artem Govorov"
-    },
-    {
-      "name": "Boopesh Mahendran"
-    },
-    {
-      "name": "Bradley Heinz"
-    },
-    {
-      "name": "Brandon Mills"
-    },
-    {
-      "name": "Charles Hughes"
-    },
-    {
-      "name": "Charmander"
-    },
-    {
-      "name": "Chris McKnight"
-    },
-    {
-      "name": "Conrad Irwin"
-    },
-    {
-      "name": "Daniel Tschinder"
-    },
-    {
-      "name": "David Bonnet"
-    },
-    {
-      "name": "Domenico Matteo"
-    },
-    {
-      "name": "ehmicky"
-    },
-    {
-      "name": "Eugene Obrezkov"
-    },
-    {
-      "name": "Felix Maier"
-    },
-    {
-      "name": "Forbes Lindesay"
-    },
-    {
-      "name": "Gilad Peleg"
-    },
-    {
-      "name": "impinball"
-    },
-    {
-      "name": "Ingvar Stepanyan"
-    },
-    {
-      "name": "Jackson Ray Hamilton"
-    },
-    {
-      "name": "Jesse McCarthy"
-    },
-    {
-      "name": "Jiaxing Wang"
-    },
-    {
-      "name": "Joel Kemp"
-    },
-    {
-      "name": "Johannes Herr"
-    },
-    {
-      "name": "John-David Dalton"
-    },
-    {
-      "name": "Jordan Klassen"
-    },
-    {
-      "name": "Jürg Lehni"
-    },
-    {
-      "name": "Kai Cataldo"
-    },
-    {
-      "name": "keeyipchan"
-    },
-    {
-      "name": "Keheliya Gallaba"
-    },
-    {
-      "name": "Kevin Irish"
-    },
-    {
-      "name": "Kevin Kwok"
-    },
-    {
-      "name": "krator"
-    },
-    {
-      "name": "laosb"
-    },
-    {
-      "name": "luckyzeng"
-    },
-    {
-      "name": "Marek"
-    },
-    {
-      "name": "Marijn Haverbeke"
-    },
-    {
-      "name": "Martin Carlberg"
-    },
-    {
-      "name": "Mat Garcia"
-    },
-    {
-      "name": "Mathias Bynens"
-    },
-    {
-      "name": "Mathieu 'p01' Henri"
-    },
-    {
-      "name": "Matthew Bastien"
-    },
-    {
-      "name": "Max Schaefer"
-    },
-    {
-      "name": "Max Zerzouri"
-    },
-    {
-      "name": "Mihai Bazon"
-    },
-    {
-      "name": "Mike Rennie"
-    },
-    {
-      "name": "naoh"
-    },
-    {
-      "name": "Nicholas C. Zakas"
-    },
-    {
-      "name": "Nick Fitzgerald"
-    },
-    {
-      "name": "Olivier Thomann"
-    },
-    {
-      "name": "Oskar Schöldström"
-    },
-    {
-      "name": "Paul Harper"
-    },
-    {
-      "name": "Peter Rust"
-    },
-    {
-      "name": "PlNG"
-    },
-    {
-      "name": "Prayag Verma"
-    },
-    {
-      "name": "ReadmeCritic"
-    },
-    {
-      "name": "r-e-d"
-    },
-    {
-      "name": "Renée Kooi"
-    },
-    {
-      "name": "Richard Gibson"
-    },
-    {
-      "name": "Rich Harris"
-    },
-    {
-      "name": "Sebastian McKenzie"
-    },
-    {
-      "name": "Shahar Soel"
-    },
-    {
-      "name": "Sheel Bedi"
-    },
-    {
-      "name": "Simen Bekkhus"
-    },
-    {
-      "name": "Teddy Katz"
-    },
-    {
-      "name": "Timothy Gu"
-    },
-    {
-      "name": "Toru Nagashima"
-    },
-    {
-      "name": "Victor Homyakov"
-    },
-    {
-      "name": "Wexpo Lyu"
-    },
-    {
-      "name": "zsjforcn"
-    }
-  ],
-  "deprecated": false,
-  "description": "ECMAScript parser",
-  "devDependencies": {
-    "eslint": "^4.10.0",
-    "eslint-config-standard": "^10.2.1",
-    "eslint-plugin-import": "^2.2.0",
-    "eslint-plugin-node": "^5.2.1",
-    "eslint-plugin-promise": "^3.5.0",
-    "eslint-plugin-standard": "^3.0.1",
-    "rollup": "^0.45.0",
-    "rollup-plugin-buble": "^0.16.0",
-    "test262": "git+https://github.com/tc39/test262.git#3bfad28cc302fd4455badcfcbca7c5bb7ce41a72",
-    "test262-parser-runner": "^0.4.0",
-    "unicode-11.0.0": "^0.7.7"
-  },
-  "engines": {
-    "node": ">=0.4.0"
-  },
-  "homepage": "https://github.com/acornjs/acorn",
-  "license": "MIT",
-  "main": "dist/acorn.js",
-  "maintainers": [
-    {
-      "name": "Marijn Haverbeke",
-      "email": "marijnh@gmail.com",
-      "url": "http://marijnhaverbeke.nl"
-    },
-    {
-      "name": "Ingvar Stepanyan",
-      "email": "me@rreverser.com",
-      "url": "http://rreverser.com/"
-    },
-    {
-      "name": "Adrian Heine",
-      "email": "http://adrianheine.de"
-    }
-  ],
-  "module": "dist/acorn.es.js",
-  "name": "acorn",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/acornjs/acorn.git"
-  },
-  "scripts": {
-    "build": "npm run build:main && npm run build:walk && npm run build:loose && npm run build:bin",
-    "build:bin": "rollup -c rollup/config.bin.js",
-    "build:loose": "rollup -c rollup/config.loose.js && rollup -c rollup/config.loose_es.js",
-    "build:main": "rollup -c rollup/config.main.js",
-    "build:walk": "rollup -c rollup/config.walk.js",
-    "lint": "eslint src/",
-    "prepare": "npm run build && node test/run.js && node test/lint.js",
-    "pretest": "npm run build:main && npm run build:loose",
-    "test": "node test/run.js && node test/lint.js",
-    "test:test262": "node bin/run_test262.js"
-  },
-  "version": "5.7.4"
-}

+ 0 - 21
node_modules.bak/ajv-errors/LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2017 Evgeny Poberezkin
-
-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.

+ 0 - 318
node_modules.bak/ajv-errors/README.md

@@ -1,318 +0,0 @@
-# ajv-errors
-Custom error messages in JSON-Schema for Ajv validator
-
-[![Build Status](https://travis-ci.org/epoberezkin/ajv-errors.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv-errors)
-[![npm version](https://badge.fury.io/js/ajv-errors.svg)](http://badge.fury.io/js/ajv-errors)
-[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/ajv-errors/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/ajv-errors?branch=master)
-[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv)
-
-
-## Contents
-
-- [Install](#install)
-- [Usage](#usage)
-  - [Single message](#single-message)
-  - [Messages for keywords](#messages-for-keywords)
-  - [Messages for properties and items](#messages-for-properties-and-items)
-  - [Default message](#default-message)
-- [Templates](#templates)
-- [Options](#options)
-- [License](#license)
-
-
-## Install
-
-```
-npm install ajv-errors
-```
-
-
-## Usage
-
-Add the keyword `errorMessages` to Ajv instance:
-
-```javascript
-var Ajv = require('ajv');
-var ajv = new Ajv({allErrors: true, jsonPointers: true});
-// Ajv options allErrors and jsonPointers are required
-require('ajv-errors')(ajv /*, {singleError: true} */);
-```
-
-See [Options](#options) below.
-
-
-### Single message
-
-Replace all errors in the current schema and subschemas with a single message:
-
-```javascript
-var schema = {
-  type: 'object',
-  required: ['foo'],
-  properties: {
-    foo: { type: 'integer' }
-  },
-  additionalProperties: false,
-  errorMessage: 'should be an object with an integer property foo only'
-};
-
-var validate = ajv.compile(schema);
-console.log(validate({foo: 'a', bar: 2})); // false
-console.log(validate.errors); // processed errors
-```
-
-Processed errors:
-
-```javascript
-[
-  {
-    keyword: 'errorMessage',
-    message: 'should be an object with an integer property foo only',
-    // ...
-    params: {
-      errors: [
-        { keyword: 'additionalProperties', dataPath: '' /* , ... */ },
-        { keyword: 'type', dataPath: '.foo' /* , ... */ }
-      ]
-    }
-  }
-]
-```
-
-
-### Messages for keywords
-
-Replace errors for certain keywords in the current schema only:
-
-```javascript
-var schema = {
-  type: 'object',
-  required: ['foo'],
-  properties: {
-    foo: { type: 'integer' }
-  },
-  additionalProperties: false,
-  errorMessage: {
-    type: 'should be an object', // will not replace internal "type" error for the property "foo"
-    required: 'should have property foo',
-    additionalProperties: 'should not have properties other than foo'
-  }
-};
-
-var validate = ajv.compile(schema);
-console.log(validate({foo: 'a', bar: 2})); // false
-console.log(validate.errors); // processed errors
-```
-
-Processed errors:
-
-```javascript
-[
-  {
-    // original error
-    keyword: type,
-    dataPath: '/foo',
-    // ...
-    message: 'should be integer'
-  },
-  {
-    // generated error
-    keyword: 'errorMessage',
-    message: 'should not have properties other than foo',
-    // ...
-    params: {
-      errors: [
-        { keyword: 'additionalProperties' /* , ... */ }
-      ]
-    },
-  }
-]
-```
-
-For keywords "required" and "dependencies" it is possible to specify different messages for different properties:
-
-```javascript
-var schema = {
-  type: 'object',
-  required: ['foo', 'bar'],
-  properties: {
-    foo: { type: 'integer' },
-    bar: { type: 'string' }
-  },
-  errorMessage: {
-    type: 'should be an object', // will not replace internal "type" error for the property "foo"
-    required: {
-      foo: 'should have an integer property "foo"',
-      bar: 'should have a string property "bar"'
-    }
-  }
-};
-```
-
-
-### Messages for properties and items
-
-Replace errors for properties / items (and deeper), regardless where in schema they were created:
-
-```javascript
-var schema = {
-  type: 'object',
-  required: ['foo', 'bar'],
-  allOf: [{
-    properties: {
-      foo: { type: 'integer', minimum: 2 },
-      bar: { type: 'string', minLength: 2 }
-    },
-    additionalProperties: false
-  }],
-  errorMessage: {
-    properties: {
-      foo: 'data.foo should be integer >= 2',
-      bar: 'data.bar should be string with length >= 2'
-    }
-  }
-};
-
-var validate = ajv.compile(schema);
-console.log(validate({foo: 1, bar: 'a'})); // false
-console.log(validate.errors); // processed errors
-```
-
-Processed errors:
-
-```javascript
-[
-  {
-    keyword: 'errorMessage',
-    message: 'data.foo should be integer >= 2',
-    dataPath: '/foo',
-    // ...
-    params: {
-      errors: [
-        { keyword: 'minimum' /* , ... */ }
-      ]
-    },
-  },
-  {
-    keyword: 'errorMessage',
-    message: 'data.bar should be string with length >= 2',
-    dataPath: '/bar',
-    // ...
-    params: {
-      errors: [
-        { keyword: 'minLength' /* , ... */ }
-      ]
-    },
-  }
-]
-```
-
-
-### Default message
-
-When the value of keyword `errorMessage` is an object you can specify a message that will be used if any error appears that is not specified by keywords/properties/items:
-
-```javascript
-var schema = {
-  type: 'object',
-  required: ['foo', 'bar'],
-  allOf: [{
-    properties: {
-      foo: { type: 'integer', minimum: 2 },
-      bar: { type: 'string', minLength: 2 }
-    },
-    additionalProperties: false
-  }],
-  errorMessage: {
-    type: 'data should be an object',
-    properties: {
-      foo: 'data.foo should be integer >= 2',
-      bar: 'data.bar should be string with length >= 2'
-    },
-    _: 'data should have properties "foo" and "bar" only'
-  }
-};
-
-var validate = ajv.compile(schema);
-console.log(validate({})); // false
-console.log(validate.errors); // processed errors
-```
-
-Processed errors:
-
-```javascript
-[
-  {
-    keyword: 'errorMessage',
-    message: 'data should be an object with properties "foo" and "bar" only',
-    dataPath: '',
-    // ...
-    params: {
-      errors: [
-        { keyword: 'required' /* , ... */ },
-        { keyword: 'required' /* , ... */ }
-      ]
-    },
-  }
-]
-```
-
-The message in property `_` of `errorMessage` replaces the same errors that would have been replaced if `errorMessage` were a string.
-
-
-## Templates
-
-Custom error messages used in `errorMessage` keyword can be templates using [JSON-pointers](https://tools.ietf.org/html/rfc6901) or [relative JSON-pointers](http://tools.ietf.org/html/draft-luff-relative-json-pointer-00) to data being validated, in which case the value will be interpolated. Also see [examples](https://gist.github.com/geraintluff/5911303) of relative JSON-pointers.
-
-The syntax to interpolate a value is `${<pointer>}`.
-
-The values used in messages will be JSON-stringified:
-- to differentiate between `false` and `"false"`, etc.
-- to support structured values.
-
-Example:
-
-```json
-{
-  "type": "object",
-  "properties": {
-    "size": {
-      "type": "number",
-      "minimum": 4
-    }
-  },
-  "errorMessage": {
-    "properties": {
-      "size": "size should be a number bigger or equal to 4, current value is ${/size}"
-    }
-  }
-}
-```
-
-
-## Options
-
-Defaults:
-
-```javascript
-{
-  keepErrors: false,
-  singleError: false
-}
-```
-
-- _keepErrors_: keep original errors. Default is to remove matched errors (they will still be available in `params.errors` property of generated error). If an error was matched and included in the error generated by `errorMessage` keyword it will have property `emUsed: true`.
-- _singleError_: create one error for all keywords used in `errorMessage` keyword (error messages defined for properties and items are not merged because they have different dataPaths). Multiple error messages are concatenated. Option values:
-  - `false` (default): create multiple errors, one for each message
-  - `true`: create single error, messages are concatenated using `"; "`
-  - non-empty string: this string is used as a separator to concatenate messages
-
-
-## Supporters
-
-[<img src="https://media.licdn.com/mpr/mpr/shrinknp_400_400/AAEAAQAAAAAAAAwEAAAAJDg1YzBlYzFjLTA3YWYtNGEzOS1iMTdjLTQ0MTU1NWZjOGM0ZQ.jpg" width="48" height="48">](https://www.linkedin.com/in/rogerkepler/) [Roger Kepler](https://www.linkedin.com/in/rogerkepler/)
-
-
-## License
-
-[MIT](https://github.com/epoberezkin/ajv-errors/blob/master/LICENSE)

+ 0 - 48
node_modules.bak/ajv-errors/index.js

@@ -1,48 +0,0 @@
-'use strict';
-
-module.exports = function (ajv, options) {
-  if (!ajv._opts.allErrors) throw new Error('ajv-errors: Ajv option allErrors must be true');
-  if (!ajv._opts.jsonPointers) {
-    console.warn('ajv-errors: Ajv option jsonPointers changed to true');
-    ajv._opts.jsonPointers = true;
-  }
-
-  ajv.addKeyword('errorMessage', {
-    inline: require('./lib/dotjs/errorMessage'),
-    statements: true,
-    valid: true,
-    errors: 'full',
-    config: {
-      KEYWORD_PROPERTY_PARAMS: {
-        required: 'missingProperty',
-        dependencies: 'property'
-      },
-      options: options || {}
-    },
-    metaSchema: {
-      'type': ['string', 'object'],
-      properties: {
-        properties: {$ref: '#/definitions/stringMap'},
-        items: {$ref: '#/definitions/stringList'},
-        required: {$ref: '#/definitions/stringOrMap'},
-        dependencies: {$ref: '#/definitions/stringOrMap'}
-      },
-      additionalProperties: {'type': 'string'},
-      definitions: {
-        stringMap: {
-          'type': ['object'],
-          additionalProperties: {'type': 'string'}
-        },
-        stringOrMap: {
-          'type': ['string', 'object'],
-          additionalProperties: {'type': 'string'}
-        },
-        stringList: {
-          'type': ['array'],
-          items: {'type': 'string'}
-        }
-      }
-    }
-  });
-  return ajv;
-};

+ 0 - 372
node_modules.bak/ajv-errors/lib/dot/errorMessage.jst

@@ -1,372 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-
-{{## def.em_errorMatch:
-  {{# def._em_commonErrorMatch }}
-  && ({{=$err}}.dataPath == {{=$dataPath}} ||
-      ({{=$err}}.dataPath.indexOf({{=$dataPath}}) == 0 &&
-       {{=$err}}.dataPath[{{=$dataPath}}.length] == '/'))
-  && {{=$err}}.schemaPath.indexOf({{=$errSchemaPathString}}) == 0
-  && {{=$err}}.schemaPath[{{=it.errSchemaPath.length}}] == '/'
-#}}
-
-{{## def.em_keywordErrorMatch:
-  {{# def._em_commonErrorMatch }}
-  && {{=$err}}.keyword in {{=$errors}}
-  && {{=$err}}.dataPath == {{=$dataPath}}
-  && {{=$err}}.schemaPath.indexOf({{=$errSchemaPathString}}) == 0
-  && /^\/[^\/]*$/.test({{=$err}}.schemaPath.slice({{=it.errSchemaPath.length}}))
-#}}
-
-{{## def.em_childErrorMatch:
-  {{# def._em_commonErrorMatch }}
-  && {{=$err}}.dataPath.indexOf({{=$dataPath}}) == 0
-  && ({{=$matches}} = {{=$err}}.dataPath.slice({{=$dataPath}}.length).match(/^\/([^\/]*)(?:\/|$)/),
-      {{=$child}} = {{=$matches}} && {{=$matches}}[1].replace(/~1/g, '/').replace(/~0/g, '~')
-     ) !== undefined
-  && {{=$child}} in {{=$errors}}
-#}}
-
-{{## def._em_commonErrorMatch:
-  {{=$err}}.keyword != '{{=$keyword}}'
-  {{? $config.options.keepErrors }}
-    && !{{=$err}}.emUsed
-  {{?}}
-#}}
-
-{{## def.em_useError:
-  {{? $config.options.keepErrors }}
-    {{=$err}}.emUsed = true;
-  {{??}}
-    vErrors.splice({{=$i}}, 1);
-    errors--;
-  {{?}}
-#}}
-
-{{## def.em_compileTemplates: _keysArray:
-  var {{=$templates}} = {
-    {{ var $comma = false; }}
-    {{~ _keysArray:$k }}
-      {{? INTERPOLATION.test($schema[$k]) }}
-        {{?$comma}},{{?}}{{= it.util.toQuotedString($k) }}: {{= templateFunc($schema[$k]) }}
-        {{ $comma = true; }}
-      {{?}}
-    {{~}}
-  };
-#}}
-
-{{## def.em_compilePropsTemplates: _keywordProps:
-  var {{=$templates}} = {
-    {{ var $comma = false; }}
-    {{~ Object.keys(_keywordProps):$k }}
-      {{ var $keywordMsgs = $schema[$k]; }}
-      {{?$comma}},{{?}}{{= it.util.toQuotedString($k) }}: {
-        {{ $comma = true; var $innerComma = false; }}
-        {{~ Object.keys($keywordMsgs):$prop }}
-          {{? INTERPOLATION.test($keywordMsgs[$prop]) }}
-            {{?$innerComma}},{{?}}{{= it.util.toQuotedString($prop) }}: {{= templateFunc($keywordMsgs[$prop]) }}
-            {{ $innerComma = true; }}
-          {{?}}
-        {{~}}
-      }
-    {{~}}
-  };
-#}}
-
-{{## def.em_compileChildTemplates: _children:
-  {{ var _keysArray = Object.keys($childErrors._children); }}
-  var {{=$templates}} = {
-    {{ var $comma = false; }}
-    {{~ _keysArray:$k }}
-      {{? INTERPOLATION.test($schema._children[$k]) }}
-        {{?$comma}},{{?}}{{= it.util.toQuotedString($k) }}: {{= templateFunc($schema._children[$k]) }}
-        {{ $comma = true; }}
-      {{?}}
-    {{~}}
-  };
-#}}
-
-{{## def.em_errorMessage:
-  {{=$key}} in {{=$templates}}
-  ? {{=$templates}}[{{=$key}}] ()
-  : validate.schema{{=$schemaPath}}[{{=$key}}]
-#}}
-
-{{## def.em_keywordError:
-  var err = {
-    keyword: '{{=$keyword}}'
-    , dataPath: {{=$dataPath}}
-    , schemaPath: {{=$errSchemaPathString}} + '/{{=$keyword}}'
-    , params: { errors: {{=$paramsErrors}} }
-    , message: {{=$message}}
-    {{? it.opts.verbose }}
-      , schema: validate.schema{{=$schemaPath}}
-      , parentSchema: validate.schema{{=it.schemaPath}}
-      , data: {{=$data}}
-    {{?}}
-  };
-  {{# def._addError:'custom' }}
-#}}
-
-
-{{? it.createErrors !== false }}
-  {{
-    var INTERPOLATION = /\$\{[^\}]+\}/;
-    var INTERPOLATION_REPLACE = /\$\{([^\}]+)\}/g;
-    var EMPTY_STR = /^\'\'\s*\+\s*|\s*\+\s*\'\'$/g;
-
-    var $config = it.self.getKeyword($keyword).config
-      , $dataPath = '_em_dataPath' + $lvl
-      , $i = '_em_i' + $lvl
-      , $key = '_em_key' + $lvl
-      , $keyProp = '_em_keyProp' + $lvl
-      , $err = '_em_err' + $lvl
-      , $child = '_em_child' + $lvl
-      , $childKeyword = '_em_childKeyword' + $lvl
-      , $matches = '_em_matches' + $lvl
-      , $isArray = '_em_isArray' + $lvl
-      , $errors = '_em_errors' + $lvl
-      , $message = '_em_message' + $lvl
-      , $paramsErrors = '_em_paramsErrors' + $lvl
-      , $propParam = '_em_propParam' + $lvl
-      , $keywordPropParams = '_em_keywordPropParams' + $lvl
-      , $templates = '_em_templates' + $lvl
-      , $errSchemaPathString = it.util.toQuotedString(it.errSchemaPath);
-  }}
-
-  if (errors > 0) {
-    var {{=$dataPath}} = (dataPath || '') + {{= it.errorPath }};
-    var {{=$i}}, {{=$err}}, {{=$errors}};
-
-    {{? typeof $schema == 'object' }}
-      {{
-        var $keywordErrors = {}
-          , $keywordPropErrors = {}
-          , $childErrors = { properties: {}, items: {} }
-          , $hasKeywordProps = false
-          , $hasProperties = false
-          , $hasItems = false;
-
-        for (var $k in $schema) {
-          switch ($k) {
-            case 'properties':
-              for (var $prop in $schema.properties) {
-                $hasProperties = true;
-                $childErrors.properties[$prop] = [];
-              }
-              break;
-            case 'items':
-              for (var $item=0; $item<$schema.items.length; $item++) {
-                $hasItems = true;
-                $childErrors.items[$item] = [];
-              }
-              break;
-            default:
-              if (typeof $schema[$k] == 'object') {
-                $hasKeywordProps = true;
-                $keywordPropErrors[$k] = {};
-                for (var $prop in $schema[$k]) {
-                  $keywordPropErrors[$k][$prop] = [];
-                }
-              } else {
-                $keywordErrors[$k] = [];
-              }
-          }
-        }
-      }}
-
-      {{ var $keywordErrorsArr = Object.keys($keywordErrors); }}
-      {{? $keywordErrorsArr.length }}
-        {{=$i}} = 0;
-        {{=$errors}} = {{= JSON.stringify($keywordErrors) }};
-        {{# def.em_compileTemplates:$keywordErrorsArr }}
-        while ({{=$i}} < errors) {
-          {{=$err}} = vErrors[{{=$i}}];
-          if ({{# def.em_keywordErrorMatch}}) {
-            {{=$errors}}[{{=$err}}.keyword].push({{=$err}});
-            {{# def.em_useError }}
-          } else {
-            {{=$i}}++;
-          }
-        }
-
-        {{? $config.options.singleError }}
-          var {{=$message}} = '';
-          var {{=$paramsErrors}} = [];
-        {{?}}
-
-          for (var {{=$key}} in {{=$errors}}) {
-            if ({{=$errors}}[{{=$key}}].length) {
-
-        {{? $config.options.singleError }}
-              if ({{=$message}}) {
-                {{=$message}} += {{? typeof $config.options.singleError == 'string' }}
-                  {{= it.util.toQuotedString($config.options.singleError) }}
-                {{??}}
-                  '; '
-                {{?}};
-              }
-              {{=$message}} += {{# def.em_errorMessage }};
-              {{=$paramsErrors}} = {{=$paramsErrors}}.concat({{=$errors}}[{{=$key}}]);
-            }
-          }
-        {{??}}
-              var {{=$message}} = {{# def.em_errorMessage }};
-              var {{=$paramsErrors}} = {{=$errors}}[{{=$key}}];
-        {{?}}
-
-              {{# def.em_keywordError}}
-
-        {{? !$config.options.singleError }}
-            }
-          }
-        {{?}}
-      {{?}} /* $keywordErrorsArr */
-
-      {{? $hasKeywordProps }}
-        {{=$i}} = 0;
-        {{=$errors}} = {{= JSON.stringify($keywordPropErrors) }};
-        var {{=$paramsErrors}}, {{=$propParam}};
-        var {{=$keywordPropParams}} = {{= JSON.stringify($config.KEYWORD_PROPERTY_PARAMS) }};
-        {{# def.em_compilePropsTemplates:$keywordPropErrors }}
-
-        while ({{=$i}} < errors) {
-          {{=$err}} = vErrors[{{=$i}}];
-          if ({{# def.em_keywordErrorMatch}}) {
-            {{=$propParam}} = {{=$keywordPropParams}}[{{=$err}}.keyword];
-            {{=$paramsErrors}} = {{=$errors}}[{{=$err}}.keyword][{{=$err}}.params[{{=$propParam}}]];
-            if ({{=$paramsErrors}}) {
-              {{=$paramsErrors}}.push({{=$err}});
-              {{# def.em_useError }}
-            } else {
-              {{=$i}}++;
-            }
-          } else {
-            {{=$i}}++;
-          }
-        }
-
-        for (var {{=$key}} in {{=$errors}}) {
-          for (var {{=$keyProp}} in {{=$errors}}[{{=$key}}]) {
-            {{=$paramsErrors}} = {{=$errors}}[{{=$key}}][{{=$keyProp}}];
-            if ({{=$paramsErrors}}.length) {
-              var {{=$message}} =   {{=$key}} in {{=$templates}} && {{=$keyProp}} in {{=$templates}}[{{=$key}}]
-                                    ? {{=$templates}}[{{=$key}}][{{=$keyProp}}] ()
-                                    : validate.schema{{=$schemaPath}}[{{=$key}}][{{=$keyProp}}];
-              {{# def.em_keywordError}}
-            }
-          }
-        }
-      {{?}} /* $hasKeywordProps */
-
-      {{? $hasProperties || $hasItems }}
-        var {{=$isArray}} = Array.isArray({{=$data}});
-        if
-          {{? $hasProperties && $hasItems }}
-            (typeof {{=$data}} == 'object') {
-              {{ var $childProp = '[' + $childKeyword + ']'; }}
-              {{=$i}} = 0;
-              if ({{=$isArray}}) {
-                var {{=$childKeyword}} = 'items';
-                {{=$errors}} = {{= JSON.stringify($childErrors.items) }}; 
-                {{# def.em_compileChildTemplates: items }}
-              } else {
-                var {{=$childKeyword}} = 'properties';
-                {{=$errors}} =  {{= JSON.stringify($childErrors.properties) }}; 
-                {{# def.em_compileChildTemplates: properties }}
-              }
-          {{?? $hasProperties }}
-            (typeof {{=$data}} == 'object' && !{{=$isArray}}) {
-              {{ var $childProp = '.properties'; }}
-              {{=$i}} = 0;
-              {{=$errors}} = {{= JSON.stringify($childErrors.properties) }};
-              {{# def.em_compileChildTemplates: properties }}
-          {{??}}
-            ({{=$isArray}}) {
-              {{ var $childProp = '.items'; }}
-              {{=$i}} = 0;
-              {{=$errors}} = {{= JSON.stringify($childErrors.items) }};
-              {{# def.em_compileChildTemplates: items }}
-          {{?}}
-
-          var {{=$child}}, {{=$matches}};
-          while ({{=$i}} < errors) {
-            {{=$err}} = vErrors[{{=$i}}];
-            if ({{# def.em_childErrorMatch}}) {
-              {{=$errors}}[{{=$child}}].push({{=$err}});
-              {{# def.em_useError }}
-            } else {
-              {{=$i}}++;
-            }
-          }
-          for (var {{=$key}} in {{=$errors}}) {
-            if ({{=$errors}}[{{=$key}}].length) {
-              var err = {
-                keyword: '{{=$keyword}}'
-                , dataPath: {{=$dataPath}} + '/' + {{=$key}}.replace(/~/g, '~0').replace(/\//g, '~1')
-                , schemaPath: {{=$errSchemaPathString}} + '/{{=$keyword}}'
-                , params: { errors: {{=$errors}}[{{=$key}}] }
-                , message: {{=$key}} in {{=$templates}}
-                            ? {{=$templates}}[{{=$key}}] ()
-                            : validate.schema{{=$schemaPath}}{{=$childProp}}[{{=$key}}]
-                {{? it.opts.verbose }}
-                  , schema: validate.schema{{=$schemaPath}}
-                  , parentSchema: validate.schema{{=it.schemaPath}}
-                  , data: {{=$data}}
-                {{?}}
-              };
-              {{# def._addError:'custom' }}
-            }
-          } /* for */
-        } /* if */
-      {{?}} /* $hasProperties || $hasItems */
-    {{?}} /* $schema is object */
-
-    {{ var $schemaMessage = typeof $schema == 'string' ? $schema : $schema._; }}
-    {{? $schemaMessage }}
-      {{=$i}} = 0;
-      {{=$errors}} = [];
-      while ({{=$i}} < errors) {
-        {{=$err}} = vErrors[{{=$i}}];
-        if ({{# def.em_errorMatch}}) {
-          {{=$errors}}.push({{=$err}});
-          {{# def.em_useError }}
-        } else {
-          {{=$i}}++;
-        }
-      }
-      if ({{=$errors}}.length) {
-        var err = {
-          keyword: '{{=$keyword}}'
-          , dataPath: {{=$dataPath}}
-          , schemaPath: {{=$errSchemaPathString}} + '/{{=$keyword}}'
-          , params: { errors: {{=$errors}} }
-          , message: {{=templateExpr($schemaMessage)}}
-          {{? it.opts.verbose }}
-            , schema: {{=it.util.toQuotedString($schemaMessage)}}
-            , parentSchema: validate.schema{{=it.schemaPath}}
-            , data: {{=$data}}
-          {{?}}
-        };
-        {{# def._addError:'custom' }}
-      }
-    {{?}}
-  }
-{{?}}
-
-
-{{
-  function templateExpr(str) {
-    str = it.util.escapeQuotes(str);
-    if (!INTERPOLATION.test(str)) return "'" + str + "'";
-    var expr = "'" + str.replace(INTERPOLATION_REPLACE, function ($0, $1) {
-      return "' + JSON.stringify(" + it.util.getData($1, $dataLvl, it.dataPathArr) + ") + '";
-    }) + "'";
-    return expr.replace(EMPTY_STR, '');
-  }
-
-  function templateFunc(str) {
-    return 'function() { return ' + templateExpr(str) + '; }';
-  }
-}}

+ 0 - 3
node_modules.bak/ajv-errors/lib/dotjs/README.md

@@ -1,3 +0,0 @@
-These files are compiled dot templates from dot folder.
-
-Do NOT edit them directly, edit the templates and run `npm run build` from main ajv-keywords folder.

File diff suppressed because it is too large
+ 0 - 315
node_modules.bak/ajv-errors/lib/dotjs/errorMessage.js


+ 0 - 90
node_modules.bak/ajv-errors/package.json

@@ -1,90 +0,0 @@
-{
-  "_from": "ajv-errors@^1.0.0",
-  "_id": "ajv-errors@1.0.1",
-  "_inBundle": false,
-  "_integrity": "sha1-81mGrOuRr63sQQL72FAUlQzvpk0=",
-  "_location": "/ajv-errors",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "ajv-errors@^1.0.0",
-    "name": "ajv-errors",
-    "escapedName": "ajv-errors",
-    "rawSpec": "^1.0.0",
-    "saveSpec": null,
-    "fetchSpec": "^1.0.0"
-  },
-  "_requiredBy": [
-    "/css-loader/schema-utils",
-    "/file-loader/schema-utils",
-    "/mini-css-extract-plugin/schema-utils",
-    "/style-loader/schema-utils",
-    "/terser-webpack-plugin/schema-utils",
-    "/uglifyjs-webpack-plugin/schema-utils",
-    "/webpack-dev-server/schema-utils",
-    "/webpack/schema-utils"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/ajv-errors/download/ajv-errors-1.0.1.tgz",
-  "_shasum": "f35986aceb91afadec4102fbd85014950cefa64d",
-  "_spec": "ajv-errors@^1.0.0",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\css-loader\\node_modules\\schema-utils",
-  "author": "",
-  "bugs": {
-    "url": "https://github.com/epoberezkin/ajv-errors/issues"
-  },
-  "bundleDependencies": false,
-  "deprecated": false,
-  "description": "Custom error messages in JSON-Schema for Ajv validator",
-  "devDependencies": {
-    "ajv": "^5.0.0",
-    "coveralls": "^2.11.16",
-    "dot": "^1.1.1",
-    "eslint": "^3.17.0",
-    "glob": "^7.1.1",
-    "js-beautify": "^1.6.12",
-    "mocha": "^3.2.0",
-    "nyc": "^10.1.2",
-    "pre-commit": "^1.2.2"
-  },
-  "files": [
-    "lib"
-  ],
-  "homepage": "https://github.com/epoberezkin/ajv-errors#readme",
-  "keywords": [
-    "ajv",
-    "json-schema",
-    "validator",
-    "error",
-    "messages"
-  ],
-  "license": "MIT",
-  "main": "index.js",
-  "name": "ajv-errors",
-  "nyc": {
-    "exclude": [
-      "**/spec/**",
-      "node_modules"
-    ],
-    "reporter": [
-      "lcov",
-      "text-summary"
-    ]
-  },
-  "peerDependencies": {
-    "ajv": ">=5.0.0"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/epoberezkin/ajv-errors.git"
-  },
-  "scripts": {
-    "build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib lib",
-    "eslint": "eslint *.js spec",
-    "prepublish": "npm run build",
-    "test": "npm run eslint && npm run build && npm run test-cov",
-    "test-cov": "nyc npm run test-spec",
-    "test-spec": "mocha spec/*.spec.js -R spec"
-  },
-  "version": "1.0.1"
-}

+ 0 - 21
node_modules.bak/ajv-keywords/LICENSE

@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Evgeny Poberezkin
-
-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.

+ 0 - 836
node_modules.bak/ajv-keywords/README.md

@@ -1,836 +0,0 @@
-# ajv-keywords
-
-Custom JSON-Schema keywords for [Ajv](https://github.com/epoberezkin/ajv) validator
-
-[![Build Status](https://travis-ci.org/ajv-validator/ajv-keywords.svg?branch=master)](https://travis-ci.org/ajv-validator/ajv-keywords)
-[![npm](https://img.shields.io/npm/v/ajv-keywords.svg)](https://www.npmjs.com/package/ajv-keywords)
-[![npm downloads](https://img.shields.io/npm/dm/ajv-keywords.svg)](https://www.npmjs.com/package/ajv-keywords)
-[![Coverage Status](https://coveralls.io/repos/github/ajv-validator/ajv-keywords/badge.svg?branch=master)](https://coveralls.io/github/ajv-validator/ajv-keywords?branch=master)
-[![Dependabot](https://api.dependabot.com/badges/status?host=github&repo=ajv-validator/ajv-keywords)](https://app.dependabot.com/accounts/ajv-validator/repos/60477053)
-[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv)
-
-
-## Contents
-
-- [Install](#install)
-- [Usage](#usage)
-- [Keywords](#keywords)
-  - [Types](#types)
-    - [typeof](#typeof)
-    - [instanceof](#instanceof)
-  - [Keywords for numbers](#keywords-for-numbers)
-    - [range and exclusiveRange](#range-and-exclusiverange)
-  - [Keywords for strings](#keywords-for-strings)
-    - [regexp](#regexp)
-    - [formatMaximum / formatMinimum and formatExclusiveMaximum / formatExclusiveMinimum](#formatmaximum--formatminimum-and-formatexclusivemaximum--formatexclusiveminimum)
-    - [transform](#transform)<sup>\*</sup>
-  - [Keywords for arrays](#keywords-for-arrays)
-    - [uniqueItemProperties](#uniqueitemproperties)
-  - [Keywords for objects](#keywords-for-objects)
-    - [allRequired](#allrequired)
-    - [anyRequired](#anyrequired)
-    - [oneRequired](#onerequired)
-    - [patternRequired](#patternrequired)
-    - [prohibited](#prohibited)
-    - [deepProperties](#deepproperties)
-    - [deepRequired](#deeprequired)
-  - [Compound keywords](#compound-keywords)
-    - [switch](#switch) (deprecated)
-    - [select/selectCases/selectDefault](#selectselectcasesselectdefault) (BETA)
-  - [Keywords for all types](#keywords-for-all-types)
-    - [dynamicDefaults](#dynamicdefaults)<sup>\*</sup>
-- [Security contact](#security-contact)
-- [Open-source software support](#open-source-software-support)
-- [License](#license)
-
-<sup>\*</sup> - keywords that modify data
-
-
-## Install
-
-```
-npm install ajv-keywords
-```
-
-
-## Usage
-
-To add all available keywords:
-
-```javascript
-var Ajv = require('ajv');
-var ajv = new Ajv;
-require('ajv-keywords')(ajv);
-
-ajv.validate({ instanceof: 'RegExp' }, /.*/); // true
-ajv.validate({ instanceof: 'RegExp' }, '.*'); // false
-```
-
-To add a single keyword:
-
-```javascript
-require('ajv-keywords')(ajv, 'instanceof');
-```
-
-To add multiple keywords:
-
-```javascript
-require('ajv-keywords')(ajv, ['typeof', 'instanceof']);
-```
-
-To add a single keyword in browser (to avoid adding unused code):
-
-```javascript
-require('ajv-keywords/keywords/instanceof')(ajv);
-```
-
-
-## Keywords
-
-### Types
-
-#### `typeof`
-
-Based on JavaScript `typeof` operation.
-
-The value of the keyword should be a string (`"undefined"`, `"string"`, `"number"`, `"object"`, `"function"`, `"boolean"` or `"symbol"`) or array of strings.
-
-To pass validation the result of `typeof` operation on the value should be equal to the string (or one of the strings in the array).
-
-```
-ajv.validate({ typeof: 'undefined' }, undefined); // true
-ajv.validate({ typeof: 'undefined' }, null); // false
-ajv.validate({ typeof: ['undefined', 'object'] }, null); // true
-```
-
-
-#### `instanceof`
-
-Based on JavaScript `instanceof` operation.
-
-The value of the keyword should be a string (`"Object"`, `"Array"`, `"Function"`, `"Number"`, `"String"`, `"Date"`, `"RegExp"`, `"Promise"` or `"Buffer"`) or array of strings.
-
-To pass validation the result of `data instanceof ...` operation on the value should be true:
-
-```
-ajv.validate({ instanceof: 'Array' }, []); // true
-ajv.validate({ instanceof: 'Array' }, {}); // false
-ajv.validate({ instanceof: ['Array', 'Function'] }, function(){}); // true
-```
-
-You can add your own constructor function to be recognised by this keyword:
-
-```javascript
-function MyClass() {}
-var instanceofDefinition = require('ajv-keywords').get('instanceof').definition;
-// or require('ajv-keywords/keywords/instanceof').definition;
-instanceofDefinition.CONSTRUCTORS.MyClass = MyClass;
-
-ajv.validate({ instanceof: 'MyClass' }, new MyClass); // true
-```
-
-
-### Keywords for numbers
-
-#### `range` and `exclusiveRange`
-
-Syntax sugar for the combination of minimum and maximum keywords, also fails schema compilation if there are no numbers in the range.
-
-The value of this keyword must be the array consisting of two numbers, the second must be greater or equal than the first one.
-
-If the validated value is not a number the validation passes, otherwise to pass validation the value should be greater (or equal) than the first number and smaller (or equal) than the second number in the array. If `exclusiveRange` keyword is present in the same schema and its value is true, the validated value must not be equal to the range boundaries.
-
-```javascript
-var schema = { range: [1, 3] };
-ajv.validate(schema, 1); // true
-ajv.validate(schema, 2); // true
-ajv.validate(schema, 3); // true
-ajv.validate(schema, 0.99); // false
-ajv.validate(schema, 3.01); // false
-
-var schema = { range: [1, 3], exclusiveRange: true };
-ajv.validate(schema, 1.01); // true
-ajv.validate(schema, 2); // true
-ajv.validate(schema, 2.99); // true
-ajv.validate(schema, 1); // false
-ajv.validate(schema, 3); // false
-```
-
-
-### Keywords for strings
-
-#### `regexp`
-
-This keyword allows to use regular expressions with flags in schemas (the standard `pattern` keyword does not support flags).
-
-This keyword applies only to strings. If the data is not a string, the validation succeeds.
-
-The value of this keyword can be either a string (the result of `regexp.toString()`) or an object with the properties `pattern` and `flags` (the same strings that should be passed to RegExp constructor).
-
-```javascript
-var schema = {
-  type: 'object',
-  properties: {
-    foo: { regexp: '/foo/i' },
-    bar: { regexp: { pattern: 'bar', flags: 'i' } }
-  }
-};
-
-var validData = {
-  foo: 'Food',
-  bar: 'Barmen'
-};
-
-var invalidData = {
-  foo: 'fog',
-  bar: 'bad'
-};
-```
-
-
-#### `formatMaximum` / `formatMinimum` and `formatExclusiveMaximum` / `formatExclusiveMinimum`
-
-These keywords allow to define minimum/maximum constraints when the format keyword defines ordering.
-
-These keywords apply only to strings. If the data is not a string, the validation succeeds.
-
-The value of keyword `formatMaximum` (`formatMinimum`) should be a string. This value is the maximum (minimum) allowed value for the data to be valid as determined by `format` keyword. If `format` is not present schema compilation will throw exception.
-
-When this keyword is added, it defines comparison rules for formats `"date"`, `"time"` and `"date-time"`. Custom formats also can have comparison rules. See [addFormat](https://github.com/epoberezkin/ajv#api-addformat) method.
-
-The value of keyword `formatExclusiveMaximum` (`formatExclusiveMinimum`) should be a boolean value. These keyword cannot be used without `formatMaximum` (`formatMinimum`). If this keyword value is equal to `true`, the data to be valid should not be equal to the value in `formatMaximum` (`formatMinimum`) keyword.
-
-```javascript
-require('ajv-keywords')(ajv, ['formatMinimum', 'formatMaximum']);
-
-var schema = {
-  format: 'date',
-  formatMinimum: '2016-02-06',
-  formatMaximum: '2016-12-27',
-  formatExclusiveMaximum: true
-}
-
-var validDataList = ['2016-02-06', '2016-12-26', 1];
-
-var invalidDataList = ['2016-02-05', '2016-12-27', 'abc'];
-```
-
-
-#### `transform`
-
-This keyword allows a string to be modified before validation. 
-
-These keywords apply only to strings. If the data is not a string, the transform is skipped.
-
-There are limitation due to how ajv is written:
-- a stand alone string cannot be transformed. ie `data = 'a'; ajv.validate(schema, data);`
-- currently cannot work with `ajv-pack`
-
-**Supported options:**
-- `trim`: remove whitespace from start and end
-- `trimLeft`: remove whitespace from start
-- `trimRight`: remove whitespace from end
-- `toLowerCase`: case string to all lower case
-- `toUpperCase`: case string to all upper case
-- `toEnumCase`: case string to match case in schema
-
-Options are applied in the order they are listed.
-
-Note: `toEnumCase` requires that all allowed values are unique when case insensitive.
-
-**Example: multiple options**
-```javascript
-require('ajv-keywords')(ajv, ['transform']);
-
-var schema = {
-  type: 'array',
-  items: {
-    type:'string',
-    transform:['trim','toLowerCase']
-  }
-};
-
-var data = ['  MixCase  '];
-ajv.validate(schema, data);
-console.log(data); // ['mixcase']
-
-```
-
-**Example: `enumcase`**
-```javascript
-require('ajv-keywords')(ajv, ['transform']);
-
-var schema = {
-  type: 'array',
-  items: {
-    type:'string',
-    transform:['trim','toEnumCase'],
-    enum:['pH']
-  }
-};
-
-var data = ['ph',' Ph','PH','pH '];
-ajv.validate(schema, data);
-console.log(data); // ['pH','pH','pH','pH']
-```
-
-
-### Keywords for arrays
-
-#### `uniqueItemProperties`
-
-The keyword allows to check that some properties in array items are unique.
-
-This keyword applies only to arrays. If the data is not an array, the validation succeeds.
-
-The value of this keyword must be an array of strings - property names that should have unique values across all items.
-
-```javascript
-var schema = { uniqueItemProperties: [ "id", "name" ] };
-
-var validData = [
-  { id: 1 },
-  { id: 2 },
-  { id: 3 }
-];
-
-var invalidData1 = [
-  { id: 1 },
-  { id: 1 }, // duplicate "id"
-  { id: 3 }
-];
-
-var invalidData2 = [
-  { id: 1, name: "taco" },
-  { id: 2, name: "taco" }, // duplicate "name"
-  { id: 3, name: "salsa" }
-];
-```
-
-This keyword is contributed by [@blainesch](https://github.com/blainesch).
-
-
-### Keywords for objects
-
-#### `allRequired`
-
-This keyword allows to require the presence of all properties used in `properties` keyword in the same schema object.
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value of this keyword must be boolean.
-
-If the value of the keyword is `false`, the validation succeeds.
-
-If the value of the keyword is `true`, the validation succeeds if the data contains all properties defined in `properties` keyword (in the same schema object).
-
-If the `properties` keyword is not present in the same schema object, schema compilation will throw exception.
-
-```javascript
-var schema = {
-  properties: {
-    foo: {type: 'number'},
-    bar: {type: 'number'}
-  }
-  allRequired: true
-};
-
-var validData = { foo: 1, bar: 2 };
-var alsoValidData = { foo: 1, bar: 2, baz: 3 };
-
-var invalidDataList = [ {}, { foo: 1 }, { bar: 2 } ];
-```
-
-
-#### `anyRequired`
-
-This keyword allows to require the presence of any (at least one) property from the list.
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value of this keyword must be an array of strings, each string being a property name. For data object to be valid at least one of the properties in this array should be present in the object.
-
-```javascript
-var schema = {
-  anyRequired: ['foo', 'bar']
-};
-
-var validData = { foo: 1 };
-var alsoValidData = { foo: 1, bar: 2 };
-
-var invalidDataList = [ {}, { baz: 3 } ];
-```
-
-
-#### `oneRequired`
-
-This keyword allows to require the presence of only one property from the list.
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value of this keyword must be an array of strings, each string being a property name. For data object to be valid exactly one of the properties in this array should be present in the object.
-
-```javascript
-var schema = {
-  oneRequired: ['foo', 'bar']
-};
-
-var validData = { foo: 1 };
-var alsoValidData = { bar: 2, baz: 3 };
-
-var invalidDataList = [ {}, { baz: 3 }, { foo: 1, bar: 2 } ];
-```
-
-
-#### `patternRequired`
-
-This keyword allows to require the presence of properties that match some pattern(s).
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value of this keyword should be an array of strings, each string being a regular expression. For data object to be valid each regular expression in this array should match at least one property name in the data object.
-
-If the array contains multiple regular expressions, more than one expression can match the same property name.
-
-```javascript
-var schema = { patternRequired: [ 'f.*o', 'b.*r' ] };
-
-var validData = { foo: 1, bar: 2 };
-var alsoValidData = { foobar: 3 };
-
-var invalidDataList = [ {}, { foo: 1 }, { bar: 2 } ];
-```
-
-
-#### `prohibited`
-
-This keyword allows to prohibit that any of the properties in the list is present in the object.
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value of this keyword should be an array of strings, each string being a property name. For data object to be valid none of the properties in this array should be present in the object.
-
-```
-var schema = { prohibited: ['foo', 'bar']};
-
-var validData = { baz: 1 };
-var alsoValidData = {};
-
-var invalidDataList = [
-  { foo: 1 },
-  { bar: 2 },
-  { foo: 1, bar: 2}
-];
-```
-
-__Please note__: `{prohibited: ['foo', 'bar']}` is equivalent to `{not: {anyRequired: ['foo', 'bar']}}` (i.e. it has the same validation result for any data).
-
-
-#### `deepProperties`
-
-This keyword allows to validate deep properties (identified by JSON pointers).
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value should be an object, where keys are JSON pointers to the data, starting from the current position in data, and the values are JSON schemas. For data object to be valid the value of each JSON pointer should be valid according to the corresponding schema.
-
-```javascript
-var schema = {
-  type: 'object',
-  deepProperties: {
-    "/users/1/role": { "enum": ["admin"] }
-  }
-};
-
-var validData = {
-  users: [
-    {},
-    {
-      id: 123,
-      role: 'admin'
-    }
-  ]
-};
-
-var alsoValidData = {
-  users: {
-    "1": {
-      id: 123,
-      role: 'admin'
-    }
-  }
-};
-
-var invalidData = {
-  users: [
-    {},
-    {
-      id: 123,
-      role: 'user'
-    }
-  ]
-};
-
-var alsoInvalidData = {
-  users: {
-    "1": {
-      id: 123,
-      role: 'user'
-    }
-  }
-};
-```
-
-
-#### `deepRequired`
-
-This keyword allows to check that some deep properties (identified by JSON pointers) are available.
-
-This keyword applies only to objects. If the data is not an object, the validation succeeds.
-
-The value should be an array of JSON pointers to the data, starting from the current position in data. For data object to be valid each JSON pointer should be some existing part of the data.
-
-```javascript
-var schema = {
-  type: 'object',
-  deepRequired: ["/users/1/role"]
-};
-
-var validData = {
-  users: [
-    {},
-    {
-      id: 123,
-      role: 'admin'
-    }
-  ]
-};
-
-var invalidData = {
-  users: [
-    {},
-    {
-      id: 123
-    }
-  ]
-};
-```
-
-See [json-schema-org/json-schema-spec#203](https://github.com/json-schema-org/json-schema-spec/issues/203#issue-197211916) for an example of the equivalent schema without `deepRequired` keyword.
-
-
-### Compound keywords
-
-#### `switch` (deprecated)
-
-__Please note__: this keyword is provided to preserve backward compatibility with previous versions of Ajv. It is strongly recommended to use `if`/`then`/`else` keywords instead, as they have been added to the draft-07 of JSON Schema specification.
-
-This keyword allows to perform advanced conditional validation.
-
-The value of the keyword is the array of if/then clauses. Each clause is the object with the following properties:
-
-- `if` (optional) - the value is JSON-schema
-- `then` (required) - the value is JSON-schema or boolean
-- `continue` (optional) - the value is boolean
-
-The validation process is dynamic; all clauses are executed sequentially in the following way:
-
-1. `if`:
-    1.  `if` property is JSON-schema according to which the data is:
-        1.  valid => go to step 2.
-        2.  invalid => go to the NEXT clause, if this was the last clause the validation of `switch` SUCCEEDS.
-    2.  `if` property is absent => go to step 2.
-2. `then`:
-    1.  `then` property is `true` or it is JSON-schema according to which the data is valid => go to step 3.
-    2.  `then` property is `false` or it is JSON-schema according to which the data is invalid => the validation of `switch` FAILS.
-3. `continue`:
-    1.  `continue` property is `true` => go to the NEXT clause, if this was the last clause the validation of `switch` SUCCEEDS.
-    2.  `continue` property is `false` or absent => validation of `switch` SUCCEEDS.
-
-```javascript
-require('ajv-keywords')(ajv, 'switch');
-
-var schema = {
-  type: 'array',
-  items: {
-    type: 'integer',
-    'switch': [
-      { if: { not: { minimum: 1 } }, then: false },
-      { if: { maximum: 10 }, then: true },
-      { if: { maximum: 100 }, then: { multipleOf: 10 } },
-      { if: { maximum: 1000 }, then: { multipleOf: 100 } },
-      { then: false }
-    ]
-  }
-};
-
-var validItems = [1, 5, 10, 20, 50, 100, 200, 500, 1000];
-
-var invalidItems = [1, 0, 2000, 11, 57, 123, 'foo'];
-```
-
-The above schema is equivalent to (for example):
-
-```javascript
-{
-  type: 'array',
-  items: {
-    type: 'integer',
-    if: { minimum: 1, maximum: 10 },
-    then: true,
-    else: {
-      if: { maximum: 100 },
-      then: { multipleOf: 10 },
-      else: {
-        if: { maximum: 1000 },
-        then: { multipleOf: 100 },
-        else: false
-      }
-    }
-  }
-}
-```
-
-
-#### `select`/`selectCases`/`selectDefault`
-
-These keywords allow to choose the schema to validate the data based on the value of some property in the validated data.
-
-These keywords must be present in the same schema object (`selectDefault` is optional).
-
-The value of `select` keyword should be a [$data reference](https://github.com/epoberezkin/ajv/tree/5.0.2-beta.0#data-reference) that points to any primitive JSON type (string, number, boolean or null) in the data that is validated. You can also use a constant of primitive type as the value of this keyword (e.g., for debugging purposes).
-
-The value of `selectCases` keyword must be an object where each property name is a possible string representation of the value of `select` keyword and each property value is a corresponding schema (from draft-06 it can be boolean) that must be used to validate the data.
-
-The value of `selectDefault` keyword is a schema (from draft-06 it can be boolean) that must be used to validate the data in case `selectCases` has no key equal to the stringified value of `select` keyword.
-
-The validation succeeds in one of the following cases:
-- the validation of data using selected schema succeeds,
-- none of the schemas is selected for validation,
-- the value of select is undefined (no property in the data that the data reference points to).
-
-If `select` value (in data) is not a primitive type the validation fails.
-
-__Please note__: these keywords require Ajv `$data` option to support [$data reference](https://github.com/epoberezkin/ajv/tree/5.0.2-beta.0#data-reference).
-
-
-```javascript
-require('ajv-keywords')(ajv, 'select');
-
-var schema = {
-  type: object,
-  required: ['kind'],
-  properties: {
-    kind: { type: 'string' }
-  },
-  select: { $data: '0/kind' },
-  selectCases: {
-    foo: {
-      required: ['foo'],
-      properties: {
-        kind: {},
-        foo: { type: 'string' }
-      },
-      additionalProperties: false
-    },
-    bar: {
-      required: ['bar'],
-      properties: {
-        kind: {},
-        bar: { type: 'number' }
-      },
-      additionalProperties: false
-    }
-  },
-  selectDefault: {
-    propertyNames: {
-      not: { enum: ['foo', 'bar'] }
-    }
-  }
-};
-
-var validDataList = [
-  { kind: 'foo', foo: 'any' },
-  { kind: 'bar', bar: 1 },
-  { kind: 'anything_else', not_bar_or_foo: 'any value' }
-];
-
-var invalidDataList = [
-  { kind: 'foo' }, // no propery foo
-  { kind: 'bar' }, // no propery bar
-  { kind: 'foo', foo: 'any', another: 'any value' }, // additional property
-  { kind: 'bar', bar: 1, another: 'any value' }, // additional property
-  { kind: 'anything_else', foo: 'any' } // property foo not allowed
-  { kind: 'anything_else', bar: 1 } // property bar not allowed
-];
-```
-
-__Please note__: the current implementation is BETA. It does not allow using relative URIs in $ref keywords in schemas in `selectCases` and `selectDefault` that point outside of these schemas. The workaround is to use absolute URIs (that can point to any (sub-)schema added to Ajv, including those inside the current root schema where `select` is used). See [tests](https://github.com/epoberezkin/ajv-keywords/blob/v2.0.0/spec/tests/select.json#L314).
-
-
-### Keywords for all types
-
-#### `dynamicDefaults`
-
-This keyword allows to assign dynamic defaults to properties, such as timestamps, unique IDs etc.
-
-This keyword only works if `useDefaults` options is used and not inside `anyOf` keywords etc., in the same way as [default keyword treated by Ajv](https://github.com/epoberezkin/ajv#assigning-defaults).
-
-The keyword should be added on the object level. Its value should be an object with each property corresponding to a property name, in the same way as in standard `properties` keyword. The value of each property can be:
-
-- an identifier of default function (a string)
-- an object with properties `func` (an identifier) and `args` (an object with parameters that will be passed to this function during schema compilation - see examples).
-
-The properties used in `dynamicDefaults` should not be added to `required` keyword (or validation will fail), because unlike `default` this keyword is processed after validation.
-
-There are several predefined dynamic default functions:
-
-- `"timestamp"` - current timestamp in milliseconds
-- `"datetime"` - current date and time as string (ISO, valid according to `date-time` format)
-- `"date"` - current date as string (ISO, valid according to `date` format)
-- `"time"` - current time as string (ISO, valid according to `time` format)
-- `"random"` - pseudo-random number in [0, 1) interval
-- `"randomint"` - pseudo-random integer number. If string is used as a property value, the function will randomly return 0 or 1. If object `{ func: 'randomint', args: { max: N } }` is used then the default will be an integer number in [0, N) interval.
-- `"seq"` - sequential integer number starting from 0. If string is used as a property value, the default sequence will be used. If object `{ func: 'seq', args: { name: 'foo'} }` is used then the sequence with name `"foo"` will be used. Sequences are global, even if different ajv instances are used.
-
-```javascript
-var schema = {
-  type: 'object',
-  dynamicDefaults: {
-    ts: 'datetime',
-    r: { func: 'randomint', args: { max: 100 } },
-    id: { func: 'seq', args: { name: 'id' } }
-  },
-  properties: {
-    ts: {
-      type: 'string',
-      format: 'date-time'
-    },
-    r: {
-      type: 'integer',
-      minimum: 0,
-      exclusiveMaximum: 100
-    },
-    id: {
-      type: 'integer',
-      minimum: 0
-    }
-  }
-};
-
-var data = {};
-ajv.validate(data); // true
-data; // { ts: '2016-12-01T22:07:28.829Z', r: 25, id: 0 }
-
-var data1 = {};
-ajv.validate(data1); // true
-data1; // { ts: '2016-12-01T22:07:29.832Z', r: 68, id: 1 }
-
-ajv.validate(data1); // true
-data1; // didn't change, as all properties were defined
-```
-
-When using the `useDefaults` option value `"empty"`, properties and items equal to `null` or `""` (empty string) will be considered missing and assigned defaults.  Use the `allOf` [compound keyword](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#compound-keywords) to execute `dynamicDefaults` before validation.
-
-```javascript
-var schema = {
-  allOf: [
-    {
-      dynamicDefaults: {
-        ts: 'datetime',
-        r: { func: 'randomint', args: { min: 5, max: 100 } },
-        id: { func: 'seq', args: { name: 'id' } }
-      }
-    },
-    {
-      type: 'object',
-      properties: {
-        ts: {
-          type: 'string'
-        },
-        r: {
-          type: 'number',
-          minimum: 5,
-          exclusiveMaximum: 100
-        },
-        id: {
-          type: 'integer',
-          minimum: 0
-        }
-      }
-    }
-  ]
-};
-
-var data = { ts: '', r: null };
-ajv.validate(data); // true
-data; // { ts: '2016-12-01T22:07:28.829Z', r: 25, id: 0 }
-```
-
-You can add your own dynamic default function to be recognised by this keyword:
-
-```javascript
-var uuid = require('uuid');
-
-function uuidV4() { return uuid.v4(); }
-
-var definition = require('ajv-keywords').get('dynamicDefaults').definition;
-// or require('ajv-keywords/keywords/dynamicDefaults').definition;
-definition.DEFAULTS.uuid = uuidV4;
-
-var schema = {
-  dynamicDefaults: { id: 'uuid' },
-  properties: { id: { type: 'string', format: 'uuid' } }
-};
-
-var data = {};
-ajv.validate(schema, data); // true
-data; // { id: 'a1183fbe-697b-4030-9bcc-cfeb282a9150' };
-
-var data1 = {};
-ajv.validate(schema, data1); // true
-data1; // { id: '5b008de7-1669-467a-a5c6-70fa244d7209' }
-```
-
-You also can define dynamic default that accepts parameters, e.g. version of uuid:
-
-```javascript
-var uuid = require('uuid');
-
-function getUuid(args) {
-  var version = 'v' + (arvs && args.v || 4);
-  return function() {
-    return uuid[version]();
-  };
-}
-
-var definition = require('ajv-keywords').get('dynamicDefaults').definition;
-definition.DEFAULTS.uuid = getUuid;
-
-var schema = {
-  dynamicDefaults: {
-    id1: 'uuid', // v4
-    id2: { func: 'uuid', v: 4 }, // v4
-    id3: { func: 'uuid', v: 1 } // v1
-  }
-};
-```
-
-
-## Security contact
-
-To report a security vulnerability, please use the
-[Tidelift security contact](https://tidelift.com/security).
-Tidelift will coordinate the fix and disclosure.
-
-Please do NOT report security vulnerabilities via GitHub issues.
-
-
-## Open-source software support
-
-Ajv-keywords is a part of [Tidelift subscription](https://tidelift.com/subscription/pkg/npm-ajv-keywords?utm_source=npm-ajv-keywords&utm_medium=referral&utm_campaign=readme) - it provides a centralised support to open-source software users, in addition to the support provided by software maintainers.
-
-
-## License
-
-[MIT](https://github.com/epoberezkin/ajv-keywords/blob/master/LICENSE)

+ 0 - 7
node_modules.bak/ajv-keywords/ajv-keywords.d.ts

@@ -1,7 +0,0 @@
-declare module 'ajv-keywords' {
-  import { Ajv } from 'ajv';
-
-  function keywords(ajv: Ajv, include?: string | string[]): Ajv;
-
-  export = keywords;
-}

+ 0 - 35
node_modules.bak/ajv-keywords/index.js

@@ -1,35 +0,0 @@
-'use strict';
-
-var KEYWORDS = require('./keywords');
-
-module.exports = defineKeywords;
-
-
-/**
- * Defines one or several keywords in ajv instance
- * @param  {Ajv} ajv validator instance
- * @param  {String|Array<String>|undefined} keyword keyword(s) to define
- * @return {Ajv} ajv instance (for chaining)
- */
-function defineKeywords(ajv, keyword) {
-  if (Array.isArray(keyword)) {
-    for (var i=0; i<keyword.length; i++)
-      get(keyword[i])(ajv);
-    return ajv;
-  }
-  if (keyword) {
-    get(keyword)(ajv);
-    return ajv;
-  }
-  for (keyword in KEYWORDS) get(keyword)(ajv);
-  return ajv;
-}
-
-
-defineKeywords.get = get;
-
-function get(keyword) {
-  var defFunc = KEYWORDS[keyword];
-  if (!defFunc) throw new Error('Unknown keyword ' + keyword);
-  return defFunc;
-}

+ 0 - 101
node_modules.bak/ajv-keywords/keywords/_formatLimit.js

@@ -1,101 +0,0 @@
-'use strict';
-
-var TIME = /^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;
-var DATE_TIME_SEPARATOR = /t|\s/i;
-
-var COMPARE_FORMATS = {
-  date: compareDate,
-  time: compareTime,
-  'date-time': compareDateTime
-};
-
-var $dataMetaSchema = {
-  type: 'object',
-  required: [ '$data' ],
-  properties: {
-    $data: {
-      type: 'string',
-      anyOf: [
-        { format: 'relative-json-pointer' },
-        { format: 'json-pointer' }
-      ]
-    }
-  },
-  additionalProperties: false
-};
-
-module.exports = function (minMax) {
-  var keyword = 'format' + minMax;
-  return function defFunc(ajv) {
-    defFunc.definition = {
-      type: 'string',
-      inline: require('./dotjs/_formatLimit'),
-      statements: true,
-      errors: 'full',
-      dependencies: ['format'],
-      metaSchema: {
-        anyOf: [
-          {type: 'string'},
-          $dataMetaSchema
-        ]
-      }
-    };
-
-    ajv.addKeyword(keyword, defFunc.definition);
-    ajv.addKeyword('formatExclusive' + minMax, {
-      dependencies: ['format' + minMax],
-      metaSchema: {
-        anyOf: [
-          {type: 'boolean'},
-          $dataMetaSchema
-        ]
-      }
-    });
-    extendFormats(ajv);
-    return ajv;
-  };
-};
-
-
-function extendFormats(ajv) {
-  var formats = ajv._formats;
-  for (var name in COMPARE_FORMATS) {
-    var format = formats[name];
-    // the last condition is needed if it's RegExp from another window
-    if (typeof format != 'object' || format instanceof RegExp || !format.validate)
-      format = formats[name] = { validate: format };
-    if (!format.compare)
-      format.compare = COMPARE_FORMATS[name];
-  }
-}
-
-
-function compareDate(d1, d2) {
-  if (!(d1 && d2)) return;
-  if (d1 > d2) return 1;
-  if (d1 < d2) return -1;
-  if (d1 === d2) return 0;
-}
-
-
-function compareTime(t1, t2) {
-  if (!(t1 && t2)) return;
-  t1 = t1.match(TIME);
-  t2 = t2.match(TIME);
-  if (!(t1 && t2)) return;
-  t1 = t1[1] + t1[2] + t1[3] + (t1[4]||'');
-  t2 = t2[1] + t2[2] + t2[3] + (t2[4]||'');
-  if (t1 > t2) return 1;
-  if (t1 < t2) return -1;
-  if (t1 === t2) return 0;
-}
-
-
-function compareDateTime(dt1, dt2) {
-  if (!(dt1 && dt2)) return;
-  dt1 = dt1.split(DATE_TIME_SEPARATOR);
-  dt2 = dt2.split(DATE_TIME_SEPARATOR);
-  var res = compareDate(dt1[0], dt2[0]);
-  if (res === undefined) return;
-  return res || compareTime(dt1[1], dt2[1]);
-}

+ 0 - 15
node_modules.bak/ajv-keywords/keywords/_util.js

@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = {
-  metaSchemaRef: metaSchemaRef
-};
-
-var META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema';
-
-function metaSchemaRef(ajv) {
-  var defaultMeta = ajv._opts.defaultMeta;
-  if (typeof defaultMeta == 'string') return { $ref: defaultMeta };
-  if (ajv.getSchema(META_SCHEMA_ID)) return { $ref: META_SCHEMA_ID };
-  console.warn('meta schema not defined');
-  return {};
-}

+ 0 - 18
node_modules.bak/ajv-keywords/keywords/allRequired.js

@@ -1,18 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    macro: function (schema, parentSchema) {
-      if (!schema) return true;
-      var properties = Object.keys(parentSchema.properties);
-      if (properties.length == 0) return true;
-      return {required: properties};
-    },
-    metaSchema: {type: 'boolean'},
-    dependencies: ['properties']
-  };
-
-  ajv.addKeyword('allRequired', defFunc.definition);
-  return ajv;
-};

+ 0 - 24
node_modules.bak/ajv-keywords/keywords/anyRequired.js

@@ -1,24 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    macro: function (schema) {
-      if (schema.length == 0) return true;
-      if (schema.length == 1) return {required: schema};
-      var schemas = schema.map(function (prop) {
-        return {required: [prop]};
-      });
-      return {anyOf: schemas};
-    },
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string'
-      }
-    }
-  };
-
-  ajv.addKeyword('anyRequired', defFunc.definition);
-  return ajv;
-};

+ 0 - 54
node_modules.bak/ajv-keywords/keywords/deepProperties.js

@@ -1,54 +0,0 @@
-'use strict';
-
-var util = require('./_util');
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    macro: function (schema) {
-      var schemas = [];
-      for (var pointer in schema)
-        schemas.push(getSchema(pointer, schema[pointer]));
-      return {'allOf': schemas};
-    },
-    metaSchema: {
-      type: 'object',
-      propertyNames: {
-        type: 'string',
-        format: 'json-pointer'
-      },
-      additionalProperties: util.metaSchemaRef(ajv)
-    }
-  };
-
-  ajv.addKeyword('deepProperties', defFunc.definition);
-  return ajv;
-};
-
-
-function getSchema(jsonPointer, schema) {
-  var segments = jsonPointer.split('/');
-  var rootSchema = {};
-  var pointerSchema = rootSchema;
-  for (var i=1; i<segments.length; i++) {
-    var segment = segments[i];
-    var isLast = i == segments.length - 1;
-    segment = unescapeJsonPointer(segment);
-    var properties = pointerSchema.properties = {};
-    var items = undefined;
-    if (/[0-9]+/.test(segment)) {
-      var count = +segment;
-      items = pointerSchema.items = [];
-      while (count--) items.push({});
-    }
-    pointerSchema = isLast ? schema : {};
-    properties[segment] = pointerSchema;
-    if (items) items.push(pointerSchema);
-  }
-  return rootSchema;
-}
-
-
-function unescapeJsonPointer(str) {
-  return str.replace(/~1/g, '/').replace(/~0/g, '~');
-}

+ 0 - 57
node_modules.bak/ajv-keywords/keywords/deepRequired.js

@@ -1,57 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    inline: function (it, keyword, schema) {
-      var expr = '';
-      for (var i=0; i<schema.length; i++) {
-        if (i) expr += ' && ';
-        expr += '(' + getData(schema[i], it.dataLevel) + ' !== undefined)';
-      }
-      return expr;
-    },
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string',
-        format: 'json-pointer'
-      }
-    }
-  };
-
-  ajv.addKeyword('deepRequired', defFunc.definition);
-  return ajv;
-};
-
-
-function getData(jsonPointer, lvl) {
-  var data = 'data' + (lvl || '');
-  if (!jsonPointer) return data;
-
-  var expr = data;
-  var segments = jsonPointer.split('/');
-  for (var i=1; i<segments.length; i++) {
-    var segment = segments[i];
-    data += getProperty(unescapeJsonPointer(segment));
-    expr += ' && ' + data;
-  }
-  return expr;
-}
-
-
-var IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
-var INTEGER = /^[0-9]+$/;
-var SINGLE_QUOTE = /'|\\/g;
-function getProperty(key) {
-  return INTEGER.test(key)
-          ? '[' + key + ']'
-          : IDENTIFIER.test(key)
-            ? '.' + key
-            : "['" + key.replace(SINGLE_QUOTE, '\\$&') + "']";
-}
-
-
-function unescapeJsonPointer(str) {
-  return str.replace(/~1/g, '/').replace(/~0/g, '~');
-}

+ 0 - 116
node_modules.bak/ajv-keywords/keywords/dot/_formatLimit.jst

@@ -1,116 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-
-var {{=$valid}} = undefined;
-
-{{## def.skipFormatLimit:
-  {{=$valid}} = true;
-  {{ return out; }}
-#}}
-
-{{## def.compareFormat:
-  {{? $isData }}
-    if ({{=$schemaValue}} === undefined) {{=$valid}} = true;
-    else if (typeof {{=$schemaValue}} != 'string') {{=$valid}} = false;
-    else {
-    {{ $closingBraces += '}'; }}
-  {{?}}
-
-  {{? $isDataFormat }}
-    if (!{{=$compare}}) {{=$valid}} = true;
-    else {
-    {{ $closingBraces += '}'; }}
-  {{?}}
-
-  var {{=$result}} = {{=$compare}}({{=$data}}, {{# def.schemaValueQS }});
-
-  if ({{=$result}} === undefined) {{=$valid}} = false;
-#}}
-
-
-{{? it.opts.format === false }}{{# def.skipFormatLimit }}{{?}}
-
-{{
-  var $schemaFormat = it.schema.format
-    , $isDataFormat = it.opts.$data && $schemaFormat.$data
-    , $closingBraces = '';
-}}
-
-{{? $isDataFormat }}
-  {{
-    var $schemaValueFormat = it.util.getData($schemaFormat.$data, $dataLvl, it.dataPathArr)
-      , $format = 'format' + $lvl
-      , $compare = 'compare' + $lvl;
-  }}
-
-  var {{=$format}} = formats[{{=$schemaValueFormat}}]
-    , {{=$compare}} = {{=$format}} && {{=$format}}.compare;
-{{??}}
-  {{ var $format = it.formats[$schemaFormat]; }}
-  {{? !($format && $format.compare) }}
-    {{# def.skipFormatLimit }}
-  {{?}}
-  {{ var $compare = 'formats' + it.util.getProperty($schemaFormat) + '.compare'; }}
-{{?}}
-
-{{
-  var $isMax = $keyword == 'formatMaximum'
-    , $exclusiveKeyword = 'formatExclusive' + ($isMax ? 'Maximum' : 'Minimum')
-    , $schemaExcl = it.schema[$exclusiveKeyword]
-    , $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data
-    , $op = $isMax ? '<' : '>'
-    , $result = 'result' + $lvl;
-}}
-
-{{# def.$data }}
-
-
-{{? $isDataExcl }}
-  {{
-    var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr)
-      , $exclusive = 'exclusive' + $lvl
-      , $opExpr = 'op' + $lvl
-      , $opStr = '\' + ' + $opExpr + ' + \'';
-  }}
-  var schemaExcl{{=$lvl}} = {{=$schemaValueExcl}};
-  {{ $schemaValueExcl = 'schemaExcl' + $lvl; }}
-
-  if (typeof {{=$schemaValueExcl}} != 'boolean' && {{=$schemaValueExcl}} !== undefined) {
-    {{=$valid}} = false;
-    {{ var $errorKeyword = $exclusiveKeyword; }}
-    {{# def.error:'_formatExclusiveLimit' }}
-  }
-
-  {{# def.elseIfValid }}
-
-  {{# def.compareFormat }}
-  var {{=$exclusive}} = {{=$schemaValueExcl}} === true;
-
-  if ({{=$valid}} === undefined) {
-    {{=$valid}} = {{=$exclusive}}
-                  ? {{=$result}} {{=$op}} 0
-                  : {{=$result}} {{=$op}}= 0;
-  }
-
-  if (!{{=$valid}}) var op{{=$lvl}} = {{=$exclusive}} ? '{{=$op}}' : '{{=$op}}=';
-{{??}}
-  {{
-    var $exclusive = $schemaExcl === true
-      , $opStr = $op;  /*used in error*/
-    if (!$exclusive) $opStr += '=';
-    var $opExpr = '\'' + $opStr + '\''; /*used in error*/
-  }}
-
-  {{# def.compareFormat }}
-
-  if ({{=$valid}} === undefined)
-    {{=$valid}} = {{=$result}} {{=$op}}{{?!$exclusive}}={{?}} 0;
-{{?}}
-
-{{= $closingBraces }}
-
-if (!{{=$valid}}) {
-  {{ var $errorKeyword = $keyword; }}
-  {{# def.error:'_formatLimit' }}
-}

+ 0 - 33
node_modules.bak/ajv-keywords/keywords/dot/patternRequired.jst

@@ -1,33 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-
-{{
-  var $key = 'key' + $lvl
-    , $idx = 'idx' + $lvl
-    , $matched = 'patternMatched' + $lvl
-    , $dataProperties = 'dataProperties' + $lvl
-    , $closingBraces = ''
-    , $ownProperties = it.opts.ownProperties;
-}}
-
-var {{=$valid}} = true;
-{{? $ownProperties }}
-  var {{=$dataProperties}} = undefined;
-{{?}}
-
-{{~ $schema:$pProperty }}
-  var {{=$matched}} = false;
-  {{# def.iterateProperties }}
-    {{=$matched}} = {{= it.usePattern($pProperty) }}.test({{=$key}});
-    if ({{=$matched}}) break;
-  }
-
-  {{ var $missingPattern = it.util.escapeQuotes($pProperty); }}
-  if (!{{=$matched}}) {
-    {{=$valid}} = false;
-    {{# def.addError:'patternRequired' }}
-  } {{# def.elseIfValid }}
-{{~}}
-
-{{= $closingBraces }}

+ 0 - 71
node_modules.bak/ajv-keywords/keywords/dot/switch.jst

@@ -1,71 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-
-{{## def.validateIf:
-  {{# def.setCompositeRule }}
-  {{ $it.createErrors = false; }}
-  {{# def._validateSwitchRule:if }}
-  {{ $it.createErrors = true; }}
-  {{# def.resetCompositeRule }}
-  {{=$ifPassed}} = {{=$nextValid}};
-#}}
-
-{{## def.validateThen:
-  {{? typeof $sch.then == 'boolean' }}
-    {{? $sch.then === false }}
-      {{# def.error:'switch' }}
-    {{?}}
-    var {{=$nextValid}} = {{= $sch.then }};
-  {{??}}
-    {{# def._validateSwitchRule:then }}
-  {{?}}
-#}}
-
-{{## def._validateSwitchRule:_clause:
-  {{
-    $it.schema = $sch._clause;
-    $it.schemaPath = $schemaPath + '[' + $caseIndex + ']._clause';
-    $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/_clause';
-  }}
-  {{# def.insertSubschemaCode }}
-#}}
-
-{{## def.switchCase:
-  {{? $sch.if && {{# def.nonEmptySchema:$sch.if }} }}
-    var {{=$errs}} = errors;
-    {{# def.validateIf }}
-    if ({{=$ifPassed}}) {
-      {{# def.validateThen }}  
-    } else {
-      {{# def.resetErrors }}
-    }
-  {{??}}
-    {{=$ifPassed}} = true;
-    {{# def.validateThen }}
-  {{?}}
-#}}
-
-
-{{
-  var $ifPassed = 'ifPassed' + it.level
-    , $currentBaseId = $it.baseId
-    , $shouldContinue;
-}}
-var {{=$ifPassed}};
-
-{{~ $schema:$sch:$caseIndex }}
-  {{? $caseIndex && !$shouldContinue }}
-    if (!{{=$ifPassed}}) {
-    {{ $closingBraces+= '}'; }}
-  {{?}}
-
-  {{# def.switchCase }}
-  {{ $shouldContinue = $sch.continue }}
-{{~}}
-
-{{= $closingBraces }}
-
-var {{=$valid}} = {{=$nextValid}};

+ 0 - 3
node_modules.bak/ajv-keywords/keywords/dotjs/README.md

@@ -1,3 +0,0 @@
-These files are compiled dot templates from dot folder.
-
-Do NOT edit them directly, edit the templates and run `npm run build` from main ajv-keywords folder.

+ 0 - 178
node_modules.bak/ajv-keywords/keywords/dotjs/_formatLimit.js

@@ -1,178 +0,0 @@
-'use strict';
-module.exports = function generate__formatLimit(it, $keyword, $ruleType) {
-  var out = ' ';
-  var $lvl = it.level;
-  var $dataLvl = it.dataLevel;
-  var $schema = it.schema[$keyword];
-  var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
-  var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
-  var $breakOnError = !it.opts.allErrors;
-  var $errorKeyword;
-  var $data = 'data' + ($dataLvl || '');
-  var $valid = 'valid' + $lvl;
-  out += 'var ' + ($valid) + ' = undefined;';
-  if (it.opts.format === false) {
-    out += ' ' + ($valid) + ' = true; ';
-    return out;
-  }
-  var $schemaFormat = it.schema.format,
-    $isDataFormat = it.opts.$data && $schemaFormat.$data,
-    $closingBraces = '';
-  if ($isDataFormat) {
-    var $schemaValueFormat = it.util.getData($schemaFormat.$data, $dataLvl, it.dataPathArr),
-      $format = 'format' + $lvl,
-      $compare = 'compare' + $lvl;
-    out += ' var ' + ($format) + ' = formats[' + ($schemaValueFormat) + '] , ' + ($compare) + ' = ' + ($format) + ' && ' + ($format) + '.compare;';
-  } else {
-    var $format = it.formats[$schemaFormat];
-    if (!($format && $format.compare)) {
-      out += '  ' + ($valid) + ' = true; ';
-      return out;
-    }
-    var $compare = 'formats' + it.util.getProperty($schemaFormat) + '.compare';
-  }
-  var $isMax = $keyword == 'formatMaximum',
-    $exclusiveKeyword = 'formatExclusive' + ($isMax ? 'Maximum' : 'Minimum'),
-    $schemaExcl = it.schema[$exclusiveKeyword],
-    $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data,
-    $op = $isMax ? '<' : '>',
-    $result = 'result' + $lvl;
-  var $isData = it.opts.$data && $schema && $schema.$data,
-    $schemaValue;
-  if ($isData) {
-    out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
-    $schemaValue = 'schema' + $lvl;
-  } else {
-    $schemaValue = $schema;
-  }
-  if ($isDataExcl) {
-    var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr),
-      $exclusive = 'exclusive' + $lvl,
-      $opExpr = 'op' + $lvl,
-      $opStr = '\' + ' + $opExpr + ' + \'';
-    out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; ';
-    $schemaValueExcl = 'schemaExcl' + $lvl;
-    out += ' if (typeof ' + ($schemaValueExcl) + ' != \'boolean\' && ' + ($schemaValueExcl) + ' !== undefined) { ' + ($valid) + ' = false; ';
-    var $errorKeyword = $exclusiveKeyword;
-    var $$outStack = $$outStack || [];
-    $$outStack.push(out);
-    out = ''; /* istanbul ignore else */
-    if (it.createErrors !== false) {
-      out += ' { keyword: \'' + ($errorKeyword || '_formatExclusiveLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';
-      if (it.opts.messages !== false) {
-        out += ' , message: \'' + ($exclusiveKeyword) + ' should be boolean\' ';
-      }
-      if (it.opts.verbose) {
-        out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
-      }
-      out += ' } ';
-    } else {
-      out += ' {} ';
-    }
-    var __err = out;
-    out = $$outStack.pop();
-    if (!it.compositeRule && $breakOnError) {
-      /* istanbul ignore if */
-      if (it.async) {
-        out += ' throw new ValidationError([' + (__err) + ']); ';
-      } else {
-        out += ' validate.errors = [' + (__err) + ']; return false; ';
-      }
-    } else {
-      out += ' var err = ' + (__err) + ';  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
-    }
-    out += ' }  ';
-    if ($breakOnError) {
-      $closingBraces += '}';
-      out += ' else { ';
-    }
-    if ($isData) {
-      out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'string\') ' + ($valid) + ' = false; else { ';
-      $closingBraces += '}';
-    }
-    if ($isDataFormat) {
-      out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { ';
-      $closingBraces += '}';
-    }
-    out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ',  ';
-    if ($isData) {
-      out += '' + ($schemaValue);
-    } else {
-      out += '' + (it.util.toQuotedString($schema));
-    }
-    out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; var ' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true; if (' + ($valid) + ' === undefined) { ' + ($valid) + ' = ' + ($exclusive) + ' ? ' + ($result) + ' ' + ($op) + ' 0 : ' + ($result) + ' ' + ($op) + '= 0; } if (!' + ($valid) + ') var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \'' + ($op) + '\' : \'' + ($op) + '=\';';
-  } else {
-    var $exclusive = $schemaExcl === true,
-      $opStr = $op;
-    if (!$exclusive) $opStr += '=';
-    var $opExpr = '\'' + $opStr + '\'';
-    if ($isData) {
-      out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'string\') ' + ($valid) + ' = false; else { ';
-      $closingBraces += '}';
-    }
-    if ($isDataFormat) {
-      out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { ';
-      $closingBraces += '}';
-    }
-    out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ',  ';
-    if ($isData) {
-      out += '' + ($schemaValue);
-    } else {
-      out += '' + (it.util.toQuotedString($schema));
-    }
-    out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; if (' + ($valid) + ' === undefined) ' + ($valid) + ' = ' + ($result) + ' ' + ($op);
-    if (!$exclusive) {
-      out += '=';
-    }
-    out += ' 0;';
-  }
-  out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { ';
-  var $errorKeyword = $keyword;
-  var $$outStack = $$outStack || [];
-  $$outStack.push(out);
-  out = ''; /* istanbul ignore else */
-  if (it.createErrors !== false) {
-    out += ' { keyword: \'' + ($errorKeyword || '_formatLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit:  ';
-    if ($isData) {
-      out += '' + ($schemaValue);
-    } else {
-      out += '' + (it.util.toQuotedString($schema));
-    }
-    out += ' , exclusive: ' + ($exclusive) + ' } ';
-    if (it.opts.messages !== false) {
-      out += ' , message: \'should be ' + ($opStr) + ' "';
-      if ($isData) {
-        out += '\' + ' + ($schemaValue) + ' + \'';
-      } else {
-        out += '' + (it.util.escapeQuotes($schema));
-      }
-      out += '"\' ';
-    }
-    if (it.opts.verbose) {
-      out += ' , schema:  ';
-      if ($isData) {
-        out += 'validate.schema' + ($schemaPath);
-      } else {
-        out += '' + (it.util.toQuotedString($schema));
-      }
-      out += '         , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
-    }
-    out += ' } ';
-  } else {
-    out += ' {} ';
-  }
-  var __err = out;
-  out = $$outStack.pop();
-  if (!it.compositeRule && $breakOnError) {
-    /* istanbul ignore if */
-    if (it.async) {
-      out += ' throw new ValidationError([' + (__err) + ']); ';
-    } else {
-      out += ' validate.errors = [' + (__err) + ']; return false; ';
-    }
-  } else {
-    out += ' var err = ' + (__err) + ';  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
-  }
-  out += '}';
-  return out;
-}

+ 0 - 58
node_modules.bak/ajv-keywords/keywords/dotjs/patternRequired.js

@@ -1,58 +0,0 @@
-'use strict';
-module.exports = function generate_patternRequired(it, $keyword, $ruleType) {
-  var out = ' ';
-  var $lvl = it.level;
-  var $dataLvl = it.dataLevel;
-  var $schema = it.schema[$keyword];
-  var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
-  var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
-  var $breakOnError = !it.opts.allErrors;
-  var $data = 'data' + ($dataLvl || '');
-  var $valid = 'valid' + $lvl;
-  var $key = 'key' + $lvl,
-    $idx = 'idx' + $lvl,
-    $matched = 'patternMatched' + $lvl,
-    $dataProperties = 'dataProperties' + $lvl,
-    $closingBraces = '',
-    $ownProperties = it.opts.ownProperties;
-  out += 'var ' + ($valid) + ' = true;';
-  if ($ownProperties) {
-    out += ' var ' + ($dataProperties) + ' = undefined;';
-  }
-  var arr1 = $schema;
-  if (arr1) {
-    var $pProperty, i1 = -1,
-      l1 = arr1.length - 1;
-    while (i1 < l1) {
-      $pProperty = arr1[i1 += 1];
-      out += ' var ' + ($matched) + ' = false;  ';
-      if ($ownProperties) {
-        out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
-      } else {
-        out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
-      }
-      out += ' ' + ($matched) + ' = ' + (it.usePattern($pProperty)) + '.test(' + ($key) + '); if (' + ($matched) + ') break; } ';
-      var $missingPattern = it.util.escapeQuotes($pProperty);
-      out += ' if (!' + ($matched) + ') { ' + ($valid) + ' = false;  var err =   '; /* istanbul ignore else */
-      if (it.createErrors !== false) {
-        out += ' { keyword: \'' + ('patternRequired') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingPattern: \'' + ($missingPattern) + '\' } ';
-        if (it.opts.messages !== false) {
-          out += ' , message: \'should have property matching pattern \\\'' + ($missingPattern) + '\\\'\' ';
-        }
-        if (it.opts.verbose) {
-          out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
-        }
-        out += ' } ';
-      } else {
-        out += ' {} ';
-      }
-      out += ';  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; }   ';
-      if ($breakOnError) {
-        $closingBraces += '}';
-        out += ' else { ';
-      }
-    }
-  }
-  out += '' + ($closingBraces);
-  return out;
-}

+ 0 - 129
node_modules.bak/ajv-keywords/keywords/dotjs/switch.js

@@ -1,129 +0,0 @@
-'use strict';
-module.exports = function generate_switch(it, $keyword, $ruleType) {
-  var out = ' ';
-  var $lvl = it.level;
-  var $dataLvl = it.dataLevel;
-  var $schema = it.schema[$keyword];
-  var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
-  var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
-  var $breakOnError = !it.opts.allErrors;
-  var $data = 'data' + ($dataLvl || '');
-  var $valid = 'valid' + $lvl;
-  var $errs = 'errs__' + $lvl;
-  var $it = it.util.copy(it);
-  var $closingBraces = '';
-  $it.level++;
-  var $nextValid = 'valid' + $it.level;
-  var $ifPassed = 'ifPassed' + it.level,
-    $currentBaseId = $it.baseId,
-    $shouldContinue;
-  out += 'var ' + ($ifPassed) + ';';
-  var arr1 = $schema;
-  if (arr1) {
-    var $sch, $caseIndex = -1,
-      l1 = arr1.length - 1;
-    while ($caseIndex < l1) {
-      $sch = arr1[$caseIndex += 1];
-      if ($caseIndex && !$shouldContinue) {
-        out += ' if (!' + ($ifPassed) + ') { ';
-        $closingBraces += '}';
-      }
-      if ($sch.if && (it.opts.strictKeywords ? typeof $sch.if == 'object' && Object.keys($sch.if).length > 0 : it.util.schemaHasRules($sch.if, it.RULES.all))) {
-        out += ' var ' + ($errs) + ' = errors;   ';
-        var $wasComposite = it.compositeRule;
-        it.compositeRule = $it.compositeRule = true;
-        $it.createErrors = false;
-        $it.schema = $sch.if;
-        $it.schemaPath = $schemaPath + '[' + $caseIndex + '].if';
-        $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/if';
-        out += '  ' + (it.validate($it)) + ' ';
-        $it.baseId = $currentBaseId;
-        $it.createErrors = true;
-        it.compositeRule = $it.compositeRule = $wasComposite;
-        out += ' ' + ($ifPassed) + ' = ' + ($nextValid) + '; if (' + ($ifPassed) + ') {  ';
-        if (typeof $sch.then == 'boolean') {
-          if ($sch.then === false) {
-            var $$outStack = $$outStack || [];
-            $$outStack.push(out);
-            out = ''; /* istanbul ignore else */
-            if (it.createErrors !== false) {
-              out += ' { keyword: \'' + ('switch') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } ';
-              if (it.opts.messages !== false) {
-                out += ' , message: \'should pass "switch" keyword validation\' ';
-              }
-              if (it.opts.verbose) {
-                out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
-              }
-              out += ' } ';
-            } else {
-              out += ' {} ';
-            }
-            var __err = out;
-            out = $$outStack.pop();
-            if (!it.compositeRule && $breakOnError) {
-              /* istanbul ignore if */
-              if (it.async) {
-                out += ' throw new ValidationError([' + (__err) + ']); ';
-              } else {
-                out += ' validate.errors = [' + (__err) + ']; return false; ';
-              }
-            } else {
-              out += ' var err = ' + (__err) + ';  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
-            }
-          }
-          out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; ';
-        } else {
-          $it.schema = $sch.then;
-          $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then';
-          $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then';
-          out += '  ' + (it.validate($it)) + ' ';
-          $it.baseId = $currentBaseId;
-        }
-        out += '  } else {  errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } } ';
-      } else {
-        out += ' ' + ($ifPassed) + ' = true;  ';
-        if (typeof $sch.then == 'boolean') {
-          if ($sch.then === false) {
-            var $$outStack = $$outStack || [];
-            $$outStack.push(out);
-            out = ''; /* istanbul ignore else */
-            if (it.createErrors !== false) {
-              out += ' { keyword: \'' + ('switch') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } ';
-              if (it.opts.messages !== false) {
-                out += ' , message: \'should pass "switch" keyword validation\' ';
-              }
-              if (it.opts.verbose) {
-                out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
-              }
-              out += ' } ';
-            } else {
-              out += ' {} ';
-            }
-            var __err = out;
-            out = $$outStack.pop();
-            if (!it.compositeRule && $breakOnError) {
-              /* istanbul ignore if */
-              if (it.async) {
-                out += ' throw new ValidationError([' + (__err) + ']); ';
-              } else {
-                out += ' validate.errors = [' + (__err) + ']; return false; ';
-              }
-            } else {
-              out += ' var err = ' + (__err) + ';  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
-            }
-          }
-          out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; ';
-        } else {
-          $it.schema = $sch.then;
-          $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then';
-          $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then';
-          out += '  ' + (it.validate($it)) + ' ';
-          $it.baseId = $currentBaseId;
-        }
-      }
-      $shouldContinue = $sch.continue
-    }
-  }
-  out += '' + ($closingBraces) + 'var ' + ($valid) + ' = ' + ($nextValid) + ';';
-  return out;
-}

+ 0 - 72
node_modules.bak/ajv-keywords/keywords/dynamicDefaults.js

@@ -1,72 +0,0 @@
-'use strict';
-
-var sequences = {};
-
-var DEFAULTS = {
-  timestamp: function() { return Date.now(); },
-  datetime: function() { return (new Date).toISOString(); },
-  date: function() { return (new Date).toISOString().slice(0, 10); },
-  time: function() { return (new Date).toISOString().slice(11); },
-  random: function() { return Math.random(); },
-  randomint: function (args) {
-    var limit = args && args.max || 2;
-    return function() { return Math.floor(Math.random() * limit); };
-  },
-  seq: function (args) {
-    var name = args && args.name || '';
-    sequences[name] = sequences[name] || 0;
-    return function() { return sequences[name]++; };
-  }
-};
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    compile: function (schema, parentSchema, it) {
-      var funcs = {};
-
-      for (var key in schema) {
-        var d = schema[key];
-        var func = getDefault(typeof d == 'string' ? d : d.func);
-        funcs[key] = func.length ? func(d.args) : func;
-      }
-
-      return it.opts.useDefaults && !it.compositeRule
-              ? assignDefaults
-              : noop;
-
-      function assignDefaults(data) {
-        for (var prop in schema){
-          if (data[prop] === undefined
-            || (it.opts.useDefaults == 'empty'
-            && (data[prop] === null || data[prop] === '')))
-            data[prop] = funcs[prop]();
-        }
-        return true;
-      }
-
-      function noop() { return true; }
-    },
-    DEFAULTS: DEFAULTS,
-    metaSchema: {
-      type: 'object',
-      additionalProperties: {
-        type: ['string', 'object'],
-        additionalProperties: false,
-        required: ['func', 'args'],
-        properties: {
-          func: { type: 'string' },
-          args: { type: 'object' }
-        }
-      }
-    }
-  };
-
-  ajv.addKeyword('dynamicDefaults', defFunc.definition);
-  return ajv;
-
-  function getDefault(d) {
-    var def = DEFAULTS[d];
-    if (def) return def;
-    throw new Error('invalid "dynamicDefaults" keyword property value: ' + d);
-  }
-};

+ 0 - 3
node_modules.bak/ajv-keywords/keywords/formatMaximum.js

@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./_formatLimit')('Maximum');

+ 0 - 3
node_modules.bak/ajv-keywords/keywords/formatMinimum.js

@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./_formatLimit')('Minimum');

+ 0 - 22
node_modules.bak/ajv-keywords/keywords/index.js

@@ -1,22 +0,0 @@
-'use strict';
-
-module.exports = {
-  'instanceof': require('./instanceof'),
-  range: require('./range'),
-  regexp: require('./regexp'),
-  'typeof': require('./typeof'),
-  dynamicDefaults: require('./dynamicDefaults'),
-  allRequired: require('./allRequired'),
-  anyRequired: require('./anyRequired'),
-  oneRequired: require('./oneRequired'),
-  prohibited: require('./prohibited'),
-  uniqueItemProperties: require('./uniqueItemProperties'),
-  deepProperties: require('./deepProperties'),
-  deepRequired: require('./deepRequired'),
-  formatMinimum: require('./formatMinimum'),
-  formatMaximum: require('./formatMaximum'),
-  patternRequired: require('./patternRequired'),
-  'switch': require('./switch'),
-  select: require('./select'),
-  transform: require('./transform')
-};

+ 0 - 58
node_modules.bak/ajv-keywords/keywords/instanceof.js

@@ -1,58 +0,0 @@
-'use strict';
-
-var CONSTRUCTORS = {
-  Object: Object,
-  Array: Array,
-  Function: Function,
-  Number: Number,
-  String: String,
-  Date: Date,
-  RegExp: RegExp
-};
-
-module.exports = function defFunc(ajv) {
-  /* istanbul ignore else */
-  if (typeof Buffer != 'undefined')
-    CONSTRUCTORS.Buffer = Buffer;
-
-  /* istanbul ignore else */
-  if (typeof Promise != 'undefined')
-    CONSTRUCTORS.Promise = Promise;
-
-  defFunc.definition = {
-    compile: function (schema) {
-      if (typeof schema == 'string') {
-        var Constructor = getConstructor(schema);
-        return function (data) {
-          return data instanceof Constructor;
-        };
-      }
-
-      var constructors = schema.map(getConstructor);
-      return function (data) {
-        for (var i=0; i<constructors.length; i++)
-          if (data instanceof constructors[i]) return true;
-        return false;
-      };
-    },
-    CONSTRUCTORS: CONSTRUCTORS,
-    metaSchema: {
-      anyOf: [
-        { type: 'string' },
-        {
-          type: 'array',
-          items: { type: 'string' }
-        }
-      ]
-    }
-  };
-
-  ajv.addKeyword('instanceof', defFunc.definition);
-  return ajv;
-
-  function getConstructor(c) {
-    var Constructor = CONSTRUCTORS[c];
-    if (Constructor) return Constructor;
-    throw new Error('invalid "instanceof" keyword value ' + c);
-  }
-};

+ 0 - 24
node_modules.bak/ajv-keywords/keywords/oneRequired.js

@@ -1,24 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    macro: function (schema) {
-      if (schema.length == 0) return true;
-      if (schema.length == 1) return {required: schema};
-      var schemas = schema.map(function (prop) {
-        return {required: [prop]};
-      });
-      return {oneOf: schemas};
-    },
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string'
-      }
-    }
-  };
-
-  ajv.addKeyword('oneRequired', defFunc.definition);
-  return ajv;
-};

+ 0 - 21
node_modules.bak/ajv-keywords/keywords/patternRequired.js

@@ -1,21 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    inline: require('./dotjs/patternRequired'),
-    statements: true,
-    errors: 'full',
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string',
-        format: 'regex'
-      },
-      uniqueItems: true
-    }
-  };
-
-  ajv.addKeyword('patternRequired', defFunc.definition);
-  return ajv;
-};

+ 0 - 24
node_modules.bak/ajv-keywords/keywords/prohibited.js

@@ -1,24 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'object',
-    macro: function (schema) {
-      if (schema.length == 0) return true;
-      if (schema.length == 1) return {not: {required: schema}};
-      var schemas = schema.map(function (prop) {
-        return {required: [prop]};
-      });
-      return {not: {anyOf: schemas}};
-    },
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string'
-      }
-    }
-  };
-
-  ajv.addKeyword('prohibited', defFunc.definition);
-  return ajv;
-};

+ 0 - 36
node_modules.bak/ajv-keywords/keywords/range.js

@@ -1,36 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'number',
-    macro: function (schema, parentSchema) {
-      var min = schema[0]
-        , max = schema[1]
-        , exclusive = parentSchema.exclusiveRange;
-
-      validateRangeSchema(min, max, exclusive);
-
-      return exclusive === true
-              ? {exclusiveMinimum: min, exclusiveMaximum: max}
-              : {minimum: min, maximum: max};
-    },
-    metaSchema: {
-      type: 'array',
-      minItems: 2,
-      maxItems: 2,
-      items: { type: 'number' }
-    }
-  };
-
-  ajv.addKeyword('range', defFunc.definition);
-  ajv.addKeyword('exclusiveRange');
-  return ajv;
-
-  function validateRangeSchema(min, max, exclusive) {
-    if (exclusive !== undefined && typeof exclusive != 'boolean')
-      throw new Error('Invalid schema for exclusiveRange keyword, should be boolean');
-
-    if (min > max || (exclusive && min == max))
-      throw new Error('There are no numbers in range');
-  }
-};

+ 0 - 36
node_modules.bak/ajv-keywords/keywords/regexp.js

@@ -1,36 +0,0 @@
-'use strict';
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'string',
-    inline: function (it, keyword, schema) {
-      return getRegExp() + '.test(data' + (it.dataLevel || '') + ')';
-
-      function getRegExp() {
-        try {
-          if (typeof schema == 'object')
-            return new RegExp(schema.pattern, schema.flags);
-
-          var rx = schema.match(/^\/(.*)\/([gimuy]*)$/);
-          if (rx) return new RegExp(rx[1], rx[2]);
-          throw new Error('cannot parse string into RegExp');
-        } catch(e) {
-          console.error('regular expression', schema, 'is invalid');
-          throw e;
-        }
-      }
-    },
-    metaSchema: {
-      type: ['string', 'object'],
-      properties: {
-        pattern: { type: 'string' },
-        flags: { type: 'string' }
-      },
-      required: ['pattern'],
-      additionalProperties: false
-    }
-  };
-
-  ajv.addKeyword('regexp', defFunc.definition);
-  return ajv;
-};

+ 0 - 79
node_modules.bak/ajv-keywords/keywords/select.js

@@ -1,79 +0,0 @@
-'use strict';
-
-var util = require('./_util');
-
-module.exports = function defFunc(ajv) {
-  if (!ajv._opts.$data) {
-    console.warn('keyword select requires $data option');
-    return ajv;
-  }
-  var metaSchemaRef = util.metaSchemaRef(ajv);
-  var compiledCaseSchemas = [];
-
-  defFunc.definition = {
-    validate: function v(schema, data, parentSchema) {
-      if (parentSchema.selectCases === undefined)
-        throw new Error('keyword "selectCases" is absent');
-      var compiled = getCompiledSchemas(parentSchema, false);
-      var validate = compiled.cases[schema];
-      if (validate === undefined) validate = compiled.default;
-      if (typeof validate == 'boolean') return validate;
-      var valid = validate(data);
-      if (!valid) v.errors = validate.errors;
-      return valid;
-    },
-    $data: true,
-    metaSchema: { type: ['string', 'number', 'boolean', 'null'] }
-  };
-
-  ajv.addKeyword('select', defFunc.definition);
-  ajv.addKeyword('selectCases', {
-    compile: function (schemas, parentSchema) {
-      var compiled = getCompiledSchemas(parentSchema);
-      for (var value in schemas)
-        compiled.cases[value] = compileOrBoolean(schemas[value]);
-      return function() { return true; };
-    },
-    valid: true,
-    metaSchema: {
-      type: 'object',
-      additionalProperties: metaSchemaRef
-    }
-  });
-  ajv.addKeyword('selectDefault', {
-    compile: function (schema, parentSchema) {
-      var compiled = getCompiledSchemas(parentSchema);
-      compiled.default = compileOrBoolean(schema);
-      return function() { return true; };
-    },
-    valid: true,
-    metaSchema: metaSchemaRef
-  });
-  return ajv;
-
-
-  function getCompiledSchemas(parentSchema, create) {
-    var compiled;
-    compiledCaseSchemas.some(function (c) {
-      if (c.parentSchema === parentSchema) {
-        compiled = c;
-        return true;
-      }
-    });
-    if (!compiled && create !== false) {
-      compiled = {
-        parentSchema: parentSchema,
-        cases: {},
-        default: true
-      };
-      compiledCaseSchemas.push(compiled);
-    }
-    return compiled;
-  }
-
-  function compileOrBoolean(schema) {
-    return typeof schema == 'boolean'
-            ? schema
-            : ajv.compile(schema);
-  }
-};

+ 0 - 38
node_modules.bak/ajv-keywords/keywords/switch.js

@@ -1,38 +0,0 @@
-'use strict';
-
-var util = require('./_util');
-
-module.exports = function defFunc(ajv) {
-  if (ajv.RULES.keywords.switch && ajv.RULES.keywords.if) return;
-
-  var metaSchemaRef = util.metaSchemaRef(ajv);
-
-  defFunc.definition = {
-    inline: require('./dotjs/switch'),
-    statements: true,
-    errors: 'full',
-    metaSchema: {
-      type: 'array',
-      items: {
-        required: [ 'then' ],
-        properties: {
-          'if': metaSchemaRef,
-          'then': {
-            anyOf: [
-              { type: 'boolean' },
-              metaSchemaRef
-            ]
-          },
-          'continue': { type: 'boolean' }
-        },
-        additionalProperties: false,
-        dependencies: {
-          'continue': [ 'if' ]
-        }
-      }
-    }
-  };
-
-  ajv.addKeyword('switch', defFunc.definition);
-  return ajv;
-};

+ 0 - 80
node_modules.bak/ajv-keywords/keywords/transform.js

@@ -1,80 +0,0 @@
-'use strict';
-
-module.exports = function defFunc (ajv) {
-  var transform = {
-    trimLeft: function (value) {
-      return value.replace(/^[\s]+/, '');
-    },
-    trimRight: function (value) {
-      return value.replace(/[\s]+$/, '');
-    },
-    trim: function (value) {
-      return value.trim();
-    },
-    toLowerCase: function (value) {
-      return value.toLowerCase();
-    },
-    toUpperCase: function (value) {
-      return value.toUpperCase();
-    },
-    toEnumCase: function (value, cfg) {
-      return cfg.hash[makeHashTableKey(value)] || value;
-    }
-  };
-
-  defFunc.definition = {
-    type: 'string',
-    errors: false,
-    modifying: true,
-    valid: true,
-    compile: function (schema, parentSchema) {
-      var cfg;
-
-      if (schema.indexOf('toEnumCase') !== -1) {
-        // build hash table to enum values
-        cfg = {hash: {}};
-
-        // requires `enum` in schema
-        if (!parentSchema.enum)
-          throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');
-        for (var i = parentSchema.enum.length; i--; i) {
-          var v = parentSchema.enum[i];
-          if (typeof v !== 'string') continue;
-          var k = makeHashTableKey(v);
-          // requires all `enum` values have unique keys
-          if (cfg.hash[k])
-            throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');
-          cfg.hash[k] = v;
-        }
-      }
-
-      return function (data, dataPath, object, key) {
-        // skip if value only
-        if (!object) return;
-
-        // apply transform in order provided
-        for (var j = 0, l = schema.length; j < l; j++)
-          data = transform[schema[j]](data, cfg);
-
-        object[key] = data;
-      };
-    },
-    metaSchema: {
-      type: 'array',
-      items: {
-        type: 'string',
-        enum: [
-          'trimLeft', 'trimRight', 'trim',
-          'toLowerCase', 'toUpperCase', 'toEnumCase'
-        ]
-      }
-    }
-  };
-
-  ajv.addKeyword('transform', defFunc.definition);
-  return ajv;
-
-  function makeHashTableKey (value) {
-    return value.toLowerCase();
-  }
-};

+ 0 - 32
node_modules.bak/ajv-keywords/keywords/typeof.js

@@ -1,32 +0,0 @@
-'use strict';
-
-var KNOWN_TYPES = ['undefined', 'string', 'number', 'object', 'function', 'boolean', 'symbol'];
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    inline: function (it, keyword, schema) {
-      var data = 'data' + (it.dataLevel || '');
-      if (typeof schema == 'string') return 'typeof ' + data + ' == "' + schema + '"';
-      schema = 'validate.schema' + it.schemaPath + '.' + keyword;
-      return schema + '.indexOf(typeof ' + data + ') >= 0';
-    },
-    metaSchema: {
-      anyOf: [
-        {
-          type: 'string',
-          enum: KNOWN_TYPES
-        },
-        {
-          type: 'array',
-          items: {
-            type: 'string',
-            enum: KNOWN_TYPES
-          }
-        }
-      ]
-    }
-  };
-
-  ajv.addKeyword('typeof', defFunc.definition);
-  return ajv;
-};

+ 0 - 59
node_modules.bak/ajv-keywords/keywords/uniqueItemProperties.js

@@ -1,59 +0,0 @@
-'use strict';
-
-var SCALAR_TYPES = ['number', 'integer', 'string', 'boolean', 'null'];
-
-module.exports = function defFunc(ajv) {
-  defFunc.definition = {
-    type: 'array',
-    compile: function(keys, parentSchema, it) {
-      var equal = it.util.equal;
-      var scalar = getScalarKeys(keys, parentSchema);
-
-      return function(data) {
-        if (data.length > 1) {
-          for (var k=0; k < keys.length; k++) {
-            var i, key = keys[k];
-            if (scalar[k]) {
-              var hash = {};
-              for (i = data.length; i--;) {
-                if (!data[i] || typeof data[i] != 'object') continue;
-                var prop = data[i][key];
-                if (prop && typeof prop == 'object') continue;
-                if (typeof prop == 'string') prop = '"' + prop;
-                if (hash[prop]) return false;
-                hash[prop] = true;
-              }
-            } else {
-              for (i = data.length; i--;) {
-                if (!data[i] || typeof data[i] != 'object') continue;
-                for (var j = i; j--;) {
-                  if (data[j] && typeof data[j] == 'object' && equal(data[i][key], data[j][key]))
-                    return false;
-                }
-              }
-            }
-          }
-        }
-        return true;
-      };
-    },
-    metaSchema: {
-      type: 'array',
-      items: {type: 'string'}
-    }
-  };
-
-  ajv.addKeyword('uniqueItemProperties', defFunc.definition);
-  return ajv;
-};
-
-
-function getScalarKeys(keys, schema) {
-  return keys.map(function(key) {
-    var properties = schema.items && schema.items.properties;
-    var propType = properties && properties[key] && properties[key].type;
-    return Array.isArray(propType)
-            ? propType.indexOf('object') < 0 && propType.indexOf('array') < 0
-            : SCALAR_TYPES.indexOf(propType) >= 0;
-  });
-}

+ 0 - 89
node_modules.bak/ajv-keywords/package.json

@@ -1,89 +0,0 @@
-{
-  "_from": "ajv-keywords@^3.5.2",
-  "_id": "ajv-keywords@3.5.2",
-  "_inBundle": false,
-  "_integrity": "sha1-MfKdpatuANHC0yms97WSlhTVAU0=",
-  "_location": "/ajv-keywords",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "ajv-keywords@^3.5.2",
-    "name": "ajv-keywords",
-    "escapedName": "ajv-keywords",
-    "rawSpec": "^3.5.2",
-    "saveSpec": null,
-    "fetchSpec": "^3.5.2"
-  },
-  "_requiredBy": [
-    "/css-loader/schema-utils",
-    "/file-loader/schema-utils",
-    "/mini-css-extract-plugin/schema-utils",
-    "/schema-utils",
-    "/style-loader/schema-utils",
-    "/terser-webpack-plugin/schema-utils",
-    "/uglifyjs-webpack-plugin/schema-utils",
-    "/webpack",
-    "/webpack-dev-server/schema-utils",
-    "/webpack/schema-utils"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/ajv-keywords/download/ajv-keywords-3.5.2.tgz",
-  "_shasum": "31f29da5ab6e00d1c2d329acf7b5929614d5014d",
-  "_spec": "ajv-keywords@^3.5.2",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\schema-utils",
-  "author": {
-    "name": "Evgeny Poberezkin"
-  },
-  "bugs": {
-    "url": "https://github.com/epoberezkin/ajv-keywords/issues"
-  },
-  "bundleDependencies": false,
-  "deprecated": false,
-  "description": "Custom JSON-Schema keywords for Ajv validator",
-  "devDependencies": {
-    "ajv": "^6.9.1",
-    "ajv-pack": "^0.3.0",
-    "chai": "^4.2.0",
-    "coveralls": "^3.0.2",
-    "dot": "^1.1.1",
-    "eslint": "^7.2.0",
-    "glob": "^7.1.3",
-    "istanbul": "^0.4.3",
-    "js-beautify": "^1.8.9",
-    "json-schema-test": "^2.0.0",
-    "mocha": "^8.0.1",
-    "pre-commit": "^1.1.3",
-    "uuid": "^8.1.0"
-  },
-  "files": [
-    "index.js",
-    "ajv-keywords.d.ts",
-    "keywords"
-  ],
-  "homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
-  "keywords": [
-    "JSON-Schema",
-    "ajv",
-    "keywords"
-  ],
-  "license": "MIT",
-  "main": "index.js",
-  "name": "ajv-keywords",
-  "peerDependencies": {
-    "ajv": "^6.9.1"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/epoberezkin/ajv-keywords.git"
-  },
-  "scripts": {
-    "build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib keywords",
-    "eslint": "eslint index.js keywords/*.js spec",
-    "prepublish": "npm run build",
-    "test": "npm run build && npm run eslint && npm run test-cov",
-    "test-cov": "istanbul cover -x 'spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec",
-    "test-spec": "mocha spec/*.spec.js -R spec"
-  },
-  "typings": "ajv-keywords.d.ts",
-  "version": "3.5.2"
-}

+ 0 - 20
node_modules.bak/ajv/.tonic_example.js

@@ -1,20 +0,0 @@
-var Ajv = require('ajv');
-var ajv = new Ajv({allErrors: true});
-
-var schema = {
-  "properties": {
-    "foo": { "type": "string" },
-    "bar": { "type": "number", "maximum": 3 }
-  }
-};
-
-var validate = ajv.compile(schema);
-
-test({"foo": "abc", "bar": 2});
-test({"foo": 2, "bar": 4});
-
-function test(data) {
-  var valid = validate(data);
-  if (valid) console.log('Valid!');
-  else console.log('Invalid: ' + ajv.errorsText(validate.errors));
-}

+ 0 - 22
node_modules.bak/ajv/LICENSE

@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015-2017 Evgeny Poberezkin
-
-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.
-

File diff suppressed because it is too large
+ 0 - 1497
node_modules.bak/ajv/README.md


+ 0 - 397
node_modules.bak/ajv/lib/ajv.d.ts

@@ -1,397 +0,0 @@
-declare var ajv: {
-  (options?: ajv.Options): ajv.Ajv;
-  new(options?: ajv.Options): ajv.Ajv;
-  ValidationError: typeof AjvErrors.ValidationError;
-  MissingRefError: typeof AjvErrors.MissingRefError;
-  $dataMetaSchema: object;
-}
-
-declare namespace AjvErrors {
-  class ValidationError extends Error {
-    constructor(errors: Array<ajv.ErrorObject>);
-
-    message: string;
-    errors: Array<ajv.ErrorObject>;
-    ajv: true;
-    validation: true;
-  }
-
-  class MissingRefError extends Error {
-    constructor(baseId: string, ref: string, message?: string);
-    static message: (baseId: string, ref: string) => string;
-
-    message: string;
-    missingRef: string;
-    missingSchema: string;
-  }
-}
-
-declare namespace ajv {
-  type ValidationError = AjvErrors.ValidationError;
-
-  type MissingRefError = AjvErrors.MissingRefError;
-
-  interface Ajv {
-    /**
-    * Validate data using schema
-    * Schema will be compiled and cached (using serialized JSON as key, [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used to serialize by default).
-    * @param  {string|object|Boolean} schemaKeyRef key, ref or schema object
-    * @param  {Any} data to be validated
-    * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`).
-    */
-    validate(schemaKeyRef: object | string | boolean, data: any): boolean | PromiseLike<any>;
-    /**
-    * Create validating function for passed schema.
-    * @param  {object|Boolean} schema schema object
-    * @return {Function} validating function
-    */
-    compile(schema: object | boolean): ValidateFunction;
-    /**
-    * Creates validating function for passed schema with asynchronous loading of missing schemas.
-    * `loadSchema` option should be a function that accepts schema uri and node-style callback.
-    * @this  Ajv
-    * @param {object|Boolean} schema schema object
-    * @param {Boolean} meta optional true to compile meta-schema; this parameter can be skipped
-    * @param {Function} callback optional node-style callback, it is always called with 2 parameters: error (or null) and validating function.
-    * @return {PromiseLike<ValidateFunction>} validating function
-    */
-    compileAsync(schema: object | boolean, meta?: Boolean, callback?: (err: Error, validate: ValidateFunction) => any): PromiseLike<ValidateFunction>;
-    /**
-    * Adds schema to the instance.
-    * @param {object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored.
-    * @param {string} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
-    * @return {Ajv} this for method chaining
-    */
-    addSchema(schema: Array<object> | object, key?: string): Ajv;
-    /**
-    * Add schema that will be used to validate other schemas
-    * options in META_IGNORE_OPTIONS are alway set to false
-    * @param {object} schema schema object
-    * @param {string} key optional schema key
-    * @return {Ajv} this for method chaining
-    */
-    addMetaSchema(schema: object, key?: string): Ajv;
-    /**
-    * Validate schema
-    * @param {object|Boolean} schema schema to validate
-    * @return {Boolean} true if schema is valid
-    */
-    validateSchema(schema: object | boolean): boolean;
-    /**
-    * Get compiled schema from the instance by `key` or `ref`.
-    * @param  {string} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id).
-    * @return {Function} schema validating function (with property `schema`). Returns undefined if keyRef can't be resolved to an existing schema.
-    */
-    getSchema(keyRef: string): ValidateFunction | undefined;
-    /**
-    * Remove cached schema(s).
-    * If no parameter is passed all schemas but meta-schemas are removed.
-    * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.
-    * Even if schema is referenced by other schemas it still can be removed as other schemas have local references.
-    * @param  {string|object|RegExp|Boolean} schemaKeyRef key, ref, pattern to match key/ref or schema object
-    * @return {Ajv} this for method chaining
-    */
-    removeSchema(schemaKeyRef?: object | string | RegExp | boolean): Ajv;
-    /**
-    * Add custom format
-    * @param {string} name format name
-    * @param {string|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid)
-    * @return {Ajv} this for method chaining
-    */
-    addFormat(name: string, format: FormatValidator | FormatDefinition): Ajv;
-    /**
-    * Define custom keyword
-    * @this  Ajv
-    * @param {string} keyword custom keyword, should be a valid identifier, should be different from all standard, custom and macro keywords.
-    * @param {object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`.
-    * @return {Ajv} this for method chaining
-    */
-    addKeyword(keyword: string, definition: KeywordDefinition): Ajv;
-    /**
-    * Get keyword definition
-    * @this  Ajv
-    * @param {string} keyword pre-defined or custom keyword.
-    * @return {object|Boolean} custom keyword definition, `true` if it is a predefined keyword, `false` otherwise.
-    */
-    getKeyword(keyword: string): object | boolean;
-    /**
-    * Remove keyword
-    * @this  Ajv
-    * @param {string} keyword pre-defined or custom keyword.
-    * @return {Ajv} this for method chaining
-    */
-    removeKeyword(keyword: string): Ajv;
-    /**
-    * Validate keyword
-    * @this  Ajv
-    * @param {object} definition keyword definition object
-    * @param {boolean} throwError true to throw exception if definition is invalid
-    * @return {boolean} validation result
-    */
-    validateKeyword(definition: KeywordDefinition, throwError: boolean): boolean;
-    /**
-    * Convert array of error message objects to string
-    * @param  {Array<object>} errors optional array of validation errors, if not passed errors from the instance are used.
-    * @param  {object} options optional options with properties `separator` and `dataVar`.
-    * @return {string} human readable string with all errors descriptions
-    */
-    errorsText(errors?: Array<ErrorObject> | null, options?: ErrorsTextOptions): string;
-    errors?: Array<ErrorObject> | null;
-    _opts: Options;
-  }
-
-  interface CustomLogger {
-    log(...args: any[]): any;
-    warn(...args: any[]): any;
-    error(...args: any[]): any;
-  }
-
-  interface ValidateFunction {
-    (
-      data: any,
-      dataPath?: string,
-      parentData?: object | Array<any>,
-      parentDataProperty?: string | number,
-      rootData?: object | Array<any>
-    ): boolean | PromiseLike<any>;
-    schema?: object | boolean;
-    errors?: null | Array<ErrorObject>;
-    refs?: object;
-    refVal?: Array<any>;
-    root?: ValidateFunction | object;
-    $async?: true;
-    source?: object;
-  }
-
-  interface Options {
-    $data?: boolean;
-    allErrors?: boolean;
-    verbose?: boolean;
-    jsonPointers?: boolean;
-    uniqueItems?: boolean;
-    unicode?: boolean;
-    format?: false | string;
-    formats?: object;
-    keywords?: object;
-    unknownFormats?: true | string[] | 'ignore';
-    schemas?: Array<object> | object;
-    schemaId?: '$id' | 'id' | 'auto';
-    missingRefs?: true | 'ignore' | 'fail';
-    extendRefs?: true | 'ignore' | 'fail';
-    loadSchema?: (uri: string, cb?: (err: Error, schema: object) => void) => PromiseLike<object | boolean>;
-    removeAdditional?: boolean | 'all' | 'failing';
-    useDefaults?: boolean | 'empty' | 'shared';
-    coerceTypes?: boolean | 'array';
-    strictDefaults?: boolean | 'log';
-    strictKeywords?: boolean | 'log';
-    strictNumbers?: boolean;
-    async?: boolean | string;
-    transpile?: string | ((code: string) => string);
-    meta?: boolean | object;
-    validateSchema?: boolean | 'log';
-    addUsedSchema?: boolean;
-    inlineRefs?: boolean | number;
-    passContext?: boolean;
-    loopRequired?: number;
-    ownProperties?: boolean;
-    multipleOfPrecision?: boolean | number;
-    errorDataPath?: string,
-    messages?: boolean;
-    sourceCode?: boolean;
-    processCode?: (code: string, schema: object) => string;
-    cache?: object;
-    logger?: CustomLogger | false;
-    nullable?: boolean;
-    serialize?: ((schema: object | boolean) => any) | false;
-  }
-
-  type FormatValidator = string | RegExp | ((data: string) => boolean | PromiseLike<any>);
-  type NumberFormatValidator = ((data: number) => boolean | PromiseLike<any>);
-
-  interface NumberFormatDefinition {
-    type: "number",
-    validate: NumberFormatValidator;
-    compare?: (data1: number, data2: number) => number;
-    async?: boolean;
-  }
-
-  interface StringFormatDefinition {
-    type?: "string",
-    validate: FormatValidator;
-    compare?: (data1: string, data2: string) => number;
-    async?: boolean;
-  }
-
-  type FormatDefinition = NumberFormatDefinition | StringFormatDefinition;
-
-  interface KeywordDefinition {
-    type?: string | Array<string>;
-    async?: boolean;
-    $data?: boolean;
-    errors?: boolean | string;
-    metaSchema?: object;
-    // schema: false makes validate not to expect schema (ValidateFunction)
-    schema?: boolean;
-    statements?: boolean;
-    dependencies?: Array<string>;
-    modifying?: boolean;
-    valid?: boolean;
-    // one and only one of the following properties should be present
-    validate?: SchemaValidateFunction | ValidateFunction;
-    compile?: (schema: any, parentSchema: object, it: CompilationContext) => ValidateFunction;
-    macro?: (schema: any, parentSchema: object, it: CompilationContext) => object | boolean;
-    inline?: (it: CompilationContext, keyword: string, schema: any, parentSchema: object) => string;
-  }
-
-  interface CompilationContext {
-    level: number;
-    dataLevel: number;
-    dataPathArr: string[];
-    schema: any;
-    schemaPath: string;
-    baseId: string;
-    async: boolean;
-    opts: Options;
-    formats: {
-      [index: string]: FormatDefinition | undefined;
-    };
-    keywords: {
-      [index: string]: KeywordDefinition | undefined;
-    };
-    compositeRule: boolean;
-    validate: (schema: object) => boolean;
-    util: {
-      copy(obj: any, target?: any): any;
-      toHash(source: string[]): { [index: string]: true | undefined };
-      equal(obj: any, target: any): boolean;
-      getProperty(str: string): string;
-      schemaHasRules(schema: object, rules: any): string;
-      escapeQuotes(str: string): string;
-      toQuotedString(str: string): string;
-      getData(jsonPointer: string, dataLevel: number, paths: string[]): string;
-      escapeJsonPointer(str: string): string;
-      unescapeJsonPointer(str: string): string;
-      escapeFragment(str: string): string;
-      unescapeFragment(str: string): string;
-    };
-    self: Ajv;
-  }
-
-  interface SchemaValidateFunction {
-    (
-      schema: any,
-      data: any,
-      parentSchema?: object,
-      dataPath?: string,
-      parentData?: object | Array<any>,
-      parentDataProperty?: string | number,
-      rootData?: object | Array<any>
-    ): boolean | PromiseLike<any>;
-    errors?: Array<ErrorObject>;
-  }
-
-  interface ErrorsTextOptions {
-    separator?: string;
-    dataVar?: string;
-  }
-
-  interface ErrorObject {
-    keyword: string;
-    dataPath: string;
-    schemaPath: string;
-    params: ErrorParameters;
-    // Added to validation errors of propertyNames keyword schema
-    propertyName?: string;
-    // Excluded if messages set to false.
-    message?: string;
-    // These are added with the `verbose` option.
-    schema?: any;
-    parentSchema?: object;
-    data?: any;
-  }
-
-  type ErrorParameters = RefParams | LimitParams | AdditionalPropertiesParams |
-    DependenciesParams | FormatParams | ComparisonParams |
-    MultipleOfParams | PatternParams | RequiredParams |
-    TypeParams | UniqueItemsParams | CustomParams |
-    PatternRequiredParams | PropertyNamesParams |
-    IfParams | SwitchParams | NoParams | EnumParams;
-
-  interface RefParams {
-    ref: string;
-  }
-
-  interface LimitParams {
-    limit: number;
-  }
-
-  interface AdditionalPropertiesParams {
-    additionalProperty: string;
-  }
-
-  interface DependenciesParams {
-    property: string;
-    missingProperty: string;
-    depsCount: number;
-    deps: string;
-  }
-
-  interface FormatParams {
-    format: string
-  }
-
-  interface ComparisonParams {
-    comparison: string;
-    limit: number | string;
-    exclusive: boolean;
-  }
-
-  interface MultipleOfParams {
-    multipleOf: number;
-  }
-
-  interface PatternParams {
-    pattern: string;
-  }
-
-  interface RequiredParams {
-    missingProperty: string;
-  }
-
-  interface TypeParams {
-    type: string;
-  }
-
-  interface UniqueItemsParams {
-    i: number;
-    j: number;
-  }
-
-  interface CustomParams {
-    keyword: string;
-  }
-
-  interface PatternRequiredParams {
-    missingPattern: string;
-  }
-
-  interface PropertyNamesParams {
-    propertyName: string;
-  }
-
-  interface IfParams {
-    failingKeyword: string;
-  }
-
-  interface SwitchParams {
-    caseIndex: number;
-  }
-
-  interface NoParams { }
-
-  interface EnumParams {
-    allowedValues: Array<any>;
-  }
-}
-
-export = ajv;

+ 0 - 506
node_modules.bak/ajv/lib/ajv.js

@@ -1,506 +0,0 @@
-'use strict';
-
-var compileSchema = require('./compile')
-  , resolve = require('./compile/resolve')
-  , Cache = require('./cache')
-  , SchemaObject = require('./compile/schema_obj')
-  , stableStringify = require('fast-json-stable-stringify')
-  , formats = require('./compile/formats')
-  , rules = require('./compile/rules')
-  , $dataMetaSchema = require('./data')
-  , util = require('./compile/util');
-
-module.exports = Ajv;
-
-Ajv.prototype.validate = validate;
-Ajv.prototype.compile = compile;
-Ajv.prototype.addSchema = addSchema;
-Ajv.prototype.addMetaSchema = addMetaSchema;
-Ajv.prototype.validateSchema = validateSchema;
-Ajv.prototype.getSchema = getSchema;
-Ajv.prototype.removeSchema = removeSchema;
-Ajv.prototype.addFormat = addFormat;
-Ajv.prototype.errorsText = errorsText;
-
-Ajv.prototype._addSchema = _addSchema;
-Ajv.prototype._compile = _compile;
-
-Ajv.prototype.compileAsync = require('./compile/async');
-var customKeyword = require('./keyword');
-Ajv.prototype.addKeyword = customKeyword.add;
-Ajv.prototype.getKeyword = customKeyword.get;
-Ajv.prototype.removeKeyword = customKeyword.remove;
-Ajv.prototype.validateKeyword = customKeyword.validate;
-
-var errorClasses = require('./compile/error_classes');
-Ajv.ValidationError = errorClasses.Validation;
-Ajv.MissingRefError = errorClasses.MissingRef;
-Ajv.$dataMetaSchema = $dataMetaSchema;
-
-var META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema';
-
-var META_IGNORE_OPTIONS = [ 'removeAdditional', 'useDefaults', 'coerceTypes', 'strictDefaults' ];
-var META_SUPPORT_DATA = ['/properties'];
-
-/**
- * Creates validator instance.
- * Usage: `Ajv(opts)`
- * @param {Object} opts optional options
- * @return {Object} ajv instance
- */
-function Ajv(opts) {
-  if (!(this instanceof Ajv)) return new Ajv(opts);
-  opts = this._opts = util.copy(opts) || {};
-  setLogger(this);
-  this._schemas = {};
-  this._refs = {};
-  this._fragments = {};
-  this._formats = formats(opts.format);
-
-  this._cache = opts.cache || new Cache;
-  this._loadingSchemas = {};
-  this._compilations = [];
-  this.RULES = rules();
-  this._getId = chooseGetId(opts);
-
-  opts.loopRequired = opts.loopRequired || Infinity;
-  if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true;
-  if (opts.serialize === undefined) opts.serialize = stableStringify;
-  this._metaOpts = getMetaSchemaOptions(this);
-
-  if (opts.formats) addInitialFormats(this);
-  if (opts.keywords) addInitialKeywords(this);
-  addDefaultMetaSchema(this);
-  if (typeof opts.meta == 'object') this.addMetaSchema(opts.meta);
-  if (opts.nullable) this.addKeyword('nullable', {metaSchema: {type: 'boolean'}});
-  addInitialSchemas(this);
-}
-
-
-
-/**
- * Validate data using schema
- * Schema will be compiled and cached (using serialized JSON as key. [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used to serialize.
- * @this   Ajv
- * @param  {String|Object} schemaKeyRef key, ref or schema object
- * @param  {Any} data to be validated
- * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`).
- */
-function validate(schemaKeyRef, data) {
-  var v;
-  if (typeof schemaKeyRef == 'string') {
-    v = this.getSchema(schemaKeyRef);
-    if (!v) throw new Error('no schema with key or ref "' + schemaKeyRef + '"');
-  } else {
-    var schemaObj = this._addSchema(schemaKeyRef);
-    v = schemaObj.validate || this._compile(schemaObj);
-  }
-
-  var valid = v(data);
-  if (v.$async !== true) this.errors = v.errors;
-  return valid;
-}
-
-
-/**
- * Create validating function for passed schema.
- * @this   Ajv
- * @param  {Object} schema schema object
- * @param  {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords.
- * @return {Function} validating function
- */
-function compile(schema, _meta) {
-  var schemaObj = this._addSchema(schema, undefined, _meta);
-  return schemaObj.validate || this._compile(schemaObj);
-}
-
-
-/**
- * Adds schema to the instance.
- * @this   Ajv
- * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored.
- * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
- * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead.
- * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
- * @return {Ajv} this for method chaining
- */
-function addSchema(schema, key, _skipValidation, _meta) {
-  if (Array.isArray(schema)){
-    for (var i=0; i<schema.length; i++) this.addSchema(schema[i], undefined, _skipValidation, _meta);
-    return this;
-  }
-  var id = this._getId(schema);
-  if (id !== undefined && typeof id != 'string')
-    throw new Error('schema id must be string');
-  key = resolve.normalizeId(key || id);
-  checkUnique(this, key);
-  this._schemas[key] = this._addSchema(schema, _skipValidation, _meta, true);
-  return this;
-}
-
-
-/**
- * Add schema that will be used to validate other schemas
- * options in META_IGNORE_OPTIONS are alway set to false
- * @this   Ajv
- * @param {Object} schema schema object
- * @param {String} key optional schema key
- * @param {Boolean} skipValidation true to skip schema validation, can be used to override validateSchema option for meta-schema
- * @return {Ajv} this for method chaining
- */
-function addMetaSchema(schema, key, skipValidation) {
-  this.addSchema(schema, key, skipValidation, true);
-  return this;
-}
-
-
-/**
- * Validate schema
- * @this   Ajv
- * @param {Object} schema schema to validate
- * @param {Boolean} throwOrLogError pass true to throw (or log) an error if invalid
- * @return {Boolean} true if schema is valid
- */
-function validateSchema(schema, throwOrLogError) {
-  var $schema = schema.$schema;
-  if ($schema !== undefined && typeof $schema != 'string')
-    throw new Error('$schema must be a string');
-  $schema = $schema || this._opts.defaultMeta || defaultMeta(this);
-  if (!$schema) {
-    this.logger.warn('meta-schema not available');
-    this.errors = null;
-    return true;
-  }
-  var valid = this.validate($schema, schema);
-  if (!valid && throwOrLogError) {
-    var message = 'schema is invalid: ' + this.errorsText();
-    if (this._opts.validateSchema == 'log') this.logger.error(message);
-    else throw new Error(message);
-  }
-  return valid;
-}
-
-
-function defaultMeta(self) {
-  var meta = self._opts.meta;
-  self._opts.defaultMeta = typeof meta == 'object'
-                            ? self._getId(meta) || meta
-                            : self.getSchema(META_SCHEMA_ID)
-                              ? META_SCHEMA_ID
-                              : undefined;
-  return self._opts.defaultMeta;
-}
-
-
-/**
- * Get compiled schema from the instance by `key` or `ref`.
- * @this   Ajv
- * @param  {String} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id).
- * @return {Function} schema validating function (with property `schema`).
- */
-function getSchema(keyRef) {
-  var schemaObj = _getSchemaObj(this, keyRef);
-  switch (typeof schemaObj) {
-    case 'object': return schemaObj.validate || this._compile(schemaObj);
-    case 'string': return this.getSchema(schemaObj);
-    case 'undefined': return _getSchemaFragment(this, keyRef);
-  }
-}
-
-
-function _getSchemaFragment(self, ref) {
-  var res = resolve.schema.call(self, { schema: {} }, ref);
-  if (res) {
-    var schema = res.schema
-      , root = res.root
-      , baseId = res.baseId;
-    var v = compileSchema.call(self, schema, root, undefined, baseId);
-    self._fragments[ref] = new SchemaObject({
-      ref: ref,
-      fragment: true,
-      schema: schema,
-      root: root,
-      baseId: baseId,
-      validate: v
-    });
-    return v;
-  }
-}
-
-
-function _getSchemaObj(self, keyRef) {
-  keyRef = resolve.normalizeId(keyRef);
-  return self._schemas[keyRef] || self._refs[keyRef] || self._fragments[keyRef];
-}
-
-
-/**
- * Remove cached schema(s).
- * If no parameter is passed all schemas but meta-schemas are removed.
- * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.
- * Even if schema is referenced by other schemas it still can be removed as other schemas have local references.
- * @this   Ajv
- * @param  {String|Object|RegExp} schemaKeyRef key, ref, pattern to match key/ref or schema object
- * @return {Ajv} this for method chaining
- */
-function removeSchema(schemaKeyRef) {
-  if (schemaKeyRef instanceof RegExp) {
-    _removeAllSchemas(this, this._schemas, schemaKeyRef);
-    _removeAllSchemas(this, this._refs, schemaKeyRef);
-    return this;
-  }
-  switch (typeof schemaKeyRef) {
-    case 'undefined':
-      _removeAllSchemas(this, this._schemas);
-      _removeAllSchemas(this, this._refs);
-      this._cache.clear();
-      return this;
-    case 'string':
-      var schemaObj = _getSchemaObj(this, schemaKeyRef);
-      if (schemaObj) this._cache.del(schemaObj.cacheKey);
-      delete this._schemas[schemaKeyRef];
-      delete this._refs[schemaKeyRef];
-      return this;
-    case 'object':
-      var serialize = this._opts.serialize;
-      var cacheKey = serialize ? serialize(schemaKeyRef) : schemaKeyRef;
-      this._cache.del(cacheKey);
-      var id = this._getId(schemaKeyRef);
-      if (id) {
-        id = resolve.normalizeId(id);
-        delete this._schemas[id];
-        delete this._refs[id];
-      }
-  }
-  return this;
-}
-
-
-function _removeAllSchemas(self, schemas, regex) {
-  for (var keyRef in schemas) {
-    var schemaObj = schemas[keyRef];
-    if (!schemaObj.meta && (!regex || regex.test(keyRef))) {
-      self._cache.del(schemaObj.cacheKey);
-      delete schemas[keyRef];
-    }
-  }
-}
-
-
-/* @this   Ajv */
-function _addSchema(schema, skipValidation, meta, shouldAddSchema) {
-  if (typeof schema != 'object' && typeof schema != 'boolean')
-    throw new Error('schema should be object or boolean');
-  var serialize = this._opts.serialize;
-  var cacheKey = serialize ? serialize(schema) : schema;
-  var cached = this._cache.get(cacheKey);
-  if (cached) return cached;
-
-  shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;
-
-  var id = resolve.normalizeId(this._getId(schema));
-  if (id && shouldAddSchema) checkUnique(this, id);
-
-  var willValidate = this._opts.validateSchema !== false && !skipValidation;
-  var recursiveMeta;
-  if (willValidate && !(recursiveMeta = id && id == resolve.normalizeId(schema.$schema)))
-    this.validateSchema(schema, true);
-
-  var localRefs = resolve.ids.call(this, schema);
-
-  var schemaObj = new SchemaObject({
-    id: id,
-    schema: schema,
-    localRefs: localRefs,
-    cacheKey: cacheKey,
-    meta: meta
-  });
-
-  if (id[0] != '#' && shouldAddSchema) this._refs[id] = schemaObj;
-  this._cache.put(cacheKey, schemaObj);
-
-  if (willValidate && recursiveMeta) this.validateSchema(schema, true);
-
-  return schemaObj;
-}
-
-
-/* @this   Ajv */
-function _compile(schemaObj, root) {
-  if (schemaObj.compiling) {
-    schemaObj.validate = callValidate;
-    callValidate.schema = schemaObj.schema;
-    callValidate.errors = null;
-    callValidate.root = root ? root : callValidate;
-    if (schemaObj.schema.$async === true)
-      callValidate.$async = true;
-    return callValidate;
-  }
-  schemaObj.compiling = true;
-
-  var currentOpts;
-  if (schemaObj.meta) {
-    currentOpts = this._opts;
-    this._opts = this._metaOpts;
-  }
-
-  var v;
-  try { v = compileSchema.call(this, schemaObj.schema, root, schemaObj.localRefs); }
-  catch(e) {
-    delete schemaObj.validate;
-    throw e;
-  }
-  finally {
-    schemaObj.compiling = false;
-    if (schemaObj.meta) this._opts = currentOpts;
-  }
-
-  schemaObj.validate = v;
-  schemaObj.refs = v.refs;
-  schemaObj.refVal = v.refVal;
-  schemaObj.root = v.root;
-  return v;
-
-
-  /* @this   {*} - custom context, see passContext option */
-  function callValidate() {
-    /* jshint validthis: true */
-    var _validate = schemaObj.validate;
-    var result = _validate.apply(this, arguments);
-    callValidate.errors = _validate.errors;
-    return result;
-  }
-}
-
-
-function chooseGetId(opts) {
-  switch (opts.schemaId) {
-    case 'auto': return _get$IdOrId;
-    case 'id': return _getId;
-    default: return _get$Id;
-  }
-}
-
-/* @this   Ajv */
-function _getId(schema) {
-  if (schema.$id) this.logger.warn('schema $id ignored', schema.$id);
-  return schema.id;
-}
-
-/* @this   Ajv */
-function _get$Id(schema) {
-  if (schema.id) this.logger.warn('schema id ignored', schema.id);
-  return schema.$id;
-}
-
-
-function _get$IdOrId(schema) {
-  if (schema.$id && schema.id && schema.$id != schema.id)
-    throw new Error('schema $id is different from id');
-  return schema.$id || schema.id;
-}
-
-
-/**
- * Convert array of error message objects to string
- * @this   Ajv
- * @param  {Array<Object>} errors optional array of validation errors, if not passed errors from the instance are used.
- * @param  {Object} options optional options with properties `separator` and `dataVar`.
- * @return {String} human readable string with all errors descriptions
- */
-function errorsText(errors, options) {
-  errors = errors || this.errors;
-  if (!errors) return 'No errors';
-  options = options || {};
-  var separator = options.separator === undefined ? ', ' : options.separator;
-  var dataVar = options.dataVar === undefined ? 'data' : options.dataVar;
-
-  var text = '';
-  for (var i=0; i<errors.length; i++) {
-    var e = errors[i];
-    if (e) text += dataVar + e.dataPath + ' ' + e.message + separator;
-  }
-  return text.slice(0, -separator.length);
-}
-
-
-/**
- * Add custom format
- * @this   Ajv
- * @param {String} name format name
- * @param {String|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid)
- * @return {Ajv} this for method chaining
- */
-function addFormat(name, format) {
-  if (typeof format == 'string') format = new RegExp(format);
-  this._formats[name] = format;
-  return this;
-}
-
-
-function addDefaultMetaSchema(self) {
-  var $dataSchema;
-  if (self._opts.$data) {
-    $dataSchema = require('./refs/data.json');
-    self.addMetaSchema($dataSchema, $dataSchema.$id, true);
-  }
-  if (self._opts.meta === false) return;
-  var metaSchema = require('./refs/json-schema-draft-07.json');
-  if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);
-  self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);
-  self._refs['http://json-schema.org/schema'] = META_SCHEMA_ID;
-}
-
-
-function addInitialSchemas(self) {
-  var optsSchemas = self._opts.schemas;
-  if (!optsSchemas) return;
-  if (Array.isArray(optsSchemas)) self.addSchema(optsSchemas);
-  else for (var key in optsSchemas) self.addSchema(optsSchemas[key], key);
-}
-
-
-function addInitialFormats(self) {
-  for (var name in self._opts.formats) {
-    var format = self._opts.formats[name];
-    self.addFormat(name, format);
-  }
-}
-
-
-function addInitialKeywords(self) {
-  for (var name in self._opts.keywords) {
-    var keyword = self._opts.keywords[name];
-    self.addKeyword(name, keyword);
-  }
-}
-
-
-function checkUnique(self, id) {
-  if (self._schemas[id] || self._refs[id])
-    throw new Error('schema with key or id "' + id + '" already exists');
-}
-
-
-function getMetaSchemaOptions(self) {
-  var metaOpts = util.copy(self._opts);
-  for (var i=0; i<META_IGNORE_OPTIONS.length; i++)
-    delete metaOpts[META_IGNORE_OPTIONS[i]];
-  return metaOpts;
-}
-
-
-function setLogger(self) {
-  var logger = self._opts.logger;
-  if (logger === false) {
-    self.logger = {log: noop, warn: noop, error: noop};
-  } else {
-    if (logger === undefined) logger = console;
-    if (!(typeof logger == 'object' && logger.log && logger.warn && logger.error))
-      throw new Error('logger must implement log, warn and error methods');
-    self.logger = logger;
-  }
-}
-
-
-function noop() {}

+ 0 - 26
node_modules.bak/ajv/lib/cache.js

@@ -1,26 +0,0 @@
-'use strict';
-
-
-var Cache = module.exports = function Cache() {
-  this._cache = {};
-};
-
-
-Cache.prototype.put = function Cache_put(key, value) {
-  this._cache[key] = value;
-};
-
-
-Cache.prototype.get = function Cache_get(key) {
-  return this._cache[key];
-};
-
-
-Cache.prototype.del = function Cache_del(key) {
-  delete this._cache[key];
-};
-
-
-Cache.prototype.clear = function Cache_clear() {
-  this._cache = {};
-};

+ 0 - 90
node_modules.bak/ajv/lib/compile/async.js

@@ -1,90 +0,0 @@
-'use strict';
-
-var MissingRefError = require('./error_classes').MissingRef;
-
-module.exports = compileAsync;
-
-
-/**
- * Creates validating function for passed schema with asynchronous loading of missing schemas.
- * `loadSchema` option should be a function that accepts schema uri and returns promise that resolves with the schema.
- * @this  Ajv
- * @param {Object}   schema schema object
- * @param {Boolean}  meta optional true to compile meta-schema; this parameter can be skipped
- * @param {Function} callback an optional node-style callback, it is called with 2 parameters: error (or null) and validating function.
- * @return {Promise} promise that resolves with a validating function.
- */
-function compileAsync(schema, meta, callback) {
-  /* eslint no-shadow: 0 */
-  /* global Promise */
-  /* jshint validthis: true */
-  var self = this;
-  if (typeof this._opts.loadSchema != 'function')
-    throw new Error('options.loadSchema should be a function');
-
-  if (typeof meta == 'function') {
-    callback = meta;
-    meta = undefined;
-  }
-
-  var p = loadMetaSchemaOf(schema).then(function () {
-    var schemaObj = self._addSchema(schema, undefined, meta);
-    return schemaObj.validate || _compileAsync(schemaObj);
-  });
-
-  if (callback) {
-    p.then(
-      function(v) { callback(null, v); },
-      callback
-    );
-  }
-
-  return p;
-
-
-  function loadMetaSchemaOf(sch) {
-    var $schema = sch.$schema;
-    return $schema && !self.getSchema($schema)
-            ? compileAsync.call(self, { $ref: $schema }, true)
-            : Promise.resolve();
-  }
-
-
-  function _compileAsync(schemaObj) {
-    try { return self._compile(schemaObj); }
-    catch(e) {
-      if (e instanceof MissingRefError) return loadMissingSchema(e);
-      throw e;
-    }
-
-
-    function loadMissingSchema(e) {
-      var ref = e.missingSchema;
-      if (added(ref)) throw new Error('Schema ' + ref + ' is loaded but ' + e.missingRef + ' cannot be resolved');
-
-      var schemaPromise = self._loadingSchemas[ref];
-      if (!schemaPromise) {
-        schemaPromise = self._loadingSchemas[ref] = self._opts.loadSchema(ref);
-        schemaPromise.then(removePromise, removePromise);
-      }
-
-      return schemaPromise.then(function (sch) {
-        if (!added(ref)) {
-          return loadMetaSchemaOf(sch).then(function () {
-            if (!added(ref)) self.addSchema(sch, ref, undefined, meta);
-          });
-        }
-      }).then(function() {
-        return _compileAsync(schemaObj);
-      });
-
-      function removePromise() {
-        delete self._loadingSchemas[ref];
-      }
-
-      function added(ref) {
-        return self._refs[ref] || self._schemas[ref];
-      }
-    }
-  }
-}

+ 0 - 5
node_modules.bak/ajv/lib/compile/equal.js

@@ -1,5 +0,0 @@
-'use strict';
-
-// do NOT remove this file - it would break pre-compiled schemas
-// https://github.com/ajv-validator/ajv/issues/889
-module.exports = require('fast-deep-equal');

+ 0 - 34
node_modules.bak/ajv/lib/compile/error_classes.js

@@ -1,34 +0,0 @@
-'use strict';
-
-var resolve = require('./resolve');
-
-module.exports = {
-  Validation: errorSubclass(ValidationError),
-  MissingRef: errorSubclass(MissingRefError)
-};
-
-
-function ValidationError(errors) {
-  this.message = 'validation failed';
-  this.errors = errors;
-  this.ajv = this.validation = true;
-}
-
-
-MissingRefError.message = function (baseId, ref) {
-  return 'can\'t resolve reference ' + ref + ' from id ' + baseId;
-};
-
-
-function MissingRefError(baseId, ref, message) {
-  this.message = message || MissingRefError.message(baseId, ref);
-  this.missingRef = resolve.url(baseId, ref);
-  this.missingSchema = resolve.normalizeId(resolve.fullPath(this.missingRef));
-}
-
-
-function errorSubclass(Subclass) {
-  Subclass.prototype = Object.create(Error.prototype);
-  Subclass.prototype.constructor = Subclass;
-  return Subclass;
-}

File diff suppressed because it is too large
+ 0 - 142
node_modules.bak/ajv/lib/compile/formats.js


+ 0 - 387
node_modules.bak/ajv/lib/compile/index.js

@@ -1,387 +0,0 @@
-'use strict';
-
-var resolve = require('./resolve')
-  , util = require('./util')
-  , errorClasses = require('./error_classes')
-  , stableStringify = require('fast-json-stable-stringify');
-
-var validateGenerator = require('../dotjs/validate');
-
-/**
- * Functions below are used inside compiled validations function
- */
-
-var ucs2length = util.ucs2length;
-var equal = require('fast-deep-equal');
-
-// this error is thrown by async schemas to return validation errors via exception
-var ValidationError = errorClasses.Validation;
-
-module.exports = compile;
-
-
-/**
- * Compiles schema to validation function
- * @this   Ajv
- * @param  {Object} schema schema object
- * @param  {Object} root object with information about the root schema for this schema
- * @param  {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution
- * @param  {String} baseId base ID for IDs in the schema
- * @return {Function} validation function
- */
-function compile(schema, root, localRefs, baseId) {
-  /* jshint validthis: true, evil: true */
-  /* eslint no-shadow: 0 */
-  var self = this
-    , opts = this._opts
-    , refVal = [ undefined ]
-    , refs = {}
-    , patterns = []
-    , patternsHash = {}
-    , defaults = []
-    , defaultsHash = {}
-    , customRules = [];
-
-  root = root || { schema: schema, refVal: refVal, refs: refs };
-
-  var c = checkCompiling.call(this, schema, root, baseId);
-  var compilation = this._compilations[c.index];
-  if (c.compiling) return (compilation.callValidate = callValidate);
-
-  var formats = this._formats;
-  var RULES = this.RULES;
-
-  try {
-    var v = localCompile(schema, root, localRefs, baseId);
-    compilation.validate = v;
-    var cv = compilation.callValidate;
-    if (cv) {
-      cv.schema = v.schema;
-      cv.errors = null;
-      cv.refs = v.refs;
-      cv.refVal = v.refVal;
-      cv.root = v.root;
-      cv.$async = v.$async;
-      if (opts.sourceCode) cv.source = v.source;
-    }
-    return v;
-  } finally {
-    endCompiling.call(this, schema, root, baseId);
-  }
-
-  /* @this   {*} - custom context, see passContext option */
-  function callValidate() {
-    /* jshint validthis: true */
-    var validate = compilation.validate;
-    var result = validate.apply(this, arguments);
-    callValidate.errors = validate.errors;
-    return result;
-  }
-
-  function localCompile(_schema, _root, localRefs, baseId) {
-    var isRoot = !_root || (_root && _root.schema == _schema);
-    if (_root.schema != root.schema)
-      return compile.call(self, _schema, _root, localRefs, baseId);
-
-    var $async = _schema.$async === true;
-
-    var sourceCode = validateGenerator({
-      isTop: true,
-      schema: _schema,
-      isRoot: isRoot,
-      baseId: baseId,
-      root: _root,
-      schemaPath: '',
-      errSchemaPath: '#',
-      errorPath: '""',
-      MissingRefError: errorClasses.MissingRef,
-      RULES: RULES,
-      validate: validateGenerator,
-      util: util,
-      resolve: resolve,
-      resolveRef: resolveRef,
-      usePattern: usePattern,
-      useDefault: useDefault,
-      useCustomRule: useCustomRule,
-      opts: opts,
-      formats: formats,
-      logger: self.logger,
-      self: self
-    });
-
-    sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode)
-                   + vars(defaults, defaultCode) + vars(customRules, customRuleCode)
-                   + sourceCode;
-
-    if (opts.processCode) sourceCode = opts.processCode(sourceCode, _schema);
-    // console.log('\n\n\n *** \n', JSON.stringify(sourceCode));
-    var validate;
-    try {
-      var makeValidate = new Function(
-        'self',
-        'RULES',
-        'formats',
-        'root',
-        'refVal',
-        'defaults',
-        'customRules',
-        'equal',
-        'ucs2length',
-        'ValidationError',
-        sourceCode
-      );
-
-      validate = makeValidate(
-        self,
-        RULES,
-        formats,
-        root,
-        refVal,
-        defaults,
-        customRules,
-        equal,
-        ucs2length,
-        ValidationError
-      );
-
-      refVal[0] = validate;
-    } catch(e) {
-      self.logger.error('Error compiling schema, function code:', sourceCode);
-      throw e;
-    }
-
-    validate.schema = _schema;
-    validate.errors = null;
-    validate.refs = refs;
-    validate.refVal = refVal;
-    validate.root = isRoot ? validate : _root;
-    if ($async) validate.$async = true;
-    if (opts.sourceCode === true) {
-      validate.source = {
-        code: sourceCode,
-        patterns: patterns,
-        defaults: defaults
-      };
-    }
-
-    return validate;
-  }
-
-  function resolveRef(baseId, ref, isRoot) {
-    ref = resolve.url(baseId, ref);
-    var refIndex = refs[ref];
-    var _refVal, refCode;
-    if (refIndex !== undefined) {
-      _refVal = refVal[refIndex];
-      refCode = 'refVal[' + refIndex + ']';
-      return resolvedRef(_refVal, refCode);
-    }
-    if (!isRoot && root.refs) {
-      var rootRefId = root.refs[ref];
-      if (rootRefId !== undefined) {
-        _refVal = root.refVal[rootRefId];
-        refCode = addLocalRef(ref, _refVal);
-        return resolvedRef(_refVal, refCode);
-      }
-    }
-
-    refCode = addLocalRef(ref);
-    var v = resolve.call(self, localCompile, root, ref);
-    if (v === undefined) {
-      var localSchema = localRefs && localRefs[ref];
-      if (localSchema) {
-        v = resolve.inlineRef(localSchema, opts.inlineRefs)
-            ? localSchema
-            : compile.call(self, localSchema, root, localRefs, baseId);
-      }
-    }
-
-    if (v === undefined) {
-      removeLocalRef(ref);
-    } else {
-      replaceLocalRef(ref, v);
-      return resolvedRef(v, refCode);
-    }
-  }
-
-  function addLocalRef(ref, v) {
-    var refId = refVal.length;
-    refVal[refId] = v;
-    refs[ref] = refId;
-    return 'refVal' + refId;
-  }
-
-  function removeLocalRef(ref) {
-    delete refs[ref];
-  }
-
-  function replaceLocalRef(ref, v) {
-    var refId = refs[ref];
-    refVal[refId] = v;
-  }
-
-  function resolvedRef(refVal, code) {
-    return typeof refVal == 'object' || typeof refVal == 'boolean'
-            ? { code: code, schema: refVal, inline: true }
-            : { code: code, $async: refVal && !!refVal.$async };
-  }
-
-  function usePattern(regexStr) {
-    var index = patternsHash[regexStr];
-    if (index === undefined) {
-      index = patternsHash[regexStr] = patterns.length;
-      patterns[index] = regexStr;
-    }
-    return 'pattern' + index;
-  }
-
-  function useDefault(value) {
-    switch (typeof value) {
-      case 'boolean':
-      case 'number':
-        return '' + value;
-      case 'string':
-        return util.toQuotedString(value);
-      case 'object':
-        if (value === null) return 'null';
-        var valueStr = stableStringify(value);
-        var index = defaultsHash[valueStr];
-        if (index === undefined) {
-          index = defaultsHash[valueStr] = defaults.length;
-          defaults[index] = value;
-        }
-        return 'default' + index;
-    }
-  }
-
-  function useCustomRule(rule, schema, parentSchema, it) {
-    if (self._opts.validateSchema !== false) {
-      var deps = rule.definition.dependencies;
-      if (deps && !deps.every(function(keyword) {
-        return Object.prototype.hasOwnProperty.call(parentSchema, keyword);
-      }))
-        throw new Error('parent schema must have all required keywords: ' + deps.join(','));
-
-      var validateSchema = rule.definition.validateSchema;
-      if (validateSchema) {
-        var valid = validateSchema(schema);
-        if (!valid) {
-          var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors);
-          if (self._opts.validateSchema == 'log') self.logger.error(message);
-          else throw new Error(message);
-        }
-      }
-    }
-
-    var compile = rule.definition.compile
-      , inline = rule.definition.inline
-      , macro = rule.definition.macro;
-
-    var validate;
-    if (compile) {
-      validate = compile.call(self, schema, parentSchema, it);
-    } else if (macro) {
-      validate = macro.call(self, schema, parentSchema, it);
-      if (opts.validateSchema !== false) self.validateSchema(validate, true);
-    } else if (inline) {
-      validate = inline.call(self, it, rule.keyword, schema, parentSchema);
-    } else {
-      validate = rule.definition.validate;
-      if (!validate) return;
-    }
-
-    if (validate === undefined)
-      throw new Error('custom keyword "' + rule.keyword + '"failed to compile');
-
-    var index = customRules.length;
-    customRules[index] = validate;
-
-    return {
-      code: 'customRule' + index,
-      validate: validate
-    };
-  }
-}
-
-
-/**
- * Checks if the schema is currently compiled
- * @this   Ajv
- * @param  {Object} schema schema to compile
- * @param  {Object} root root object
- * @param  {String} baseId base schema ID
- * @return {Object} object with properties "index" (compilation index) and "compiling" (boolean)
- */
-function checkCompiling(schema, root, baseId) {
-  /* jshint validthis: true */
-  var index = compIndex.call(this, schema, root, baseId);
-  if (index >= 0) return { index: index, compiling: true };
-  index = this._compilations.length;
-  this._compilations[index] = {
-    schema: schema,
-    root: root,
-    baseId: baseId
-  };
-  return { index: index, compiling: false };
-}
-
-
-/**
- * Removes the schema from the currently compiled list
- * @this   Ajv
- * @param  {Object} schema schema to compile
- * @param  {Object} root root object
- * @param  {String} baseId base schema ID
- */
-function endCompiling(schema, root, baseId) {
-  /* jshint validthis: true */
-  var i = compIndex.call(this, schema, root, baseId);
-  if (i >= 0) this._compilations.splice(i, 1);
-}
-
-
-/**
- * Index of schema compilation in the currently compiled list
- * @this   Ajv
- * @param  {Object} schema schema to compile
- * @param  {Object} root root object
- * @param  {String} baseId base schema ID
- * @return {Integer} compilation index
- */
-function compIndex(schema, root, baseId) {
-  /* jshint validthis: true */
-  for (var i=0; i<this._compilations.length; i++) {
-    var c = this._compilations[i];
-    if (c.schema == schema && c.root == root && c.baseId == baseId) return i;
-  }
-  return -1;
-}
-
-
-function patternCode(i, patterns) {
-  return 'var pattern' + i + ' = new RegExp(' + util.toQuotedString(patterns[i]) + ');';
-}
-
-
-function defaultCode(i) {
-  return 'var default' + i + ' = defaults[' + i + '];';
-}
-
-
-function refValCode(i, refVal) {
-  return refVal[i] === undefined ? '' : 'var refVal' + i + ' = refVal[' + i + '];';
-}
-
-
-function customRuleCode(i) {
-  return 'var customRule' + i + ' = customRules[' + i + '];';
-}
-
-
-function vars(arr, statement) {
-  if (!arr.length) return '';
-  var code = '';
-  for (var i=0; i<arr.length; i++)
-    code += statement(i, arr);
-  return code;
-}

+ 0 - 270
node_modules.bak/ajv/lib/compile/resolve.js

@@ -1,270 +0,0 @@
-'use strict';
-
-var URI = require('uri-js')
-  , equal = require('fast-deep-equal')
-  , util = require('./util')
-  , SchemaObject = require('./schema_obj')
-  , traverse = require('json-schema-traverse');
-
-module.exports = resolve;
-
-resolve.normalizeId = normalizeId;
-resolve.fullPath = getFullPath;
-resolve.url = resolveUrl;
-resolve.ids = resolveIds;
-resolve.inlineRef = inlineRef;
-resolve.schema = resolveSchema;
-
-/**
- * [resolve and compile the references ($ref)]
- * @this   Ajv
- * @param  {Function} compile reference to schema compilation funciton (localCompile)
- * @param  {Object} root object with information about the root schema for the current schema
- * @param  {String} ref reference to resolve
- * @return {Object|Function} schema object (if the schema can be inlined) or validation function
- */
-function resolve(compile, root, ref) {
-  /* jshint validthis: true */
-  var refVal = this._refs[ref];
-  if (typeof refVal == 'string') {
-    if (this._refs[refVal]) refVal = this._refs[refVal];
-    else return resolve.call(this, compile, root, refVal);
-  }
-
-  refVal = refVal || this._schemas[ref];
-  if (refVal instanceof SchemaObject) {
-    return inlineRef(refVal.schema, this._opts.inlineRefs)
-            ? refVal.schema
-            : refVal.validate || this._compile(refVal);
-  }
-
-  var res = resolveSchema.call(this, root, ref);
-  var schema, v, baseId;
-  if (res) {
-    schema = res.schema;
-    root = res.root;
-    baseId = res.baseId;
-  }
-
-  if (schema instanceof SchemaObject) {
-    v = schema.validate || compile.call(this, schema.schema, root, undefined, baseId);
-  } else if (schema !== undefined) {
-    v = inlineRef(schema, this._opts.inlineRefs)
-        ? schema
-        : compile.call(this, schema, root, undefined, baseId);
-  }
-
-  return v;
-}
-
-
-/**
- * Resolve schema, its root and baseId
- * @this Ajv
- * @param  {Object} root root object with properties schema, refVal, refs
- * @param  {String} ref  reference to resolve
- * @return {Object} object with properties schema, root, baseId
- */
-function resolveSchema(root, ref) {
-  /* jshint validthis: true */
-  var p = URI.parse(ref)
-    , refPath = _getFullPath(p)
-    , baseId = getFullPath(this._getId(root.schema));
-  if (Object.keys(root.schema).length === 0 || refPath !== baseId) {
-    var id = normalizeId(refPath);
-    var refVal = this._refs[id];
-    if (typeof refVal == 'string') {
-      return resolveRecursive.call(this, root, refVal, p);
-    } else if (refVal instanceof SchemaObject) {
-      if (!refVal.validate) this._compile(refVal);
-      root = refVal;
-    } else {
-      refVal = this._schemas[id];
-      if (refVal instanceof SchemaObject) {
-        if (!refVal.validate) this._compile(refVal);
-        if (id == normalizeId(ref))
-          return { schema: refVal, root: root, baseId: baseId };
-        root = refVal;
-      } else {
-        return;
-      }
-    }
-    if (!root.schema) return;
-    baseId = getFullPath(this._getId(root.schema));
-  }
-  return getJsonPointer.call(this, p, baseId, root.schema, root);
-}
-
-
-/* @this Ajv */
-function resolveRecursive(root, ref, parsedRef) {
-  /* jshint validthis: true */
-  var res = resolveSchema.call(this, root, ref);
-  if (res) {
-    var schema = res.schema;
-    var baseId = res.baseId;
-    root = res.root;
-    var id = this._getId(schema);
-    if (id) baseId = resolveUrl(baseId, id);
-    return getJsonPointer.call(this, parsedRef, baseId, schema, root);
-  }
-}
-
-
-var PREVENT_SCOPE_CHANGE = util.toHash(['properties', 'patternProperties', 'enum', 'dependencies', 'definitions']);
-/* @this Ajv */
-function getJsonPointer(parsedRef, baseId, schema, root) {
-  /* jshint validthis: true */
-  parsedRef.fragment = parsedRef.fragment || '';
-  if (parsedRef.fragment.slice(0,1) != '/') return;
-  var parts = parsedRef.fragment.split('/');
-
-  for (var i = 1; i < parts.length; i++) {
-    var part = parts[i];
-    if (part) {
-      part = util.unescapeFragment(part);
-      schema = schema[part];
-      if (schema === undefined) break;
-      var id;
-      if (!PREVENT_SCOPE_CHANGE[part]) {
-        id = this._getId(schema);
-        if (id) baseId = resolveUrl(baseId, id);
-        if (schema.$ref) {
-          var $ref = resolveUrl(baseId, schema.$ref);
-          var res = resolveSchema.call(this, root, $ref);
-          if (res) {
-            schema = res.schema;
-            root = res.root;
-            baseId = res.baseId;
-          }
-        }
-      }
-    }
-  }
-  if (schema !== undefined && schema !== root.schema)
-    return { schema: schema, root: root, baseId: baseId };
-}
-
-
-var SIMPLE_INLINED = util.toHash([
-  'type', 'format', 'pattern',
-  'maxLength', 'minLength',
-  'maxProperties', 'minProperties',
-  'maxItems', 'minItems',
-  'maximum', 'minimum',
-  'uniqueItems', 'multipleOf',
-  'required', 'enum'
-]);
-function inlineRef(schema, limit) {
-  if (limit === false) return false;
-  if (limit === undefined || limit === true) return checkNoRef(schema);
-  else if (limit) return countKeys(schema) <= limit;
-}
-
-
-function checkNoRef(schema) {
-  var item;
-  if (Array.isArray(schema)) {
-    for (var i=0; i<schema.length; i++) {
-      item = schema[i];
-      if (typeof item == 'object' && !checkNoRef(item)) return false;
-    }
-  } else {
-    for (var key in schema) {
-      if (key == '$ref') return false;
-      item = schema[key];
-      if (typeof item == 'object' && !checkNoRef(item)) return false;
-    }
-  }
-  return true;
-}
-
-
-function countKeys(schema) {
-  var count = 0, item;
-  if (Array.isArray(schema)) {
-    for (var i=0; i<schema.length; i++) {
-      item = schema[i];
-      if (typeof item == 'object') count += countKeys(item);
-      if (count == Infinity) return Infinity;
-    }
-  } else {
-    for (var key in schema) {
-      if (key == '$ref') return Infinity;
-      if (SIMPLE_INLINED[key]) {
-        count++;
-      } else {
-        item = schema[key];
-        if (typeof item == 'object') count += countKeys(item) + 1;
-        if (count == Infinity) return Infinity;
-      }
-    }
-  }
-  return count;
-}
-
-
-function getFullPath(id, normalize) {
-  if (normalize !== false) id = normalizeId(id);
-  var p = URI.parse(id);
-  return _getFullPath(p);
-}
-
-
-function _getFullPath(p) {
-  return URI.serialize(p).split('#')[0] + '#';
-}
-
-
-var TRAILING_SLASH_HASH = /#\/?$/;
-function normalizeId(id) {
-  return id ? id.replace(TRAILING_SLASH_HASH, '') : '';
-}
-
-
-function resolveUrl(baseId, id) {
-  id = normalizeId(id);
-  return URI.resolve(baseId, id);
-}
-
-
-/* @this Ajv */
-function resolveIds(schema) {
-  var schemaId = normalizeId(this._getId(schema));
-  var baseIds = {'': schemaId};
-  var fullPaths = {'': getFullPath(schemaId, false)};
-  var localRefs = {};
-  var self = this;
-
-  traverse(schema, {allKeys: true}, function(sch, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {
-    if (jsonPtr === '') return;
-    var id = self._getId(sch);
-    var baseId = baseIds[parentJsonPtr];
-    var fullPath = fullPaths[parentJsonPtr] + '/' + parentKeyword;
-    if (keyIndex !== undefined)
-      fullPath += '/' + (typeof keyIndex == 'number' ? keyIndex : util.escapeFragment(keyIndex));
-
-    if (typeof id == 'string') {
-      id = baseId = normalizeId(baseId ? URI.resolve(baseId, id) : id);
-
-      var refVal = self._refs[id];
-      if (typeof refVal == 'string') refVal = self._refs[refVal];
-      if (refVal && refVal.schema) {
-        if (!equal(sch, refVal.schema))
-          throw new Error('id "' + id + '" resolves to more than one schema');
-      } else if (id != normalizeId(fullPath)) {
-        if (id[0] == '#') {
-          if (localRefs[id] && !equal(sch, localRefs[id]))
-            throw new Error('id "' + id + '" resolves to more than one schema');
-          localRefs[id] = sch;
-        } else {
-          self._refs[id] = fullPath;
-        }
-      }
-    }
-    baseIds[jsonPtr] = baseId;
-    fullPaths[jsonPtr] = fullPath;
-  });
-
-  return localRefs;
-}

+ 0 - 66
node_modules.bak/ajv/lib/compile/rules.js

@@ -1,66 +0,0 @@
-'use strict';
-
-var ruleModules = require('../dotjs')
-  , toHash = require('./util').toHash;
-
-module.exports = function rules() {
-  var RULES = [
-    { type: 'number',
-      rules: [ { 'maximum': ['exclusiveMaximum'] },
-               { 'minimum': ['exclusiveMinimum'] }, 'multipleOf', 'format'] },
-    { type: 'string',
-      rules: [ 'maxLength', 'minLength', 'pattern', 'format' ] },
-    { type: 'array',
-      rules: [ 'maxItems', 'minItems', 'items', 'contains', 'uniqueItems' ] },
-    { type: 'object',
-      rules: [ 'maxProperties', 'minProperties', 'required', 'dependencies', 'propertyNames',
-               { 'properties': ['additionalProperties', 'patternProperties'] } ] },
-    { rules: [ '$ref', 'const', 'enum', 'not', 'anyOf', 'oneOf', 'allOf', 'if' ] }
-  ];
-
-  var ALL = [ 'type', '$comment' ];
-  var KEYWORDS = [
-    '$schema', '$id', 'id', '$data', '$async', 'title',
-    'description', 'default', 'definitions',
-    'examples', 'readOnly', 'writeOnly',
-    'contentMediaType', 'contentEncoding',
-    'additionalItems', 'then', 'else'
-  ];
-  var TYPES = [ 'number', 'integer', 'string', 'array', 'object', 'boolean', 'null' ];
-  RULES.all = toHash(ALL);
-  RULES.types = toHash(TYPES);
-
-  RULES.forEach(function (group) {
-    group.rules = group.rules.map(function (keyword) {
-      var implKeywords;
-      if (typeof keyword == 'object') {
-        var key = Object.keys(keyword)[0];
-        implKeywords = keyword[key];
-        keyword = key;
-        implKeywords.forEach(function (k) {
-          ALL.push(k);
-          RULES.all[k] = true;
-        });
-      }
-      ALL.push(keyword);
-      var rule = RULES.all[keyword] = {
-        keyword: keyword,
-        code: ruleModules[keyword],
-        implements: implKeywords
-      };
-      return rule;
-    });
-
-    RULES.all.$comment = {
-      keyword: '$comment',
-      code: ruleModules.$comment
-    };
-
-    if (group.type) RULES.types[group.type] = group;
-  });
-
-  RULES.keywords = toHash(ALL.concat(KEYWORDS));
-  RULES.custom = {};
-
-  return RULES;
-};

+ 0 - 9
node_modules.bak/ajv/lib/compile/schema_obj.js

@@ -1,9 +0,0 @@
-'use strict';
-
-var util = require('./util');
-
-module.exports = SchemaObject;
-
-function SchemaObject(obj) {
-  util.copy(obj, this);
-}

+ 0 - 20
node_modules.bak/ajv/lib/compile/ucs2length.js

@@ -1,20 +0,0 @@
-'use strict';
-
-// https://mathiasbynens.be/notes/javascript-encoding
-// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
-module.exports = function ucs2length(str) {
-  var length = 0
-    , len = str.length
-    , pos = 0
-    , value;
-  while (pos < len) {
-    length++;
-    value = str.charCodeAt(pos++);
-    if (value >= 0xD800 && value <= 0xDBFF && pos < len) {
-      // high surrogate, and there is a next character
-      value = str.charCodeAt(pos);
-      if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate
-    }
-  }
-  return length;
-};

+ 0 - 239
node_modules.bak/ajv/lib/compile/util.js

@@ -1,239 +0,0 @@
-'use strict';
-
-
-module.exports = {
-  copy: copy,
-  checkDataType: checkDataType,
-  checkDataTypes: checkDataTypes,
-  coerceToTypes: coerceToTypes,
-  toHash: toHash,
-  getProperty: getProperty,
-  escapeQuotes: escapeQuotes,
-  equal: require('fast-deep-equal'),
-  ucs2length: require('./ucs2length'),
-  varOccurences: varOccurences,
-  varReplace: varReplace,
-  schemaHasRules: schemaHasRules,
-  schemaHasRulesExcept: schemaHasRulesExcept,
-  schemaUnknownRules: schemaUnknownRules,
-  toQuotedString: toQuotedString,
-  getPathExpr: getPathExpr,
-  getPath: getPath,
-  getData: getData,
-  unescapeFragment: unescapeFragment,
-  unescapeJsonPointer: unescapeJsonPointer,
-  escapeFragment: escapeFragment,
-  escapeJsonPointer: escapeJsonPointer
-};
-
-
-function copy(o, to) {
-  to = to || {};
-  for (var key in o) to[key] = o[key];
-  return to;
-}
-
-
-function checkDataType(dataType, data, strictNumbers, negate) {
-  var EQUAL = negate ? ' !== ' : ' === '
-    , AND = negate ? ' || ' : ' && '
-    , OK = negate ? '!' : ''
-    , NOT = negate ? '' : '!';
-  switch (dataType) {
-    case 'null': return data + EQUAL + 'null';
-    case 'array': return OK + 'Array.isArray(' + data + ')';
-    case 'object': return '(' + OK + data + AND +
-                          'typeof ' + data + EQUAL + '"object"' + AND +
-                          NOT + 'Array.isArray(' + data + '))';
-    case 'integer': return '(typeof ' + data + EQUAL + '"number"' + AND +
-                           NOT + '(' + data + ' % 1)' +
-                           AND + data + EQUAL + data +
-                           (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')';
-    case 'number': return '(typeof ' + data + EQUAL + '"' + dataType + '"' +
-                          (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')';
-    default: return 'typeof ' + data + EQUAL + '"' + dataType + '"';
-  }
-}
-
-
-function checkDataTypes(dataTypes, data, strictNumbers) {
-  switch (dataTypes.length) {
-    case 1: return checkDataType(dataTypes[0], data, strictNumbers, true);
-    default:
-      var code = '';
-      var types = toHash(dataTypes);
-      if (types.array && types.object) {
-        code = types.null ? '(': '(!' + data + ' || ';
-        code += 'typeof ' + data + ' !== "object")';
-        delete types.null;
-        delete types.array;
-        delete types.object;
-      }
-      if (types.number) delete types.integer;
-      for (var t in types)
-        code += (code ? ' && ' : '' ) + checkDataType(t, data, strictNumbers, true);
-
-      return code;
-  }
-}
-
-
-var COERCE_TO_TYPES = toHash([ 'string', 'number', 'integer', 'boolean', 'null' ]);
-function coerceToTypes(optionCoerceTypes, dataTypes) {
-  if (Array.isArray(dataTypes)) {
-    var types = [];
-    for (var i=0; i<dataTypes.length; i++) {
-      var t = dataTypes[i];
-      if (COERCE_TO_TYPES[t]) types[types.length] = t;
-      else if (optionCoerceTypes === 'array' && t === 'array') types[types.length] = t;
-    }
-    if (types.length) return types;
-  } else if (COERCE_TO_TYPES[dataTypes]) {
-    return [dataTypes];
-  } else if (optionCoerceTypes === 'array' && dataTypes === 'array') {
-    return ['array'];
-  }
-}
-
-
-function toHash(arr) {
-  var hash = {};
-  for (var i=0; i<arr.length; i++) hash[arr[i]] = true;
-  return hash;
-}
-
-
-var IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
-var SINGLE_QUOTE = /'|\\/g;
-function getProperty(key) {
-  return typeof key == 'number'
-          ? '[' + key + ']'
-          : IDENTIFIER.test(key)
-            ? '.' + key
-            : "['" + escapeQuotes(key) + "']";
-}
-
-
-function escapeQuotes(str) {
-  return str.replace(SINGLE_QUOTE, '\\$&')
-            .replace(/\n/g, '\\n')
-            .replace(/\r/g, '\\r')
-            .replace(/\f/g, '\\f')
-            .replace(/\t/g, '\\t');
-}
-
-
-function varOccurences(str, dataVar) {
-  dataVar += '[^0-9]';
-  var matches = str.match(new RegExp(dataVar, 'g'));
-  return matches ? matches.length : 0;
-}
-
-
-function varReplace(str, dataVar, expr) {
-  dataVar += '([^0-9])';
-  expr = expr.replace(/\$/g, '$$$$');
-  return str.replace(new RegExp(dataVar, 'g'), expr + '$1');
-}
-
-
-function schemaHasRules(schema, rules) {
-  if (typeof schema == 'boolean') return !schema;
-  for (var key in schema) if (rules[key]) return true;
-}
-
-
-function schemaHasRulesExcept(schema, rules, exceptKeyword) {
-  if (typeof schema == 'boolean') return !schema && exceptKeyword != 'not';
-  for (var key in schema) if (key != exceptKeyword && rules[key]) return true;
-}
-
-
-function schemaUnknownRules(schema, rules) {
-  if (typeof schema == 'boolean') return;
-  for (var key in schema) if (!rules[key]) return key;
-}
-
-
-function toQuotedString(str) {
-  return '\'' + escapeQuotes(str) + '\'';
-}
-
-
-function getPathExpr(currentPath, expr, jsonPointers, isNumber) {
-  var path = jsonPointers // false by default
-              ? '\'/\' + ' + expr + (isNumber ? '' : '.replace(/~/g, \'~0\').replace(/\\//g, \'~1\')')
-              : (isNumber ? '\'[\' + ' + expr + ' + \']\'' : '\'[\\\'\' + ' + expr + ' + \'\\\']\'');
-  return joinPaths(currentPath, path);
-}
-
-
-function getPath(currentPath, prop, jsonPointers) {
-  var path = jsonPointers // false by default
-              ? toQuotedString('/' + escapeJsonPointer(prop))
-              : toQuotedString(getProperty(prop));
-  return joinPaths(currentPath, path);
-}
-
-
-var JSON_POINTER = /^\/(?:[^~]|~0|~1)*$/;
-var RELATIVE_JSON_POINTER = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
-function getData($data, lvl, paths) {
-  var up, jsonPointer, data, matches;
-  if ($data === '') return 'rootData';
-  if ($data[0] == '/') {
-    if (!JSON_POINTER.test($data)) throw new Error('Invalid JSON-pointer: ' + $data);
-    jsonPointer = $data;
-    data = 'rootData';
-  } else {
-    matches = $data.match(RELATIVE_JSON_POINTER);
-    if (!matches) throw new Error('Invalid JSON-pointer: ' + $data);
-    up = +matches[1];
-    jsonPointer = matches[2];
-    if (jsonPointer == '#') {
-      if (up >= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl);
-      return paths[lvl - up];
-    }
-
-    if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl);
-    data = 'data' + ((lvl - up) || '');
-    if (!jsonPointer) return data;
-  }
-
-  var expr = data;
-  var segments = jsonPointer.split('/');
-  for (var i=0; i<segments.length; i++) {
-    var segment = segments[i];
-    if (segment) {
-      data += getProperty(unescapeJsonPointer(segment));
-      expr += ' && ' + data;
-    }
-  }
-  return expr;
-}
-
-
-function joinPaths (a, b) {
-  if (a == '""') return b;
-  return (a + ' + ' + b).replace(/([^\\])' \+ '/g, '$1');
-}
-
-
-function unescapeFragment(str) {
-  return unescapeJsonPointer(decodeURIComponent(str));
-}
-
-
-function escapeFragment(str) {
-  return encodeURIComponent(escapeJsonPointer(str));
-}
-
-
-function escapeJsonPointer(str) {
-  return str.replace(/~/g, '~0').replace(/\//g, '~1');
-}
-
-
-function unescapeJsonPointer(str) {
-  return str.replace(/~1/g, '/').replace(/~0/g, '~');
-}

+ 0 - 49
node_modules.bak/ajv/lib/data.js

@@ -1,49 +0,0 @@
-'use strict';
-
-var KEYWORDS = [
-  'multipleOf',
-  'maximum',
-  'exclusiveMaximum',
-  'minimum',
-  'exclusiveMinimum',
-  'maxLength',
-  'minLength',
-  'pattern',
-  'additionalItems',
-  'maxItems',
-  'minItems',
-  'uniqueItems',
-  'maxProperties',
-  'minProperties',
-  'required',
-  'additionalProperties',
-  'enum',
-  'format',
-  'const'
-];
-
-module.exports = function (metaSchema, keywordsJsonPointers) {
-  for (var i=0; i<keywordsJsonPointers.length; i++) {
-    metaSchema = JSON.parse(JSON.stringify(metaSchema));
-    var segments = keywordsJsonPointers[i].split('/');
-    var keywords = metaSchema;
-    var j;
-    for (j=1; j<segments.length; j++)
-      keywords = keywords[segments[j]];
-
-    for (j=0; j<KEYWORDS.length; j++) {
-      var key = KEYWORDS[j];
-      var schema = keywords[key];
-      if (schema) {
-        keywords[key] = {
-          anyOf: [
-            schema,
-            { $ref: 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' }
-          ]
-        };
-      }
-    }
-  }
-
-  return metaSchema;
-};

+ 0 - 37
node_modules.bak/ajv/lib/definition_schema.js

@@ -1,37 +0,0 @@
-'use strict';
-
-var metaSchema = require('./refs/json-schema-draft-07.json');
-
-module.exports = {
-  $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js',
-  definitions: {
-    simpleTypes: metaSchema.definitions.simpleTypes
-  },
-  type: 'object',
-  dependencies: {
-    schema: ['validate'],
-    $data: ['validate'],
-    statements: ['inline'],
-    valid: {not: {required: ['macro']}}
-  },
-  properties: {
-    type: metaSchema.properties.type,
-    schema: {type: 'boolean'},
-    statements: {type: 'boolean'},
-    dependencies: {
-      type: 'array',
-      items: {type: 'string'}
-    },
-    metaSchema: {type: 'object'},
-    modifying: {type: 'boolean'},
-    valid: {type: 'boolean'},
-    $data: {type: 'boolean'},
-    async: {type: 'boolean'},
-    errors: {
-      anyOf: [
-        {type: 'boolean'},
-        {const: 'full'}
-      ]
-    }
-  }
-};

+ 0 - 113
node_modules.bak/ajv/lib/dot/_limit.jst

@@ -1,113 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{## def.setExclusiveLimit:
-  $exclusive = true;
-  $errorKeyword = $exclusiveKeyword;
-  $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;
-#}}
-
-{{
-  var $isMax = $keyword == 'maximum'
-    , $exclusiveKeyword = $isMax ? 'exclusiveMaximum' : 'exclusiveMinimum'
-    , $schemaExcl = it.schema[$exclusiveKeyword]
-    , $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data
-    , $op = $isMax ? '<' : '>'
-    , $notOp = $isMax ? '>' : '<'
-    , $errorKeyword = undefined;
-
-  if (!($isData || typeof $schema == 'number' || $schema === undefined)) {
-    throw new Error($keyword + ' must be number');
-  }
-  if (!($isDataExcl || $schemaExcl === undefined
-                    || typeof $schemaExcl == 'number'
-                    || typeof $schemaExcl == 'boolean')) {
-    throw new Error($exclusiveKeyword + ' must be number or boolean');
-  }
-}}
-
-{{? $isDataExcl }}
-  {{
-    var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr)
-      , $exclusive = 'exclusive' + $lvl
-      , $exclType = 'exclType' + $lvl
-      , $exclIsNumber = 'exclIsNumber' + $lvl
-      , $opExpr = 'op' + $lvl
-      , $opStr = '\' + ' + $opExpr + ' + \'';
-  }}
-  var schemaExcl{{=$lvl}} = {{=$schemaValueExcl}};
-  {{ $schemaValueExcl = 'schemaExcl' + $lvl; }}
-
-  var {{=$exclusive}};
-  var {{=$exclType}} = typeof {{=$schemaValueExcl}};
-  if ({{=$exclType}} != 'boolean' && {{=$exclType}} != 'undefined' && {{=$exclType}} != 'number') {
-    {{ var $errorKeyword = $exclusiveKeyword; }}
-    {{# def.error:'_exclusiveLimit' }}
-  } else if ({{# def.$dataNotType:'number' }}
-            {{=$exclType}} == 'number'
-              ? (
-                  ({{=$exclusive}} = {{=$schemaValue}} === undefined || {{=$schemaValueExcl}} {{=$op}}= {{=$schemaValue}})
-                    ? {{=$data}} {{=$notOp}}= {{=$schemaValueExcl}}
-                    : {{=$data}} {{=$notOp}} {{=$schemaValue}}
-                )
-              : (
-                  ({{=$exclusive}} = {{=$schemaValueExcl}} === true)
-                    ? {{=$data}} {{=$notOp}}= {{=$schemaValue}}
-                    : {{=$data}} {{=$notOp}} {{=$schemaValue}}
-                )
-            || {{=$data}} !== {{=$data}}) {
-    var op{{=$lvl}} = {{=$exclusive}} ? '{{=$op}}' : '{{=$op}}=';
-    {{
-      if ($schema === undefined) {
-        $errorKeyword = $exclusiveKeyword;
-        $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;
-        $schemaValue = $schemaValueExcl;
-        $isData = $isDataExcl;
-      }
-    }}
-{{??}}
-  {{
-    var $exclIsNumber = typeof $schemaExcl == 'number'
-      , $opStr = $op;  /*used in error*/
-  }}
-
-  {{? $exclIsNumber && $isData }}
-    {{ var $opExpr = '\'' + $opStr + '\''; /*used in error*/ }}
-    if ({{# def.$dataNotType:'number' }}
-        ( {{=$schemaValue}} === undefined
-          || {{=$schemaExcl}} {{=$op}}= {{=$schemaValue}}
-            ? {{=$data}} {{=$notOp}}= {{=$schemaExcl}}
-            : {{=$data}} {{=$notOp}} {{=$schemaValue}} )
-        || {{=$data}} !== {{=$data}}) {
-  {{??}}
-    {{
-      if ($exclIsNumber && $schema === undefined) {
-          {{# def.setExclusiveLimit }}
-          $schemaValue = $schemaExcl;
-          $notOp += '=';
-      } else {
-        if ($exclIsNumber)
-          $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema);
-
-        if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) {
-          {{# def.setExclusiveLimit }}
-          $notOp += '=';
-        } else {
-          $exclusive = false;
-          $opStr += '=';
-        }
-      }
-
-      var $opExpr = '\'' + $opStr + '\''; /*used in error*/
-    }}
-
-    if ({{# def.$dataNotType:'number' }}
-        {{=$data}} {{=$notOp}} {{=$schemaValue}}
-        || {{=$data}} !== {{=$data}}) {
-  {{?}}
-{{?}}
-    {{ $errorKeyword = $errorKeyword || $keyword; }}
-    {{# def.error:'_limit' }}
-  } {{? $breakOnError }} else { {{?}}

+ 0 - 12
node_modules.bak/ajv/lib/dot/_limitItems.jst

@@ -1,12 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{# def.numberKeyword }}
-
-{{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
-if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
-  {{ var $errorKeyword = $keyword; }}
-  {{# def.error:'_limitItems' }}
-} {{? $breakOnError }} else { {{?}}

+ 0 - 12
node_modules.bak/ajv/lib/dot/_limitLength.jst

@@ -1,12 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{# def.numberKeyword }}
-
-{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
-if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
-  {{ var $errorKeyword = $keyword; }}
-  {{# def.error:'_limitLength' }}
-} {{? $breakOnError }} else { {{?}}

+ 0 - 12
node_modules.bak/ajv/lib/dot/_limitProperties.jst

@@ -1,12 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{# def.numberKeyword }}
-
-{{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
-if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
-  {{ var $errorKeyword = $keyword; }}
-  {{# def.error:'_limitProperties' }}
-} {{? $breakOnError }} else { {{?}}

+ 0 - 32
node_modules.bak/ajv/lib/dot/allOf.jst

@@ -1,32 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-{{
-  var $currentBaseId = $it.baseId
-    , $allSchemasEmpty = true;
-}}
-
-{{~ $schema:$sch:$i }}
-  {{? {{# def.nonEmptySchema:$sch }} }}
-    {{
-      $allSchemasEmpty = false;
-      $it.schema = $sch;
-      $it.schemaPath = $schemaPath + '[' + $i + ']';
-      $it.errSchemaPath = $errSchemaPath + '/' + $i;
-    }}
-
-    {{# def.insertSubschemaCode }}
-
-    {{# def.ifResultValid }}
-  {{?}}
-{{~}}
-
-{{? $breakOnError }}
-  {{? $allSchemasEmpty }}
-    if (true) {
-  {{??}}
-    {{= $closingBraces.slice(0,-1) }}
-  {{?}}
-{{?}}

+ 0 - 46
node_modules.bak/ajv/lib/dot/anyOf.jst

@@ -1,46 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-{{
-  var $noEmptySchema = $schema.every(function($sch) {
-    return {{# def.nonEmptySchema:$sch }};
-  });
-}}
-{{? $noEmptySchema }}
-  {{ var $currentBaseId = $it.baseId; }}
-  var {{=$errs}} = errors;
-  var {{=$valid}} = false;
-
-  {{# def.setCompositeRule }}
-
-  {{~ $schema:$sch:$i }}
-    {{
-      $it.schema = $sch;
-      $it.schemaPath = $schemaPath + '[' + $i + ']';
-      $it.errSchemaPath = $errSchemaPath + '/' + $i;
-    }}
-
-    {{# def.insertSubschemaCode }}
-
-    {{=$valid}} = {{=$valid}} || {{=$nextValid}};
-
-    if (!{{=$valid}}) {
-    {{ $closingBraces += '}'; }}
-  {{~}}
-
-  {{# def.resetCompositeRule }}
-
-  {{= $closingBraces }}
-
-  if (!{{=$valid}}) {
-    {{# def.extraError:'anyOf' }}
-  } else {
-    {{# def.resetErrors }}
-  {{? it.opts.allErrors }} } {{?}}
-{{??}}
-  {{? $breakOnError }}
-    if (true) {
-  {{?}}
-{{?}}

+ 0 - 51
node_modules.bak/ajv/lib/dot/coerce.def

@@ -1,51 +0,0 @@
-{{## def.coerceType:
-  {{
-    var $dataType = 'dataType' + $lvl
-      , $coerced = 'coerced' + $lvl;
-  }}
-  var {{=$dataType}} = typeof {{=$data}};
-  var {{=$coerced}} = undefined;
-
-  {{? it.opts.coerceTypes == 'array' }}
-    if ({{=$dataType}} == 'object' && Array.isArray({{=$data}}) && {{=$data}}.length == 1) {
-      {{=$data}} = {{=$data}}[0];
-      {{=$dataType}} = typeof {{=$data}};
-      if ({{=it.util.checkDataType(it.schema.type, $data, it.opts.strictNumbers)}}) {{=$coerced}} = {{=$data}};
-    }
-  {{?}}
-
-  if ({{=$coerced}} !== undefined) ;
-  {{~ $coerceToTypes:$type:$i }}
-    {{? $type == 'string' }}
-      else if ({{=$dataType}} == 'number' || {{=$dataType}} == 'boolean')
-        {{=$coerced}} = '' + {{=$data}};
-      else if ({{=$data}} === null) {{=$coerced}} = '';
-    {{?? $type == 'number' || $type == 'integer' }}
-      else if ({{=$dataType}} == 'boolean' || {{=$data}} === null
-          || ({{=$dataType}} == 'string' && {{=$data}} && {{=$data}} == +{{=$data}}
-          {{? $type == 'integer' }} && !({{=$data}} % 1){{?}}))
-        {{=$coerced}} = +{{=$data}};
-    {{?? $type == 'boolean' }}
-      else if ({{=$data}} === 'false' || {{=$data}} === 0 || {{=$data}} === null)
-        {{=$coerced}} = false;
-      else if ({{=$data}} === 'true' || {{=$data}} === 1)
-        {{=$coerced}} = true;
-    {{?? $type == 'null' }}
-      else if ({{=$data}} === '' || {{=$data}} === 0 || {{=$data}} === false)
-        {{=$coerced}} = null;
-    {{?? it.opts.coerceTypes == 'array' && $type == 'array' }}
-      else if ({{=$dataType}} == 'string' || {{=$dataType}} == 'number' || {{=$dataType}} == 'boolean' || {{=$data}} == null)
-        {{=$coerced}} = [{{=$data}}];
-    {{?}}
-  {{~}}
-  else {
-    {{# def.error:'type' }}
-  }
-
-  if ({{=$coerced}} !== undefined) {
-    {{# def.setParentData }}
-    {{=$data}} = {{=$coerced}};
-    {{? !$dataLvl }}if ({{=$parentData}} !== undefined){{?}}
-      {{=$parentData}}[{{=$parentDataProperty}}] = {{=$coerced}};
-  }
-#}}

+ 0 - 9
node_modules.bak/ajv/lib/dot/comment.jst

@@ -1,9 +0,0 @@
-{{# def.definitions }}
-{{# def.setupKeyword }}
-
-{{ var $comment = it.util.toQuotedString($schema); }}
-{{? it.opts.$comment === true }}
-  console.log({{=$comment}});
-{{?? typeof it.opts.$comment == 'function' }}
-  self._opts.$comment({{=$comment}}, {{=it.util.toQuotedString($errSchemaPath)}}, validate.root.schema);
-{{?}}

+ 0 - 11
node_modules.bak/ajv/lib/dot/const.jst

@@ -1,11 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{? !$isData }}
-  var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
-{{?}}
-var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
-{{# def.checkError:'const' }}
-{{? $breakOnError }} else { {{?}}

+ 0 - 55
node_modules.bak/ajv/lib/dot/contains.jst

@@ -1,55 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-
-{{
-  var $idx = 'i' + $lvl
-    , $dataNxt = $it.dataLevel = it.dataLevel + 1
-    , $nextData = 'data' + $dataNxt
-    , $currentBaseId = it.baseId
-    , $nonEmptySchema = {{# def.nonEmptySchema:$schema }};
-}}
-
-var {{=$errs}} = errors;
-var {{=$valid}};
-
-{{? $nonEmptySchema }}
-  {{# def.setCompositeRule }}
-
-  {{
-    $it.schema = $schema;
-    $it.schemaPath = $schemaPath;
-    $it.errSchemaPath = $errSchemaPath;
-  }}
-
-  var {{=$nextValid}} = false;
-
-  for (var {{=$idx}} = 0; {{=$idx}} < {{=$data}}.length; {{=$idx}}++) {
-    {{
-      $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
-      var $passData = $data + '[' + $idx + ']';
-      $it.dataPathArr[$dataNxt] = $idx;
-    }}
-
-    {{# def.generateSubschemaCode }}
-    {{# def.optimizeValidate }}
-
-    if ({{=$nextValid}}) break;
-  }
-
-  {{# def.resetCompositeRule }}
-  {{= $closingBraces }}
-
-  if (!{{=$nextValid}}) {
-{{??}}
-  if ({{=$data}}.length == 0) {
-{{?}}
-
-    {{# def.error:'contains' }}
-  } else {
-    {{? $nonEmptySchema }}
-      {{# def.resetErrors }}
-    {{?}}
-  {{? it.opts.allErrors }} } {{?}}

+ 0 - 191
node_modules.bak/ajv/lib/dot/custom.jst

@@ -1,191 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{
-  var $rule = this
-    , $definition = 'definition' + $lvl
-    , $rDef = $rule.definition
-    , $closingBraces = '';
-  var $validate = $rDef.validate;
-  var $compile, $inline, $macro, $ruleValidate, $validateCode;
-}}
-
-{{? $isData && $rDef.$data }}
-  {{
-    $validateCode = 'keywordValidate' + $lvl;
-    var $validateSchema = $rDef.validateSchema;
-  }}
-  var {{=$definition}} = RULES.custom['{{=$keyword}}'].definition;
-  var {{=$validateCode}} = {{=$definition}}.validate;
-{{??}}
-  {{
-    $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);
-    if (!$ruleValidate) return;
-    $schemaValue = 'validate.schema' + $schemaPath;
-    $validateCode = $ruleValidate.code;
-    $compile = $rDef.compile;
-    $inline = $rDef.inline;
-    $macro = $rDef.macro;
-  }}
-{{?}}
-
-{{
-  var $ruleErrs = $validateCode + '.errors'
-    , $i = 'i' + $lvl
-    , $ruleErr = 'ruleErr' + $lvl
-    , $asyncKeyword = $rDef.async;
-
-  if ($asyncKeyword && !it.async)
-    throw new Error('async keyword in sync schema');
-}}
-
-
-{{? !($inline || $macro) }}{{=$ruleErrs}} = null;{{?}}
-var {{=$errs}} = errors;
-var {{=$valid}};
-
-{{## def.callRuleValidate:
-  {{=$validateCode}}.call(
-    {{? it.opts.passContext }}this{{??}}self{{?}}
-    {{? $compile || $rDef.schema === false }}
-      , {{=$data}}
-    {{??}}
-      , {{=$schemaValue}}
-      , {{=$data}}
-      , validate.schema{{=it.schemaPath}}
-    {{?}}
-    , {{# def.dataPath }}
-    {{# def.passParentData }}
-    , rootData
-  )
-#}}
-
-{{## def.extendErrors:_inline:
-  for (var {{=$i}}={{=$errs}}; {{=$i}}<errors; {{=$i}}++) {
-    var {{=$ruleErr}} = vErrors[{{=$i}}];
-    if ({{=$ruleErr}}.dataPath === undefined)
-      {{=$ruleErr}}.dataPath = (dataPath || '') + {{= it.errorPath }};
-    {{# _inline ? 'if (\{\{=$ruleErr\}\}.schemaPath === undefined) {' : '' }}
-      {{=$ruleErr}}.schemaPath = "{{=$errSchemaPath}}";
-    {{# _inline ? '}' : '' }}
-    {{? it.opts.verbose }}
-      {{=$ruleErr}}.schema = {{=$schemaValue}};
-      {{=$ruleErr}}.data = {{=$data}};
-    {{?}}
-  }
-#}}
-
-
-{{? $isData && $rDef.$data }}
-  {{ $closingBraces += '}'; }}
-  if ({{=$schemaValue}} === undefined) {
-    {{=$valid}} = true;
-  } else {
-  {{? $validateSchema }}
-    {{ $closingBraces += '}'; }}
-    {{=$valid}} = {{=$definition}}.validateSchema({{=$schemaValue}});
-    if ({{=$valid}}) {
-  {{?}}
-{{?}}
-
-{{? $inline }}
-  {{? $rDef.statements }}
-    {{= $ruleValidate.validate }}
-  {{??}}
-    {{=$valid}} = {{= $ruleValidate.validate }};
-  {{?}}
-{{?? $macro }}
-  {{# def.setupNextLevel }}
-  {{
-    $it.schema = $ruleValidate.validate;
-    $it.schemaPath = '';
-  }}
-  {{# def.setCompositeRule }}
-  {{ var $code = it.validate($it).replace(/validate\.schema/g, $validateCode); }}
-  {{# def.resetCompositeRule }}
-  {{= $code }}
-{{??}}
-  {{# def.beginDefOut}}
-    {{# def.callRuleValidate }}
-  {{# def.storeDefOut:def_callRuleValidate }}
-
-  {{? $rDef.errors === false }}
-    {{=$valid}} = {{? $asyncKeyword }}await {{?}}{{= def_callRuleValidate }};
-  {{??}}
-    {{? $asyncKeyword }}
-      {{ $ruleErrs = 'customErrors' + $lvl; }}
-      var {{=$ruleErrs}} = null;
-      try {
-        {{=$valid}} = await {{= def_callRuleValidate }};
-      } catch (e) {
-        {{=$valid}} = false;
-        if (e instanceof ValidationError) {{=$ruleErrs}} = e.errors;
-        else throw e;
-      }
-    {{??}}
-      {{=$ruleErrs}} = null;
-      {{=$valid}} = {{= def_callRuleValidate }};
-    {{?}}
-  {{?}}
-{{?}}
-
-{{? $rDef.modifying }}
-  if ({{=$parentData}}) {{=$data}} = {{=$parentData}}[{{=$parentDataProperty}}];
-{{?}}
-
-{{= $closingBraces }}
-
-{{## def.notValidationResult:
-  {{? $rDef.valid === undefined }}
-    !{{? $macro }}{{=$nextValid}}{{??}}{{=$valid}}{{?}}
-  {{??}}
-    {{= !$rDef.valid }}
-  {{?}}
-#}}
-
-{{? $rDef.valid }}
-  {{? $breakOnError }} if (true) { {{?}}
-{{??}}
-  if ({{# def.notValidationResult }}) {
-    {{ $errorKeyword = $rule.keyword; }}
-    {{# def.beginDefOut}}
-      {{# def.error:'custom' }}
-    {{# def.storeDefOut:def_customError }}
-
-    {{? $inline }}
-      {{? $rDef.errors }}
-        {{? $rDef.errors != 'full' }}
-          {{# def.extendErrors:true }}
-        {{?}}
-      {{??}}
-        {{? $rDef.errors === false}}
-          {{= def_customError }}
-        {{??}}
-          if ({{=$errs}} == errors) {
-            {{= def_customError }}
-          } else {
-            {{# def.extendErrors:true }}
-          }
-        {{?}}
-      {{?}}
-    {{?? $macro }}
-      {{# def.extraError:'custom' }}
-    {{??}}
-      {{? $rDef.errors === false}}
-        {{= def_customError }}
-      {{??}}
-        if (Array.isArray({{=$ruleErrs}})) {
-          if (vErrors === null) vErrors = {{=$ruleErrs}};
-          else vErrors = vErrors.concat({{=$ruleErrs}});
-          errors = vErrors.length;
-          {{# def.extendErrors:false }}
-        } else {
-          {{= def_customError }}
-        }
-      {{?}}
-    {{?}}
-
-  } {{? $breakOnError }} else { {{?}}
-{{?}}

+ 0 - 47
node_modules.bak/ajv/lib/dot/defaults.def

@@ -1,47 +0,0 @@
-{{## def.assignDefault:
-  {{? it.compositeRule }}
-    {{
-      if (it.opts.strictDefaults) {
-        var $defaultMsg = 'default is ignored for: ' + $passData;
-        if (it.opts.strictDefaults === 'log') it.logger.warn($defaultMsg);
-        else throw new Error($defaultMsg);
-      }
-    }}
-  {{??}}
-    if ({{=$passData}} === undefined
-      {{? it.opts.useDefaults == 'empty' }}
-        || {{=$passData}} === null
-        || {{=$passData}} === ''
-      {{?}}
-    )
-      {{=$passData}} = {{? it.opts.useDefaults == 'shared' }}
-                         {{= it.useDefault($sch.default) }}
-                       {{??}}
-                         {{= JSON.stringify($sch.default) }}
-                       {{?}};
-  {{?}}
-#}}
-
-
-{{## def.defaultProperties:
-  {{
-    var $schema = it.schema.properties
-      , $schemaKeys = Object.keys($schema); }}
-  {{~ $schemaKeys:$propertyKey }}
-    {{ var $sch = $schema[$propertyKey]; }}
-    {{? $sch.default !== undefined }}
-      {{ var $passData = $data + it.util.getProperty($propertyKey); }}
-      {{# def.assignDefault }}
-    {{?}}
-  {{~}}
-#}}
-
-
-{{## def.defaultItems:
-  {{~ it.schema.items:$sch:$i }}
-    {{? $sch.default !== undefined }}
-      {{ var $passData = $data + '[' + $i + ']'; }}
-      {{# def.assignDefault }}
-    {{?}}
-  {{~}}
-#}}

+ 0 - 203
node_modules.bak/ajv/lib/dot/definitions.def

@@ -1,203 +0,0 @@
-{{## def.setupKeyword:
-  {{
-    var $lvl = it.level;
-    var $dataLvl = it.dataLevel;
-    var $schema = it.schema[$keyword];
-    var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
-    var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
-    var $breakOnError = !it.opts.allErrors;
-    var $errorKeyword;
-
-    var $data = 'data' + ($dataLvl || '');
-    var $valid = 'valid' + $lvl;
-    var $errs = 'errs__' + $lvl;
-  }}
-#}}
-
-
-{{## def.setCompositeRule:
-  {{
-    var $wasComposite = it.compositeRule;
-    it.compositeRule = $it.compositeRule = true;
-  }}
-#}}
-
-
-{{## def.resetCompositeRule:
-  {{ it.compositeRule = $it.compositeRule = $wasComposite; }}
-#}}
-
-
-{{## def.setupNextLevel:
-  {{
-    var $it = it.util.copy(it);
-    var $closingBraces = '';
-    $it.level++;
-    var $nextValid = 'valid' + $it.level;
-  }}
-#}}
-
-
-{{## def.ifValid:
-  {{? $breakOnError }}
-    if ({{=$valid}}) {
-    {{ $closingBraces += '}'; }}
-  {{?}}
-#}}
-
-
-{{## def.ifResultValid:
-  {{? $breakOnError }}
-    if ({{=$nextValid}}) {
-    {{ $closingBraces += '}'; }}
-  {{?}}
-#}}
-
-
-{{## def.elseIfValid:
-  {{? $breakOnError }}
-    {{ $closingBraces += '}'; }}
-    else {
-  {{?}}
-#}}
-
-
-{{## def.nonEmptySchema:_schema:
-  (it.opts.strictKeywords
-    ? (typeof _schema == 'object' && Object.keys(_schema).length > 0)
-      || _schema === false
-    : it.util.schemaHasRules(_schema, it.RULES.all))
-#}}
-
-
-{{## def.strLength:
-  {{? it.opts.unicode === false }}
-    {{=$data}}.length
-  {{??}}
-    ucs2length({{=$data}})
-  {{?}}
-#}}
-
-
-{{## def.willOptimize:
-  it.util.varOccurences($code, $nextData) < 2
-#}}
-
-
-{{## def.generateSubschemaCode:
-  {{
-    var $code = it.validate($it);
-    $it.baseId = $currentBaseId;
-  }}
-#}}
-
-
-{{## def.insertSubschemaCode:
-  {{= it.validate($it) }}
-  {{ $it.baseId = $currentBaseId; }}
-#}}
-
-
-{{## def._optimizeValidate:
-  it.util.varReplace($code, $nextData, $passData)
-#}}
-
-
-{{## def.optimizeValidate:
-  {{? {{# def.willOptimize}} }}
-    {{= {{# def._optimizeValidate }} }}
-  {{??}}
-    var {{=$nextData}} = {{=$passData}};
-    {{= $code }}
-  {{?}}
-#}}
-
-
-{{## def.$data:
-  {{
-    var $isData = it.opts.$data && $schema && $schema.$data
-      , $schemaValue;
-  }}
-  {{? $isData }}
-    var schema{{=$lvl}} = {{= it.util.getData($schema.$data, $dataLvl, it.dataPathArr) }};
-    {{ $schemaValue = 'schema' + $lvl; }}
-  {{??}}
-    {{ $schemaValue = $schema; }}
-  {{?}}
-#}}
-
-
-{{## def.$dataNotType:_type:
-  {{?$isData}} ({{=$schemaValue}} !== undefined && typeof {{=$schemaValue}} != _type) || {{?}}
-#}}
-
-
-{{## def.check$dataIsArray:
-  if (schema{{=$lvl}} === undefined) {{=$valid}} = true;
-  else if (!Array.isArray(schema{{=$lvl}})) {{=$valid}} = false;
-  else {
-#}}
-
-
-{{## def.numberKeyword:
-  {{? !($isData || typeof $schema == 'number') }}
-    {{ throw new Error($keyword + ' must be number'); }}
-  {{?}}
-#}}
-
-
-{{## def.beginDefOut:
-  {{
-    var $$outStack = $$outStack || [];
-    $$outStack.push(out);
-    out = '';
-  }}
-#}}
-
-
-{{## def.storeDefOut:_variable:
-  {{
-    var _variable = out;
-    out = $$outStack.pop();
-  }}
-#}}
-
-
-{{## def.dataPath:(dataPath || ''){{? it.errorPath != '""'}} + {{= it.errorPath }}{{?}}#}}
-
-{{## def.setParentData:
-  {{
-    var $parentData = $dataLvl ? 'data' + (($dataLvl-1)||'') : 'parentData'
-      , $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';
-  }}
-#}}
-
-{{## def.passParentData:
-  {{# def.setParentData }}
-  , {{= $parentData }}
-  , {{= $parentDataProperty }}
-#}}
-
-
-{{## def.iterateProperties:
-  {{? $ownProperties }}
-    {{=$dataProperties}} = {{=$dataProperties}} || Object.keys({{=$data}});
-    for (var {{=$idx}}=0; {{=$idx}}<{{=$dataProperties}}.length; {{=$idx}}++) {
-      var {{=$key}} = {{=$dataProperties}}[{{=$idx}}];
-  {{??}}
-    for (var {{=$key}} in {{=$data}}) {
-  {{?}}
-#}}
-
-
-{{## def.noPropertyInData:
-  {{=$useData}} === undefined
-  {{? $ownProperties }}
-    || !{{# def.isOwnProperty }}
-  {{?}}
-#}}
-
-
-{{## def.isOwnProperty:
-  Object.prototype.hasOwnProperty.call({{=$data}}, '{{=it.util.escapeQuotes($propertyKey)}}')
-#}}

+ 0 - 79
node_modules.bak/ajv/lib/dot/dependencies.jst

@@ -1,79 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.missing }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-
-{{## def.propertyInData:
-  {{=$data}}{{= it.util.getProperty($property) }} !== undefined
-  {{? $ownProperties }}
-    && Object.prototype.hasOwnProperty.call({{=$data}}, '{{=it.util.escapeQuotes($property)}}')
-  {{?}}
-#}}
-
-
-{{
-  var $schemaDeps = {}
-    , $propertyDeps = {}
-    , $ownProperties = it.opts.ownProperties;
-
-  for ($property in $schema) {
-    if ($property == '__proto__') continue;
-    var $sch = $schema[$property];
-    var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;
-    $deps[$property] = $sch;
-  }
-}}
-
-var {{=$errs}} = errors;
-
-{{ var $currentErrorPath = it.errorPath; }}
-
-var missing{{=$lvl}};
-{{ for (var $property in $propertyDeps) { }}
-  {{ $deps = $propertyDeps[$property]; }}
-  {{? $deps.length }}
-    if ({{# def.propertyInData }}
-      {{? $breakOnError }}
-          && ({{# def.checkMissingProperty:$deps }})) {
-          {{# def.errorMissingProperty:'dependencies' }}
-      {{??}}
-        ) {
-          {{~ $deps:$propertyKey }}
-            {{# def.allErrorsMissingProperty:'dependencies' }}
-          {{~}}
-      {{?}}
-    } {{# def.elseIfValid }}
-  {{?}}
-{{ } }}
-
-{{
-  it.errorPath = $currentErrorPath;
-  var $currentBaseId = $it.baseId;
-}}
-
-
-{{ for (var $property in $schemaDeps) { }}
-  {{ var $sch = $schemaDeps[$property]; }}
-  {{? {{# def.nonEmptySchema:$sch }} }}
-    {{=$nextValid}} = true;
-
-    if ({{# def.propertyInData }}) {
-      {{ 
-        $it.schema = $sch;
-        $it.schemaPath = $schemaPath + it.util.getProperty($property);
-        $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);
-      }}
-
-      {{# def.insertSubschemaCode }}
-    }
-
-    {{# def.ifResultValid }}
-  {{?}}
-{{ } }}
-
-{{? $breakOnError }} 
-  {{= $closingBraces }}
-  if ({{=$errs}} == errors) {
-{{?}}

+ 0 - 30
node_modules.bak/ajv/lib/dot/enum.jst

@@ -1,30 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-{{
-  var $i = 'i' + $lvl
-    , $vSchema = 'schema' + $lvl;
-}}
-
-{{? !$isData }}
-  var {{=$vSchema}} = validate.schema{{=$schemaPath}};
-{{?}}
-var {{=$valid}};
-
-{{?$isData}}{{# def.check$dataIsArray }}{{?}}
-
-{{=$valid}} = false;
-
-for (var {{=$i}}=0; {{=$i}}<{{=$vSchema}}.length; {{=$i}}++)
-  if (equal({{=$data}}, {{=$vSchema}}[{{=$i}}])) {
-    {{=$valid}} = true;
-    break;
-  }
-
-{{? $isData }}  }  {{?}}
-
-{{# def.checkError:'enum' }}
-
-{{? $breakOnError }} else { {{?}}

+ 0 - 194
node_modules.bak/ajv/lib/dot/errors.def

@@ -1,194 +0,0 @@
-{{# def.definitions }}
-
-{{## def._error:_rule:
-  {{ 'istanbul ignore else'; }}
-  {{? it.createErrors !== false }}
-    {
-      keyword: '{{= $errorKeyword || _rule }}'
-      , dataPath: (dataPath || '') + {{= it.errorPath }}
-      , schemaPath: {{=it.util.toQuotedString($errSchemaPath)}}
-      , params: {{# def._errorParams[_rule] }}
-      {{? it.opts.messages !== false }}
-        , message: {{# def._errorMessages[_rule] }}
-      {{?}}
-      {{? it.opts.verbose }}
-        , schema: {{# def._errorSchemas[_rule] }}
-        , parentSchema: validate.schema{{=it.schemaPath}}
-        , data: {{=$data}}
-      {{?}}
-    }
-  {{??}}
-    {}
-  {{?}}
-#}}
-
-
-{{## def._addError:_rule:
-  if (vErrors === null) vErrors = [err];
-  else vErrors.push(err);
-  errors++;
-#}}
-
-
-{{## def.addError:_rule:
-  var err = {{# def._error:_rule }};
-  {{# def._addError:_rule }}
-#}}
-
-
-{{## def.error:_rule:
-  {{# def.beginDefOut}}
-    {{# def._error:_rule }}
-  {{# def.storeDefOut:__err }}
-
-  {{? !it.compositeRule && $breakOnError }}
-    {{ 'istanbul ignore if'; }}
-    {{? it.async }}
-      throw new ValidationError([{{=__err}}]);
-    {{??}}
-      validate.errors = [{{=__err}}];
-      return false;
-    {{?}}
-  {{??}}
-    var err = {{=__err}};
-    {{# def._addError:_rule }}
-  {{?}}
-#}}
-
-
-{{## def.extraError:_rule:
-  {{# def.addError:_rule}}
-  {{? !it.compositeRule && $breakOnError }}
-    {{ 'istanbul ignore if'; }}
-    {{? it.async }}
-      throw new ValidationError(vErrors);
-    {{??}}
-      validate.errors = vErrors;
-      return false;
-    {{?}}
-  {{?}}
-#}}
-
-
-{{## def.checkError:_rule:
-  if (!{{=$valid}}) {
-    {{# def.error:_rule }}
-  }
-#}}
-
-
-{{## def.resetErrors:
-  errors = {{=$errs}};
-  if (vErrors !== null) {
-    if ({{=$errs}}) vErrors.length = {{=$errs}};
-    else vErrors = null;
-  }
-#}}
-
-
-{{## def.concatSchema:{{?$isData}}' + {{=$schemaValue}} + '{{??}}{{=$schema}}{{?}}#}}
-{{## def.appendSchema:{{?$isData}}' + {{=$schemaValue}}{{??}}{{=$schemaValue}}'{{?}}#}}
-{{## def.concatSchemaEQ:{{?$isData}}' + {{=$schemaValue}} + '{{??}}{{=it.util.escapeQuotes($schema)}}{{?}}#}}
-
-{{## def._errorMessages = {
-  'false schema':  "'boolean schema is false'",
-  $ref:            "'can\\\'t resolve reference {{=it.util.escapeQuotes($schema)}}'",
-  additionalItems: "'should NOT have more than {{=$schema.length}} items'",
-  additionalProperties: "'{{? it.opts._errorDataPathProperty }}is an invalid additional property{{??}}should NOT have additional properties{{?}}'",
-  anyOf:           "'should match some schema in anyOf'",
-  const:           "'should be equal to constant'",
-  contains:        "'should contain a valid item'",
-  dependencies:    "'should have {{? $deps.length == 1 }}property {{= it.util.escapeQuotes($deps[0]) }}{{??}}properties {{= it.util.escapeQuotes($deps.join(\", \")) }}{{?}} when property {{= it.util.escapeQuotes($property) }} is present'",
-  'enum':          "'should be equal to one of the allowed values'",
-  format:          "'should match format \"{{#def.concatSchemaEQ}}\"'",
-  'if':            "'should match \"' + {{=$ifClause}} + '\" schema'",
-  _limit:          "'should be {{=$opStr}} {{#def.appendSchema}}",
-  _exclusiveLimit: "'{{=$exclusiveKeyword}} should be boolean'",
-  _limitItems:     "'should NOT have {{?$keyword=='maxItems'}}more{{??}}fewer{{?}} than {{#def.concatSchema}} items'",
-  _limitLength:    "'should NOT be {{?$keyword=='maxLength'}}longer{{??}}shorter{{?}} than {{#def.concatSchema}} characters'",
-  _limitProperties:"'should NOT have {{?$keyword=='maxProperties'}}more{{??}}fewer{{?}} than {{#def.concatSchema}} properties'",
-  multipleOf:      "'should be multiple of {{#def.appendSchema}}",
-  not:             "'should NOT be valid'",
-  oneOf:           "'should match exactly one schema in oneOf'",
-  pattern:         "'should match pattern \"{{#def.concatSchemaEQ}}\"'",
-  propertyNames:   "'property name \\'{{=$invalidName}}\\' is invalid'",
-  required:        "'{{? it.opts._errorDataPathProperty }}is a required property{{??}}should have required property \\'{{=$missingProperty}}\\'{{?}}'",
-  type:            "'should be {{? $typeIsArray }}{{= $typeSchema.join(\",\") }}{{??}}{{=$typeSchema}}{{?}}'",
-  uniqueItems:     "'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)'",
-  custom:          "'should pass \"{{=$rule.keyword}}\" keyword validation'",
-  patternRequired: "'should have property matching pattern \\'{{=$missingPattern}}\\''",
-  switch:          "'should pass \"switch\" keyword validation'",
-  _formatLimit:    "'should be {{=$opStr}} \"{{#def.concatSchemaEQ}}\"'",
-  _formatExclusiveLimit: "'{{=$exclusiveKeyword}} should be boolean'"
-} #}}
-
-
-{{## def.schemaRefOrVal: {{?$isData}}validate.schema{{=$schemaPath}}{{??}}{{=$schema}}{{?}} #}}
-{{## def.schemaRefOrQS: {{?$isData}}validate.schema{{=$schemaPath}}{{??}}{{=it.util.toQuotedString($schema)}}{{?}} #}}
-
-{{## def._errorSchemas = {
-  'false schema':  "false",
-  $ref:            "{{=it.util.toQuotedString($schema)}}",
-  additionalItems: "false",
-  additionalProperties: "false",
-  anyOf:           "validate.schema{{=$schemaPath}}",
-  const:           "validate.schema{{=$schemaPath}}",
-  contains:        "validate.schema{{=$schemaPath}}",
-  dependencies:    "validate.schema{{=$schemaPath}}",
-  'enum':          "validate.schema{{=$schemaPath}}",
-  format:          "{{#def.schemaRefOrQS}}",
-  'if':            "validate.schema{{=$schemaPath}}",
-  _limit:          "{{#def.schemaRefOrVal}}",
-  _exclusiveLimit: "validate.schema{{=$schemaPath}}",
-  _limitItems:     "{{#def.schemaRefOrVal}}",
-  _limitLength:    "{{#def.schemaRefOrVal}}",
-  _limitProperties:"{{#def.schemaRefOrVal}}",
-  multipleOf:      "{{#def.schemaRefOrVal}}",
-  not:             "validate.schema{{=$schemaPath}}",
-  oneOf:           "validate.schema{{=$schemaPath}}",
-  pattern:         "{{#def.schemaRefOrQS}}",
-  propertyNames:   "validate.schema{{=$schemaPath}}",
-  required:        "validate.schema{{=$schemaPath}}",
-  type:            "validate.schema{{=$schemaPath}}",
-  uniqueItems:     "{{#def.schemaRefOrVal}}",
-  custom:          "validate.schema{{=$schemaPath}}",
-  patternRequired: "validate.schema{{=$schemaPath}}",
-  switch:          "validate.schema{{=$schemaPath}}",
-  _formatLimit:    "{{#def.schemaRefOrQS}}",
-  _formatExclusiveLimit: "validate.schema{{=$schemaPath}}"
-} #}}
-
-
-{{## def.schemaValueQS: {{?$isData}}{{=$schemaValue}}{{??}}{{=it.util.toQuotedString($schema)}}{{?}} #}}
-
-{{## def._errorParams = {
-  'false schema':  "{}",
-  $ref:            "{ ref: '{{=it.util.escapeQuotes($schema)}}' }",
-  additionalItems: "{ limit: {{=$schema.length}} }",
-  additionalProperties: "{ additionalProperty: '{{=$additionalProperty}}' }",
-  anyOf:           "{}",
-  const:           "{ allowedValue: schema{{=$lvl}} }",
-  contains:        "{}",
-  dependencies:    "{ property: '{{= it.util.escapeQuotes($property) }}', missingProperty: '{{=$missingProperty}}', depsCount: {{=$deps.length}}, deps: '{{= it.util.escapeQuotes($deps.length==1 ? $deps[0] : $deps.join(\", \")) }}' }",
-  'enum':          "{ allowedValues: schema{{=$lvl}} }",
-  format:          "{ format: {{#def.schemaValueQS}} }",
-  'if':            "{ failingKeyword: {{=$ifClause}} }",
-  _limit:          "{ comparison: {{=$opExpr}}, limit: {{=$schemaValue}}, exclusive: {{=$exclusive}} }",
-  _exclusiveLimit: "{}",
-  _limitItems:     "{ limit: {{=$schemaValue}} }",
-  _limitLength:    "{ limit: {{=$schemaValue}} }",
-  _limitProperties:"{ limit: {{=$schemaValue}} }",
-  multipleOf:      "{ multipleOf: {{=$schemaValue}} }",
-  not:             "{}",
-  oneOf:           "{ passingSchemas: {{=$passingSchemas}} }",
-  pattern:         "{ pattern: {{#def.schemaValueQS}} }",
-  propertyNames:   "{ propertyName: '{{=$invalidName}}' }",
-  required:        "{ missingProperty: '{{=$missingProperty}}' }",
-  type:            "{ type: '{{? $typeIsArray }}{{= $typeSchema.join(\",\") }}{{??}}{{=$typeSchema}}{{?}}' }",
-  uniqueItems:     "{ i: i, j: j }",
-  custom:          "{ keyword: '{{=$rule.keyword}}' }",
-  patternRequired: "{ missingPattern: '{{=$missingPattern}}' }",
-  switch:          "{ caseIndex: {{=$caseIndex}} }",
-  _formatLimit:    "{ comparison: {{=$opExpr}}, limit: {{#def.schemaValueQS}}, exclusive: {{=$exclusive}} }",
-  _formatExclusiveLimit: "{}"
-} #}}

+ 0 - 106
node_modules.bak/ajv/lib/dot/format.jst

@@ -1,106 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-
-{{## def.skipFormat:
-  {{? $breakOnError }} if (true) { {{?}}
-  {{ return out; }}
-#}}
-
-{{? it.opts.format === false }}{{# def.skipFormat }}{{?}}
-
-
-{{# def.$data }}
-
-
-{{## def.$dataCheckFormat:
-  {{# def.$dataNotType:'string' }}
-  ({{? $unknownFormats != 'ignore' }}
-     ({{=$schemaValue}} && !{{=$format}}
-      {{? $allowUnknown }}
-        && self._opts.unknownFormats.indexOf({{=$schemaValue}}) == -1
-      {{?}}) ||
-   {{?}}
-   ({{=$format}} && {{=$formatType}} == '{{=$ruleType}}'
-                 && !(typeof {{=$format}} == 'function'
-                     ? {{? it.async}}
-                        (async{{=$lvl}} ? await {{=$format}}({{=$data}}) : {{=$format}}({{=$data}}))
-                       {{??}}
-                        {{=$format}}({{=$data}})
-                       {{?}}
-                     : {{=$format}}.test({{=$data}}))))
-#}}
-
-{{## def.checkFormat:
-  {{
-    var $formatRef = 'formats' + it.util.getProperty($schema);
-    if ($isObject) $formatRef += '.validate';
-  }}
-  {{? typeof $format == 'function' }}
-    {{=$formatRef}}({{=$data}})
-  {{??}}
-    {{=$formatRef}}.test({{=$data}})
-  {{?}}
-#}}
-
-
-{{
-  var $unknownFormats = it.opts.unknownFormats
-    , $allowUnknown = Array.isArray($unknownFormats);
-}}
-
-{{? $isData }}
-  {{
-    var $format = 'format' + $lvl
-      , $isObject = 'isObject' + $lvl
-      , $formatType = 'formatType' + $lvl;
-  }}
-  var {{=$format}} = formats[{{=$schemaValue}}];
-  var {{=$isObject}} = typeof {{=$format}} == 'object'
-                        && !({{=$format}} instanceof RegExp)
-                        && {{=$format}}.validate;
-  var {{=$formatType}} = {{=$isObject}} && {{=$format}}.type || 'string';
-  if ({{=$isObject}}) {
-    {{? it.async}}
-      var async{{=$lvl}} = {{=$format}}.async;
-    {{?}}
-    {{=$format}} = {{=$format}}.validate;
-  }
-  if ({{# def.$dataCheckFormat }}) {
-{{??}}
-  {{ var $format = it.formats[$schema]; }}
-  {{? !$format }}
-    {{? $unknownFormats == 'ignore' }}
-      {{ it.logger.warn('unknown format "' + $schema + '" ignored in schema at path "' + it.errSchemaPath + '"'); }}
-      {{# def.skipFormat }}
-    {{?? $allowUnknown && $unknownFormats.indexOf($schema) >= 0 }}
-      {{# def.skipFormat }}
-    {{??}}
-      {{ throw new Error('unknown format "' + $schema + '" is used in schema at path "' + it.errSchemaPath + '"'); }}
-    {{?}}
-  {{?}}
-  {{
-    var $isObject = typeof $format == 'object'
-                    && !($format instanceof RegExp)
-                    && $format.validate;
-    var $formatType = $isObject && $format.type || 'string';
-    if ($isObject) {
-      var $async = $format.async === true;
-      $format = $format.validate;
-    }
-  }}
-  {{? $formatType != $ruleType }}
-    {{# def.skipFormat }}
-  {{?}}
-  {{? $async }}
-    {{
-      if (!it.async) throw new Error('async format in sync schema');
-      var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';
-    }}
-    if (!(await {{=$formatRef}}({{=$data}}))) {
-  {{??}}
-    if (!{{# def.checkFormat }}) {
-  {{?}}
-{{?}}
-    {{# def.error:'format' }}
-  } {{? $breakOnError }} else { {{?}}

+ 0 - 0
node_modules.bak/ajv/lib/dot/if.jst


Some files were not shown because too many files changed in this diff