@contentpilot/sticky-navigation 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,25 +2,33 @@ name: Publish NPM Package
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - master
5
+ - main
6
6
  jobs:
7
7
  npm-publish:
8
8
  name: Publish
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - name: Checkout repository
12
- uses: actions/checkout@master
12
+ uses: actions/checkout@main
13
13
  - name: Set up Node.js
14
- uses: actions/setup-node@v1
14
+ uses: actions/setup-node@v4
15
15
  with:
16
- node-version: '10.x'
16
+ node-version: '20.x'
17
17
  registry-url: 'https://registry.npmjs.org'
18
- - name: Publish if version has been updated
19
- uses: pascalgn/npm-publish-action@1.3.3
20
- with: # All of theses inputs are optional
21
- tag_name: '%s'
22
- commit_pattern: "^Release (\\S+)"
23
- workspace: '.'
24
- env: # More info about the environment variables in the README
25
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
26
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
18
+ - name: Check Commit Message
19
+ id: check_commit
20
+ run: |
21
+ COMMIT_MSG=$(git log -1 --pretty=%B)
22
+ PATTERN="^Release (\\S+)"
23
+ if [[ "$COMMIT_MSG" =~ $PATTERN ]]; then
24
+ echo "MATCHED=true" >> $GITHUB_ENV
25
+ echo "TAG_NAME=${BASH_REMATCH[1]}" >> $GITHUB_ENV
26
+ else
27
+ echo "MATCHED=false" >> $GITHUB_ENV
28
+ fi
29
+ - name: Publish to NPM
30
+ if: env.MATCHED == 'true'
31
+ run: npm publish --access public
32
+ env:
33
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 20
package/README.md CHANGED
@@ -22,7 +22,7 @@ The options parameter is optional.
22
22
 
23
23
  #### clause: String
24
24
 
25
- Clause element selector. The script will not run if this element does not exist. Default is `.sticky-navigation`. Use syntaxis of `querySelector`
25
+ Clause element selector. The script will not run if this element does not exist. Default is `.sticky-navigation`. Use syntax of `querySelector`
26
26
 
27
27
  ```
28
28
  const options = {
@@ -32,7 +32,7 @@ const options = {
32
32
 
33
33
  #### identifiers: String
34
34
 
35
- Selector of elements to which the ID attribute will be added. Default is `h2, h3, h4, h5, h6`. Use syntaxis of `querySelectorAll`
35
+ Selector of elements to which the ID attribute will be added. Default is `h2, h3, h4, h5, h6`. Use syntax of `querySelectorAll`
36
36
 
37
37
  ```
38
38
  const options = {
@@ -42,7 +42,7 @@ const options = {
42
42
 
43
43
  #### interceptors: String
44
44
 
45
- Selector of elements that when intercepted will add the active class in the anchors that have that destination. Default is `h2[id], h3[id], h4[id], h5[id], h6[id]`. Use syntaxis of `querySelectorAll`
45
+ Selector of elements that when intercepted will add the active class in the anchors that have that destination. Default is `h2[id], h3[id], h4[id], h5[id], h6[id]`. Use syntax of `querySelectorAll`
46
46
 
47
47
  ```
48
48
  const options = {
@@ -52,7 +52,7 @@ const options = {
52
52
 
53
53
  #### offsetAnchor: Number
54
54
 
55
- Offset distance when scrolling. Useful when using a fixed header. Default is `0`.
55
+ Offset distance when scrolling. Useful when using a fixed header. Default is `0`. Ignored if offsetElement was defined.
56
56
 
57
57
  ```
58
58
  const options = {
@@ -60,6 +60,16 @@ const options = {
60
60
  };
61
61
  ```
62
62
 
63
+ #### offsetElement: String
64
+
65
+ Element selector to calculate offset dynamically. Useful when the offset varies according to an element that is not always present. Default is `empty`.
66
+
67
+ ```
68
+ const options = {
69
+ offsetElement: ''
70
+ };
71
+ ```
72
+
63
73
  #### inactiveUpperZone: Number
64
74
 
65
75
  Distance in pixels from the top where items are not activated. Useful when you have a fixed header, you scrolls up and you don't want to activate the element while it is behind the header. Default is `0`.
@@ -86,4 +96,4 @@ To update this repository on NPM using the GitHub action,
86
96
 
87
97
  1. Bump the version number in `package.json`
88
98
  2. Follow the pattern on your commit message `Release x.x.x`
89
- 3. Push to `master` branch to `origin`
99
+ 3. Push to `main` branch to `origin`
package/index.js CHANGED
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * Add identifiers and activate the anchors that have these identifier
3
3
  * and are intercepted with the scroll. It needs the proper markup.
4
- *
5
- * @version 1.5.0
4
+ * @version 1.7.0
6
5
  * @package
7
6
  * @author Content Pilot, Dallas, Texas
8
7
  * @copyright Copyright © 2018 Content Pilot
@@ -10,12 +9,11 @@
10
9
 
11
10
  /**
12
11
  * Initialize the function and execute the methods.
13
- *
14
12
  * @param {Array | undefined} options Custom options object
15
13
  */
16
14
  exports.init = function (options) {
17
15
  var polyfillURL =
18
- 'https://polyfill.io/v3/polyfill.min.js?features=NodeList.prototype.forEach,IntersectionObserver,smoothscroll';
16
+ 'https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=NodeList.prototype.forEach,IntersectionObserver,smoothscroll';
19
17
 
20
18
  if (_isInternetExplorer()) {
21
19
  /**
@@ -33,7 +31,6 @@ exports.init = function (options) {
33
31
 
34
32
  /**
35
33
  * Check if the current browser is Internet Explorer.
36
- *
37
34
  * @returns {boolean} - True if is IE
38
35
  */
39
36
  function _isInternetExplorer() {
@@ -45,7 +42,6 @@ function _isInternetExplorer() {
45
42
 
46
43
  /**
47
44
  * Load the script and add it in the header and then start the functions.
48
- *
49
45
  * @param {string} src - Script source
50
46
  * @param {Array | undefined} options Custom options object
51
47
  */
@@ -65,7 +61,6 @@ function _loadScript(src, options) {
65
61
 
66
62
  /**
67
63
  * Call stack once browser support was verified.
68
- *
69
64
  * @param {Array | undefined} options Custom options object
70
65
  */
71
66
  function _callStack(options) {
@@ -73,7 +68,7 @@ function _callStack(options) {
73
68
  options = _applyRemainingDefaultOptions(options);
74
69
 
75
70
  if (null !== document.querySelector(options.clause)) {
76
- _addScrollBehaivor(options.offsetAnchor);
71
+ _addScrollBehavior(options.offsetAnchor, options.offsetElement);
77
72
 
78
73
  const elements = _getElements(options.identifiers);
79
74
 
@@ -92,7 +87,6 @@ function _callStack(options) {
92
87
 
93
88
  /**
94
89
  * Assigns options to the internal options object, and provides defaults.
95
- *
96
90
  * @param {object} opts - Options object
97
91
  * @returns {object} - Full options object
98
92
  */
@@ -109,6 +103,9 @@ function _applyRemainingDefaultOptions(opts) {
109
103
  opts.offsetAnchor = opts.hasOwnProperty('offsetAnchor')
110
104
  ? opts.offsetAnchor
111
105
  : 0;
106
+ opts.offsetElement = opts.hasOwnProperty('offsetElement')
107
+ ? opts.offsetElement
108
+ : '';
112
109
  opts.inactiveUpperZone = opts.hasOwnProperty('inactiveUpperZone')
113
110
  ? opts.inactiveUpperZone
114
111
  : 0;
@@ -121,7 +118,6 @@ function _applyRemainingDefaultOptions(opts) {
121
118
 
122
119
  /**
123
120
  * Add the ID attribute to each of the elements.
124
- *
125
121
  * @param {Array} elements - Array containing the elements.
126
122
  */
127
123
  function _addIdentifiers(elements) {
@@ -163,7 +159,6 @@ function _addIdentifiers(elements) {
163
159
  /**
164
160
  * Turns a selector, nodeList, or array of elements into an array of elements (so we can use array methods).
165
161
  * It also throws errors on any other inputs. Used to handle inputs to .add and .remove.
166
- *
167
162
  * @param {string | Array } input - A CSS selector string targeting elements with anchor links,
168
163
  * OR a nodeList / array containing the DOM elements.
169
164
  * @returns {Array} - An array containing the elements we want.
@@ -182,12 +177,31 @@ function _getElements(input) {
182
177
  return elements;
183
178
  }
184
179
 
180
+ /**
181
+ * Get the element full height including margins.
182
+ * @param {string} selector - A CSS selector string.
183
+ * @returns {number} - The element height including margins.
184
+ */
185
+ function _getElementFullHeight(selector) {
186
+ const element = document.querySelector(selector);
187
+
188
+ if (!element) {
189
+ return 0;
190
+ }
191
+
192
+ const height = element.offsetHeight;
193
+ const styles = window.getComputedStyle(element);
194
+ const margin = parseInt(styles.getPropertyValue('margin-top')) + parseInt(styles.getPropertyValue('margin-bottom'));
195
+
196
+ return (height + margin);
197
+ }
198
+
185
199
  /**
186
200
  * Add smooth scroll behavior to the proper anchor.
187
- *
188
- * @param {number} offset - Offset distance when scrolling.
201
+ * @param {number} offsetFixed - Offset distance when scrolling.
202
+ * @param {string} offsetElement - The element to calculate the offset from.
189
203
  */
190
- function _addScrollBehaivor(offset) {
204
+ function _addScrollBehavior(offsetFixed, offsetElement) {
191
205
  document.querySelectorAll('a[href^="#"]').forEach(function (anchor) {
192
206
  anchor.addEventListener('click', function (e) {
193
207
  e.preventDefault();
@@ -198,6 +212,9 @@ function _addScrollBehaivor(offset) {
198
212
  // Position of element relative to screen + Window scrolling position.
199
213
  const top = rect.top + window.scrollY;
200
214
 
215
+ // Fixed offset or offset element height including margins.
216
+ const offset = offsetElement ? _getElementFullHeight(offsetElement) : offsetFixed;
217
+
201
218
  window.location.hash = id;
202
219
 
203
220
  window.scroll({
@@ -214,7 +231,6 @@ function _addScrollBehaivor(offset) {
214
231
  *
215
232
  * To do this, we remove apostrophes, replace non-safe characters with hyphens,
216
233
  * remove extra hyphens, truncate, trim hyphens, and make lowercase.
217
- *
218
234
  * @param {string} text - Any text. Pulled from the webpage element we are linking to.
219
235
  * @returns {string} - hyphen-delimited text for use in IDs and URLs.
220
236
  */
@@ -238,7 +254,6 @@ function _urlify(text) {
238
254
 
239
255
  /**
240
256
  * Watch at the intersection with the elements and add or remove the active class.
241
- *
242
257
  * @param {string} observables - Observable elements selector.
243
258
  * @param {string} inactiveUpperZone - Distance in pixels from the top where items are not activated.
244
259
  * @param {string} interceptionPercentage - Distance in percentage from the top for the items to activate.
@@ -279,7 +294,6 @@ function _addIntersectionObserver(
279
294
 
280
295
  /**
281
296
  * Removes the active class from all elements and adds it to the current node.
282
- *
283
297
  * @param {object} node - Current node.
284
298
  */
285
299
  function _addActiveClass(node) {
@@ -298,7 +312,6 @@ function _addActiveClass(node) {
298
312
 
299
313
  /**
300
314
  * Removes the active class from the current node.
301
- *
302
315
  * @param {object} node - Current node.
303
316
  */
304
317
  function _removeActiveClass(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentpilot/sticky-navigation",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "Add identifiers and activate the anchors that have these identifier and are intercepted with the scroll.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -19,8 +19,8 @@
19
19
  "author": "Content Pilot",
20
20
  "license": "MIT",
21
21
  "devDependencies": {
22
- "eslint": "^7.7.0",
23
- "eslint-plugin-jsdoc": "^30.2.4"
22
+ "eslint": "^8.57.0",
23
+ "eslint-plugin-jsdoc": "^48.5.2"
24
24
  },
25
25
  "scripts": {
26
26
  "lint": "eslint *.js --fix"
package/package-lock.json DELETED
@@ -1,933 +0,0 @@
1
- {
2
- "name": "@contentpilot/sticky-navigation",
3
- "version": "1.5.0",
4
- "lockfileVersion": 1,
5
- "requires": true,
6
- "dependencies": {
7
- "@babel/code-frame": {
8
- "version": "7.10.4",
9
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
10
- "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
11
- "dev": true,
12
- "requires": {
13
- "@babel/highlight": "^7.10.4"
14
- }
15
- },
16
- "@babel/helper-validator-identifier": {
17
- "version": "7.10.4",
18
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
19
- "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
20
- "dev": true
21
- },
22
- "@babel/highlight": {
23
- "version": "7.10.4",
24
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",
25
- "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",
26
- "dev": true,
27
- "requires": {
28
- "@babel/helper-validator-identifier": "^7.10.4",
29
- "chalk": "^2.0.0",
30
- "js-tokens": "^4.0.0"
31
- },
32
- "dependencies": {
33
- "chalk": {
34
- "version": "2.4.2",
35
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
36
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
37
- "dev": true,
38
- "requires": {
39
- "ansi-styles": "^3.2.1",
40
- "escape-string-regexp": "^1.0.5",
41
- "supports-color": "^5.3.0"
42
- }
43
- }
44
- }
45
- },
46
- "@types/color-name": {
47
- "version": "1.1.1",
48
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
49
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
50
- "dev": true
51
- },
52
- "acorn": {
53
- "version": "7.4.0",
54
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
55
- "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==",
56
- "dev": true
57
- },
58
- "acorn-jsx": {
59
- "version": "5.2.0",
60
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz",
61
- "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==",
62
- "dev": true
63
- },
64
- "ajv": {
65
- "version": "6.12.4",
66
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz",
67
- "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==",
68
- "dev": true,
69
- "requires": {
70
- "fast-deep-equal": "^3.1.1",
71
- "fast-json-stable-stringify": "^2.0.0",
72
- "json-schema-traverse": "^0.4.1",
73
- "uri-js": "^4.2.2"
74
- }
75
- },
76
- "ansi-colors": {
77
- "version": "4.1.1",
78
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
79
- "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
80
- "dev": true
81
- },
82
- "ansi-regex": {
83
- "version": "5.0.0",
84
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
85
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
86
- "dev": true
87
- },
88
- "ansi-styles": {
89
- "version": "3.2.1",
90
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
91
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
92
- "dev": true,
93
- "requires": {
94
- "color-convert": "^1.9.0"
95
- }
96
- },
97
- "argparse": {
98
- "version": "1.0.10",
99
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
100
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
101
- "dev": true,
102
- "requires": {
103
- "sprintf-js": "~1.0.2"
104
- }
105
- },
106
- "astral-regex": {
107
- "version": "1.0.0",
108
- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
109
- "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
110
- "dev": true
111
- },
112
- "balanced-match": {
113
- "version": "1.0.0",
114
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
115
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
116
- "dev": true
117
- },
118
- "brace-expansion": {
119
- "version": "1.1.11",
120
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
121
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
122
- "dev": true,
123
- "requires": {
124
- "balanced-match": "^1.0.0",
125
- "concat-map": "0.0.1"
126
- }
127
- },
128
- "callsites": {
129
- "version": "3.1.0",
130
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
131
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
132
- "dev": true
133
- },
134
- "chalk": {
135
- "version": "4.1.0",
136
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
137
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
138
- "dev": true,
139
- "requires": {
140
- "ansi-styles": "^4.1.0",
141
- "supports-color": "^7.1.0"
142
- },
143
- "dependencies": {
144
- "ansi-styles": {
145
- "version": "4.2.1",
146
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
147
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
148
- "dev": true,
149
- "requires": {
150
- "@types/color-name": "^1.1.1",
151
- "color-convert": "^2.0.1"
152
- }
153
- },
154
- "color-convert": {
155
- "version": "2.0.1",
156
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
157
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
158
- "dev": true,
159
- "requires": {
160
- "color-name": "~1.1.4"
161
- }
162
- },
163
- "color-name": {
164
- "version": "1.1.4",
165
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
166
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
167
- "dev": true
168
- },
169
- "has-flag": {
170
- "version": "4.0.0",
171
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
172
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
173
- "dev": true
174
- },
175
- "supports-color": {
176
- "version": "7.1.0",
177
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
178
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
179
- "dev": true,
180
- "requires": {
181
- "has-flag": "^4.0.0"
182
- }
183
- }
184
- }
185
- },
186
- "color-convert": {
187
- "version": "1.9.3",
188
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
189
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
190
- "dev": true,
191
- "requires": {
192
- "color-name": "1.1.3"
193
- }
194
- },
195
- "color-name": {
196
- "version": "1.1.3",
197
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
198
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
199
- "dev": true
200
- },
201
- "comment-parser": {
202
- "version": "0.7.6",
203
- "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.6.tgz",
204
- "integrity": "sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==",
205
- "dev": true
206
- },
207
- "concat-map": {
208
- "version": "0.0.1",
209
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
210
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
211
- "dev": true
212
- },
213
- "cross-spawn": {
214
- "version": "7.0.3",
215
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
216
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
217
- "dev": true,
218
- "requires": {
219
- "path-key": "^3.1.0",
220
- "shebang-command": "^2.0.0",
221
- "which": "^2.0.1"
222
- }
223
- },
224
- "debug": {
225
- "version": "4.1.1",
226
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
227
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
228
- "dev": true,
229
- "requires": {
230
- "ms": "^2.1.1"
231
- }
232
- },
233
- "deep-is": {
234
- "version": "0.1.3",
235
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
236
- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
237
- "dev": true
238
- },
239
- "doctrine": {
240
- "version": "3.0.0",
241
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
242
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
243
- "dev": true,
244
- "requires": {
245
- "esutils": "^2.0.2"
246
- }
247
- },
248
- "emoji-regex": {
249
- "version": "7.0.3",
250
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
251
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
252
- "dev": true
253
- },
254
- "enquirer": {
255
- "version": "2.3.6",
256
- "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
257
- "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
258
- "dev": true,
259
- "requires": {
260
- "ansi-colors": "^4.1.1"
261
- }
262
- },
263
- "escape-string-regexp": {
264
- "version": "1.0.5",
265
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
266
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
267
- "dev": true
268
- },
269
- "eslint": {
270
- "version": "7.7.0",
271
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.7.0.tgz",
272
- "integrity": "sha512-1KUxLzos0ZVsyL81PnRN335nDtQ8/vZUD6uMtWbF+5zDtjKcsklIi78XoE0MVL93QvWTu+E5y44VyyCsOMBrIg==",
273
- "dev": true,
274
- "requires": {
275
- "@babel/code-frame": "^7.0.0",
276
- "ajv": "^6.10.0",
277
- "chalk": "^4.0.0",
278
- "cross-spawn": "^7.0.2",
279
- "debug": "^4.0.1",
280
- "doctrine": "^3.0.0",
281
- "enquirer": "^2.3.5",
282
- "eslint-scope": "^5.1.0",
283
- "eslint-utils": "^2.1.0",
284
- "eslint-visitor-keys": "^1.3.0",
285
- "espree": "^7.2.0",
286
- "esquery": "^1.2.0",
287
- "esutils": "^2.0.2",
288
- "file-entry-cache": "^5.0.1",
289
- "functional-red-black-tree": "^1.0.1",
290
- "glob-parent": "^5.0.0",
291
- "globals": "^12.1.0",
292
- "ignore": "^4.0.6",
293
- "import-fresh": "^3.0.0",
294
- "imurmurhash": "^0.1.4",
295
- "is-glob": "^4.0.0",
296
- "js-yaml": "^3.13.1",
297
- "json-stable-stringify-without-jsonify": "^1.0.1",
298
- "levn": "^0.4.1",
299
- "lodash": "^4.17.19",
300
- "minimatch": "^3.0.4",
301
- "natural-compare": "^1.4.0",
302
- "optionator": "^0.9.1",
303
- "progress": "^2.0.0",
304
- "regexpp": "^3.1.0",
305
- "semver": "^7.2.1",
306
- "strip-ansi": "^6.0.0",
307
- "strip-json-comments": "^3.1.0",
308
- "table": "^5.2.3",
309
- "text-table": "^0.2.0",
310
- "v8-compile-cache": "^2.0.3"
311
- }
312
- },
313
- "eslint-plugin-jsdoc": {
314
- "version": "30.2.4",
315
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.2.4.tgz",
316
- "integrity": "sha512-7TLp+1EK/ufnzlBUuzgDiPz5k2UUIa01cFkZTvvbJr8PE0iWVDqENg0yLhqGUYaZfYRFhHpqCML8SQR94omfrg==",
317
- "dev": true,
318
- "requires": {
319
- "comment-parser": "^0.7.6",
320
- "debug": "^4.1.1",
321
- "jsdoctypeparser": "^9.0.0",
322
- "lodash": "^4.17.20",
323
- "regextras": "^0.7.1",
324
- "semver": "^7.3.2",
325
- "spdx-expression-parse": "^3.0.1"
326
- }
327
- },
328
- "eslint-scope": {
329
- "version": "5.1.0",
330
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz",
331
- "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==",
332
- "dev": true,
333
- "requires": {
334
- "esrecurse": "^4.1.0",
335
- "estraverse": "^4.1.1"
336
- }
337
- },
338
- "eslint-utils": {
339
- "version": "2.1.0",
340
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz",
341
- "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",
342
- "dev": true,
343
- "requires": {
344
- "eslint-visitor-keys": "^1.1.0"
345
- }
346
- },
347
- "eslint-visitor-keys": {
348
- "version": "1.3.0",
349
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
350
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
351
- "dev": true
352
- },
353
- "espree": {
354
- "version": "7.2.0",
355
- "resolved": "https://registry.npmjs.org/espree/-/espree-7.2.0.tgz",
356
- "integrity": "sha512-H+cQ3+3JYRMEIOl87e7QdHX70ocly5iW4+dttuR8iYSPr/hXKFb+7dBsZ7+u1adC4VrnPlTkv0+OwuPnDop19g==",
357
- "dev": true,
358
- "requires": {
359
- "acorn": "^7.3.1",
360
- "acorn-jsx": "^5.2.0",
361
- "eslint-visitor-keys": "^1.3.0"
362
- }
363
- },
364
- "esprima": {
365
- "version": "4.0.1",
366
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
367
- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
368
- "dev": true
369
- },
370
- "esquery": {
371
- "version": "1.3.1",
372
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz",
373
- "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==",
374
- "dev": true,
375
- "requires": {
376
- "estraverse": "^5.1.0"
377
- },
378
- "dependencies": {
379
- "estraverse": {
380
- "version": "5.2.0",
381
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz",
382
- "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
383
- "dev": true
384
- }
385
- }
386
- },
387
- "esrecurse": {
388
- "version": "4.2.1",
389
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
390
- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
391
- "dev": true,
392
- "requires": {
393
- "estraverse": "^4.1.0"
394
- }
395
- },
396
- "estraverse": {
397
- "version": "4.3.0",
398
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
399
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
400
- "dev": true
401
- },
402
- "esutils": {
403
- "version": "2.0.3",
404
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
405
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
406
- "dev": true
407
- },
408
- "fast-deep-equal": {
409
- "version": "3.1.3",
410
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
411
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
412
- "dev": true
413
- },
414
- "fast-json-stable-stringify": {
415
- "version": "2.1.0",
416
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
417
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
418
- "dev": true
419
- },
420
- "fast-levenshtein": {
421
- "version": "2.0.6",
422
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
423
- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
424
- "dev": true
425
- },
426
- "file-entry-cache": {
427
- "version": "5.0.1",
428
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
429
- "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
430
- "dev": true,
431
- "requires": {
432
- "flat-cache": "^2.0.1"
433
- }
434
- },
435
- "flat-cache": {
436
- "version": "2.0.1",
437
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
438
- "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
439
- "dev": true,
440
- "requires": {
441
- "flatted": "^2.0.0",
442
- "rimraf": "2.6.3",
443
- "write": "1.0.3"
444
- }
445
- },
446
- "flatted": {
447
- "version": "2.0.2",
448
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz",
449
- "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==",
450
- "dev": true
451
- },
452
- "fs.realpath": {
453
- "version": "1.0.0",
454
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
455
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
456
- "dev": true
457
- },
458
- "functional-red-black-tree": {
459
- "version": "1.0.1",
460
- "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
461
- "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
462
- "dev": true
463
- },
464
- "glob": {
465
- "version": "7.1.6",
466
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
467
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
468
- "dev": true,
469
- "requires": {
470
- "fs.realpath": "^1.0.0",
471
- "inflight": "^1.0.4",
472
- "inherits": "2",
473
- "minimatch": "^3.0.4",
474
- "once": "^1.3.0",
475
- "path-is-absolute": "^1.0.0"
476
- }
477
- },
478
- "glob-parent": {
479
- "version": "5.1.1",
480
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
481
- "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
482
- "dev": true,
483
- "requires": {
484
- "is-glob": "^4.0.1"
485
- }
486
- },
487
- "globals": {
488
- "version": "12.4.0",
489
- "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz",
490
- "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==",
491
- "dev": true,
492
- "requires": {
493
- "type-fest": "^0.8.1"
494
- }
495
- },
496
- "has-flag": {
497
- "version": "3.0.0",
498
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
499
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
500
- "dev": true
501
- },
502
- "ignore": {
503
- "version": "4.0.6",
504
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
505
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
506
- "dev": true
507
- },
508
- "import-fresh": {
509
- "version": "3.2.1",
510
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
511
- "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
512
- "dev": true,
513
- "requires": {
514
- "parent-module": "^1.0.0",
515
- "resolve-from": "^4.0.0"
516
- }
517
- },
518
- "imurmurhash": {
519
- "version": "0.1.4",
520
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
521
- "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
522
- "dev": true
523
- },
524
- "inflight": {
525
- "version": "1.0.6",
526
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
527
- "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
528
- "dev": true,
529
- "requires": {
530
- "once": "^1.3.0",
531
- "wrappy": "1"
532
- }
533
- },
534
- "inherits": {
535
- "version": "2.0.4",
536
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
537
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
538
- "dev": true
539
- },
540
- "is-extglob": {
541
- "version": "2.1.1",
542
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
543
- "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
544
- "dev": true
545
- },
546
- "is-fullwidth-code-point": {
547
- "version": "2.0.0",
548
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
549
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
550
- "dev": true
551
- },
552
- "is-glob": {
553
- "version": "4.0.1",
554
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
555
- "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
556
- "dev": true,
557
- "requires": {
558
- "is-extglob": "^2.1.1"
559
- }
560
- },
561
- "isexe": {
562
- "version": "2.0.0",
563
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
564
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
565
- "dev": true
566
- },
567
- "js-tokens": {
568
- "version": "4.0.0",
569
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
570
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
571
- "dev": true
572
- },
573
- "js-yaml": {
574
- "version": "3.14.0",
575
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
576
- "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
577
- "dev": true,
578
- "requires": {
579
- "argparse": "^1.0.7",
580
- "esprima": "^4.0.0"
581
- }
582
- },
583
- "jsdoctypeparser": {
584
- "version": "9.0.0",
585
- "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz",
586
- "integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==",
587
- "dev": true
588
- },
589
- "json-schema-traverse": {
590
- "version": "0.4.1",
591
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
592
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
593
- "dev": true
594
- },
595
- "json-stable-stringify-without-jsonify": {
596
- "version": "1.0.1",
597
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
598
- "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
599
- "dev": true
600
- },
601
- "levn": {
602
- "version": "0.4.1",
603
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
604
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
605
- "dev": true,
606
- "requires": {
607
- "prelude-ls": "^1.2.1",
608
- "type-check": "~0.4.0"
609
- }
610
- },
611
- "lodash": {
612
- "version": "4.17.20",
613
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
614
- "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
615
- "dev": true
616
- },
617
- "minimatch": {
618
- "version": "3.0.4",
619
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
620
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
621
- "dev": true,
622
- "requires": {
623
- "brace-expansion": "^1.1.7"
624
- }
625
- },
626
- "minimist": {
627
- "version": "1.2.5",
628
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
629
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
630
- "dev": true
631
- },
632
- "mkdirp": {
633
- "version": "0.5.5",
634
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
635
- "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
636
- "dev": true,
637
- "requires": {
638
- "minimist": "^1.2.5"
639
- }
640
- },
641
- "ms": {
642
- "version": "2.1.2",
643
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
644
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
645
- "dev": true
646
- },
647
- "natural-compare": {
648
- "version": "1.4.0",
649
- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
650
- "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
651
- "dev": true
652
- },
653
- "once": {
654
- "version": "1.4.0",
655
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
656
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
657
- "dev": true,
658
- "requires": {
659
- "wrappy": "1"
660
- }
661
- },
662
- "optionator": {
663
- "version": "0.9.1",
664
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
665
- "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
666
- "dev": true,
667
- "requires": {
668
- "deep-is": "^0.1.3",
669
- "fast-levenshtein": "^2.0.6",
670
- "levn": "^0.4.1",
671
- "prelude-ls": "^1.2.1",
672
- "type-check": "^0.4.0",
673
- "word-wrap": "^1.2.3"
674
- }
675
- },
676
- "parent-module": {
677
- "version": "1.0.1",
678
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
679
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
680
- "dev": true,
681
- "requires": {
682
- "callsites": "^3.0.0"
683
- }
684
- },
685
- "path-is-absolute": {
686
- "version": "1.0.1",
687
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
688
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
689
- "dev": true
690
- },
691
- "path-key": {
692
- "version": "3.1.1",
693
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
694
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
695
- "dev": true
696
- },
697
- "prelude-ls": {
698
- "version": "1.2.1",
699
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
700
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
701
- "dev": true
702
- },
703
- "progress": {
704
- "version": "2.0.3",
705
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
706
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
707
- "dev": true
708
- },
709
- "punycode": {
710
- "version": "2.1.1",
711
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
712
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
713
- "dev": true
714
- },
715
- "regexpp": {
716
- "version": "3.1.0",
717
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz",
718
- "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==",
719
- "dev": true
720
- },
721
- "regextras": {
722
- "version": "0.7.1",
723
- "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz",
724
- "integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==",
725
- "dev": true
726
- },
727
- "resolve-from": {
728
- "version": "4.0.0",
729
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
730
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
731
- "dev": true
732
- },
733
- "rimraf": {
734
- "version": "2.6.3",
735
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
736
- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
737
- "dev": true,
738
- "requires": {
739
- "glob": "^7.1.3"
740
- }
741
- },
742
- "semver": {
743
- "version": "7.3.2",
744
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
745
- "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
746
- "dev": true
747
- },
748
- "shebang-command": {
749
- "version": "2.0.0",
750
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
751
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
752
- "dev": true,
753
- "requires": {
754
- "shebang-regex": "^3.0.0"
755
- }
756
- },
757
- "shebang-regex": {
758
- "version": "3.0.0",
759
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
760
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
761
- "dev": true
762
- },
763
- "slice-ansi": {
764
- "version": "2.1.0",
765
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
766
- "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
767
- "dev": true,
768
- "requires": {
769
- "ansi-styles": "^3.2.0",
770
- "astral-regex": "^1.0.0",
771
- "is-fullwidth-code-point": "^2.0.0"
772
- }
773
- },
774
- "spdx-exceptions": {
775
- "version": "2.3.0",
776
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
777
- "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
778
- "dev": true
779
- },
780
- "spdx-expression-parse": {
781
- "version": "3.0.1",
782
- "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
783
- "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
784
- "dev": true,
785
- "requires": {
786
- "spdx-exceptions": "^2.1.0",
787
- "spdx-license-ids": "^3.0.0"
788
- }
789
- },
790
- "spdx-license-ids": {
791
- "version": "3.0.5",
792
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
793
- "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
794
- "dev": true
795
- },
796
- "sprintf-js": {
797
- "version": "1.0.3",
798
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
799
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
800
- "dev": true
801
- },
802
- "string-width": {
803
- "version": "3.1.0",
804
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
805
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
806
- "dev": true,
807
- "requires": {
808
- "emoji-regex": "^7.0.1",
809
- "is-fullwidth-code-point": "^2.0.0",
810
- "strip-ansi": "^5.1.0"
811
- },
812
- "dependencies": {
813
- "ansi-regex": {
814
- "version": "4.1.0",
815
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
816
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
817
- "dev": true
818
- },
819
- "strip-ansi": {
820
- "version": "5.2.0",
821
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
822
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
823
- "dev": true,
824
- "requires": {
825
- "ansi-regex": "^4.1.0"
826
- }
827
- }
828
- }
829
- },
830
- "strip-ansi": {
831
- "version": "6.0.0",
832
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
833
- "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
834
- "dev": true,
835
- "requires": {
836
- "ansi-regex": "^5.0.0"
837
- }
838
- },
839
- "strip-json-comments": {
840
- "version": "3.1.1",
841
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
842
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
843
- "dev": true
844
- },
845
- "supports-color": {
846
- "version": "5.5.0",
847
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
848
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
849
- "dev": true,
850
- "requires": {
851
- "has-flag": "^3.0.0"
852
- }
853
- },
854
- "table": {
855
- "version": "5.4.6",
856
- "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
857
- "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
858
- "dev": true,
859
- "requires": {
860
- "ajv": "^6.10.2",
861
- "lodash": "^4.17.14",
862
- "slice-ansi": "^2.1.0",
863
- "string-width": "^3.0.0"
864
- }
865
- },
866
- "text-table": {
867
- "version": "0.2.0",
868
- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
869
- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
870
- "dev": true
871
- },
872
- "type-check": {
873
- "version": "0.4.0",
874
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
875
- "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
876
- "dev": true,
877
- "requires": {
878
- "prelude-ls": "^1.2.1"
879
- }
880
- },
881
- "type-fest": {
882
- "version": "0.8.1",
883
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
884
- "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
885
- "dev": true
886
- },
887
- "uri-js": {
888
- "version": "4.2.2",
889
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
890
- "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
891
- "dev": true,
892
- "requires": {
893
- "punycode": "^2.1.0"
894
- }
895
- },
896
- "v8-compile-cache": {
897
- "version": "2.1.1",
898
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz",
899
- "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==",
900
- "dev": true
901
- },
902
- "which": {
903
- "version": "2.0.2",
904
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
905
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
906
- "dev": true,
907
- "requires": {
908
- "isexe": "^2.0.0"
909
- }
910
- },
911
- "word-wrap": {
912
- "version": "1.2.3",
913
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
914
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
915
- "dev": true
916
- },
917
- "wrappy": {
918
- "version": "1.0.2",
919
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
920
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
921
- "dev": true
922
- },
923
- "write": {
924
- "version": "1.0.3",
925
- "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
926
- "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
927
- "dev": true,
928
- "requires": {
929
- "mkdirp": "^0.5.1"
930
- }
931
- }
932
- }
933
- }