diff --git a/.travis.yml b/.travis.yml index 58dff587..7b104b4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ language: node_js node_js: - - "10" - - "12" + - '10' + - '12' before_install: - npm install codecov -g after_success: - - npm run coverage | codecov + - npm run test:coverage | codecov deploy: provider: npm - email: "$NPM_EMAIL" - api_key: "$NPM_TOKEN" + email: '$NPM_EMAIL' + api_key: '$NPM_TOKEN' on: tags: true skip_cleanup: true diff --git a/CHANGELOG.md b/CHANGELOG.md index c3bf3a8f..d53314c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added +- **list:** allow styling of bullet lists - **list:** implement sublists ### Changed - **list:** text content of a list item cannot be styled, closes [#67](https://github.com/connium/simple-odf/issues/67) - **chore(lint):** replace tslint with eslint -- **chore(travis):** add Node.js v12 to travis configuration +- **chore(travis):** add Node.js 12 to travis configuration - **chore:** drop support for Node.js 8 - **chore(lint):** replace standard with prettier diff --git a/docs/API.md b/docs/API.md index 01ba488f..cc7ab199 100644 --- a/docs/API.md +++ b/docs/API.md @@ -23,11 +23,20 @@
This class represents a text document in OpenDocument format.
This class represents a list style where list items are preceded by bullets.
+This class represents a font face declaration.
It is used to describe the characteristics of a font which is used in the document. The unique name of a font can be used inside styles to select a font face declaration.
This class represents a list style.
+List styles are used to specify the formatting of a list and its items. +A list style contains a set of style elements for each list level (@see ListLevelStyle). +If a list style is applied to a list but does not contain a list level specification for a specific level, the list level style of the next lower level is used.
+This class represents a style.
It is used to specify the formatting of a document or a portion of a document.
@@ -852,6 +861,7 @@ It is used to manage the named styles that are used in the document.
* [CommonStyles](#CommonStyles)
* [`new CommonStyles()`](#new_CommonStyles_new)
+ * [`.createListStyle(name)`](#CommonStyles+createListStyle) ⇒ [ListStyle
](#ListStyle)
* [`.createParagraphStyle(name)`](#CommonStyles+createParagraphStyle) ⇒ ParagraphStyle
* [`.getName(displayName)`](#CommonStyles+getName) ⇒ string
\| undefined
* [`.getAll()`](#CommonStyles+getAll)
@@ -871,6 +881,28 @@ const commonStyles = new CommonStyles();
* * *
+
+
+### `commonStyles.createListStyle(name)` ⇒ [ListStyle
](#ListStyle)
+The `createListStyle()` method creates a new `ListStyle` instance with the given name.
+If a style with this name already exists, the existing style will be returned.
+
+#### Parameters
+- name string
+The unique name for the style
+
+**Return value**
+[ListStyle
](#ListStyle) - A new `ListStyle` instance with the specified name or an existing style, if one with the specified name exists
+
+**Example**
+```js
+const commonStyles = new CommonStyles();
+commonStyles.createListStyle('Contents');
+```
+**Since**: 0.11.0
+
+* * *
+
### `commonStyles.createParagraphStyle(name)` ⇒ ParagraphStyle
@@ -1079,6 +1111,11 @@ Adds an empty list at the end of the document.
**Return value**
[List
](#List) - The newly added list
+**Example**
+```js
+new TextBody()
+ .addList();
+```
**Since**: 0.7.0
* * *
@@ -1233,6 +1270,230 @@ Returns the string representation of this document in flat open document xml for
* * *
+
+
+## BulletListLevelStyle
+This class represents a list style where list items are preceded by bullets.
+
+**Since**: 0.11.0
+
+* [BulletListLevelStyle](#BulletListLevelStyle)
+ * [`new BulletListLevelStyle(level)`](#new_BulletListLevelStyle_new)
+ * [`.getBulletChar()`](#BulletListLevelStyle+getBulletChar) ⇒ string
+ * [`.setBulletChar(bulletChar)`](#BulletListLevelStyle+setBulletChar) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+ * [`.getLevel()`](#BulletListLevelStyle+getLevel) ⇒ number
+ * [`.getNumberPrefix()`](#BulletListLevelStyle+getNumberPrefix) ⇒ string
\| undefined
+ * [`.setNumberPrefix(prefix)`](#BulletListLevelStyle+setNumberPrefix) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+ * [`.getNumberSuffix()`](#BulletListLevelStyle+getNumberSuffix) ⇒ string
\| undefined
+ * [`.setNumberSuffix(suffix)`](#BulletListLevelStyle+setNumberSuffix) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+ * [`.getRelativeBulletSize()`](#BulletListLevelStyle+getRelativeBulletSize) ⇒ string
\| undefined
+ * [`.setRelativeBulletSize(relativeSize)`](#BulletListLevelStyle+setRelativeBulletSize) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+
+
+* * *
+
+
+
+### `new BulletListLevelStyle(level)`
+Creates a `BulletListLevelStyle` instance that represents a list style where list items are preceded by bullets.
+
+#### Parameters
+- level number
+The level of the list style, starting with `1`
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+```
+
+* * *
+
+
+
+### `bulletListLevelStyle.getBulletChar()` ⇒ string
+The `getBulletChar()` method returns the character to use as the bullet.
+
+**Return value**
+string
- The character to use as the bullet
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.getBulletChar(); // '\u2022'
+style.setBulletChar('~');
+style.getBulletChar(); // '~'
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.setBulletChar(bulletChar)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+The `setBulletChar()` method sets the character to use as the bullet.
+
+If an illegal value is provided, the value will be ignored.
+
+#### Parameters
+- bulletChar string
+The character to use as the bullet
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) - The `BulletListLevelStyle` object
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.setBulletChar('~'); // '~'
+style.setBulletChar(''); // '~'
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.getLevel()` ⇒ number
+The `getLevel()` method returns the level of the list style.
+
+**Return value**
+number
- The level of the list style, starting with `1`
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.getLevel(); // 3
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.getNumberPrefix()` ⇒ string
\| undefined
+The `getNumberPrefix()` method returns the character to display before a bullet.
+
+**Return value**
+string
\| undefined
- The character to display before a bullet or `undefined` if no prefix is set
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.getNumberPrefix(); // undefined
+style.setNumberPrefix('~');
+style.getNumberPrefix(); // '~'
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.setNumberPrefix(prefix)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+The `setNumberPrefix()` method sets the character to display before a bullet.
+
+#### Parameters
+- prefix string
| undefined
+The character to display before a bullet or `undefined` to unset the prefix
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) - The `BulletListLevelStyle` object
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.setNumberPrefix('~'); // '~'
+style.setNumberPrefix(undefined); // undefined
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.getNumberSuffix()` ⇒ string
\| undefined
+The `getNumberSuffix()` method returns the character to display after a bullet.
+
+**Return value**
+string
\| undefined
- The character to display after a bullet or `undefined` if no suffix is set
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.getNumberSuffix(); // undefined
+style.setNumberSuffix('~');
+style.getNumberSuffix(); // '~'
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.setNumberSuffix(suffix)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+The `setNumberSuffix()` method sets the character to display after a bullet.
+
+#### Parameters
+- suffix string
| undefined
+The character to display after a bullet or `undefined` to unset the suffix
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) - The `BulletListLevelStyle` object
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.setNumberSuffix('~'); // '~'
+style.setNumberSuffix(undefined); // undefined
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.getRelativeBulletSize()` ⇒ string
\| undefined
+The `getRelativeBulletSize()` method returns the percentage value for the bullet size relative to the font size of the paragraphs in the bullet list.
+
+**Return value**
+string
\| undefined
- The percentage value for the bullet size or `undefined` if no relative bullet size is set
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.getRelativeBulletSize(); // undefined
+style.setRelativeBulletSize('23%');
+style.getRelativeBulletSize(); // '23%'
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `bulletListLevelStyle.setRelativeBulletSize(relativeSize)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+The `setNumberSuffix()` method sets the percentage value for the bullet size relative to the font size of the paragraphs in the bullet list.
+
+If an illegal value is provided, the value will be ignored.
+
+#### Parameters
+- relativeSize string
| undefined
+The percentage value for the bullet size or `undefined` to unset the bullet size
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) - The `BulletListLevelStyle` object
+
+**Example**
+```js
+const style = new BulletListLevelStyle(3);
+style.setRelativeBulletSize('23%'); // '23%'
+style.setRelativeBulletSize('42px'); // '23%'
+style.setRelativeBulletSize(undefined); // undefined
+```
+**Since**: 0.11.0
+
+* * *
+
## FontFace
@@ -1467,6 +1728,175 @@ font.getName(); // 'FreeSans'
* * *
+
+
+## ListStyle
+This class represents a list style.
+
+List styles are used to specify the formatting of a list and its items.
+A list style contains a set of style elements for each list level (@see ListLevelStyle).
+If a list style is applied to a list but does not contain a list level specification for a specific level, the list level style of the next lower level is used.
+
+**Since**: 0.11.0
+
+* [ListStyle](#ListStyle)
+ * [`new ListStyle(displayName)`](#new_ListStyle_new)
+ * [`.getConsecutiveNumbering()`](#ListStyle+getConsecutiveNumbering) ⇒ boolean
+ * [`.setConsecutiveNumbering(consecutiveNumbering)`](#ListStyle+setConsecutiveNumbering) ⇒ [ListStyle
](#ListStyle)
+ * [`.createBulletListLevelStyle(level)`](#ListStyle+createBulletListLevelStyle) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+ * [`.getListLevelStyle(level)`](#ListStyle+getListLevelStyle) ⇒ [BulletListLevelStyle
](#BulletListLevelStyle) \| undefined
+ * [`.getListLevelStyles()`](#ListStyle+getListLevelStyles) ⇒ [Array.<BulletListLevelStyle>
](#BulletListLevelStyle)
+ * [`.removeListLevelStyle(level)`](#ListStyle+removeListLevelStyle) ⇒ [ListStyle
](#ListStyle)
+
+
+* * *
+
+
+
+### `new ListStyle(displayName)`
+Creates a `ListStyle` instance that represents the formatting of a list.
+
+#### Parameters
+- displayName string
+The unique display name for the style
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+```
+
+* * *
+
+
+
+### `listStyle.getConsecutiveNumbering()` ⇒ boolean
+The `getConsecutiveNumbering()` method returns whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.
+
+**Return value**
+boolean
- `true` if consecutive numbering is used for all list levels or `false` if each list level restarts numbering
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.getConsecutiveNumbering(); // false
+style.setConsecutiveNumbering(true);
+style.getConsecutiveNumbering(); // true
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listStyle.setConsecutiveNumbering(consecutiveNumbering)` ⇒ [ListStyle
](#ListStyle)
+The `setConsecutiveNumbering()` method sets returns whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.
+
+#### Parameters
+- consecutiveNumbering boolean
+`true` if consecutive numbering is used for all list levels or `false` if each list level restarts numbering
+
+**Return value**
+[ListStyle
](#ListStyle) - The `ListStyle` object
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.setConsecutiveNumbering(true); // true
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listStyle.createBulletListLevelStyle(level)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle)
+The `createBulletListLevelStyle()` method creates a new `BulletListLevelStyle` instance for the given list level.
+If a list level style for this level already exists, the existing style will be overwritten.
+
+#### Parameters
+- level number
+The level of the list style, starting with `1`
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) - A new `BulletListLevelStyle` instance with the specified level
+
+**Throws**:
+
+- Error
if the given list level is invalid
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.createBulletListLevelStyle(3);
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listStyle.getListLevelStyle(level)` ⇒ [BulletListLevelStyle
](#BulletListLevelStyle) \| undefined
+The `getListLevelStyle()` method returns the list level style for the given list level.
+If a list level style for this level already exists, the existing style will be overwritten.
+
+#### Parameters
+- level number
+The level of the list style, starting with `1`
+
+**Return value**
+[BulletListLevelStyle
](#BulletListLevelStyle) \| undefined
- The list level style for the specified level or `undefined` if no list level style is defined for the specified level
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.getListLevelStyle(3);
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listStyle.getListLevelStyles()` ⇒ [Array.<BulletListLevelStyle>
](#BulletListLevelStyle)
+The `getListLevelStyles()` method returns a new `Array` object that contains all list level styles of a list style.
+
+**Return value**
+[Array.<BulletListLevelStyle>
](#BulletListLevelStyle) - A new `Array` object that contains the list level styles of a list style
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.createBulletListLevelStyle(1);
+style.createBulletListLevelStyle(2);
+styles.getListLevelStyles();
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listStyle.removeListLevelStyle(level)` ⇒ [ListStyle
](#ListStyle)
+The `removeListLevelStyle()` method removes the list level style for the given list level.
+
+#### Parameters
+- level number
+The level of the list style, starting with `1`
+
+**Return value**
+[ListStyle
](#ListStyle) - The `ListStyle` object
+
+**Example**
+```js
+const style = new ListStyle('Contents');
+style.createBulletListLevelStyle(3);
+style.removeListLevelStyle(3);
+styles.getListLevelStyles(); // []
+```
+**Since**: 0.11.0
+
+* * *
+
## Style
@@ -2221,10 +2651,14 @@ This class represents a list and may contain any number list items.
* [List](#List)
* [`new List()`](#new_List_new)
* [`.addItem([item])`](#List+addItem) ⇒ [ListItem
](#ListItem)
- * [`.insertItem(position, item)`](#List+insertItem) ⇒ [ListItem
](#ListItem)
* [`.getItem(position)`](#List+getItem) ⇒ [ListItem
](#ListItem) \| undefined
* [`.getItems()`](#List+getItems) ⇒ [Array.<ListItem>
](#ListItem)
+ * [`.insertItem(position, item)`](#List+insertItem) ⇒ [ListItem
](#ListItem)
* [`.removeItemAt(position)`](#List+removeItemAt) ⇒ [ListItem
](#ListItem) \| undefined
+ * [`.getStyle()`](#List+getStyle) ⇒ [ListStyle
](#ListStyle) \| undefined
+ * [`.setStyle(style)`](#List+setStyle) ⇒ [List
](#List)
+ * [`.getStyleName()`](#List+getStyleName) ⇒ string
\| undefined
+ * [`.setStyleName(styleName)`](#List+setStyleName) ⇒ [List
](#List)
* [`.clear()`](#List+clear) ⇒ [List
](#List)
* [`.size()`](#List+size) ⇒ number
@@ -2246,11 +2680,11 @@ new List();
### `list.addItem([item])` ⇒ [ListItem
](#ListItem)
-The `addItem()` method adds a new list item with the specified text or adds the specified item to the list.
+The `addItem()` method adds a new list item or adds the specified item to the list.
#### Parameters
-- [item] string
| [ListItem
](#ListItem)
-The text content of the new item or the item to add
+- [item] [ListItem
](#ListItem)
+The item to add
**Return value**
[ListItem
](#ListItem) - The added `ListItem` object
@@ -2258,8 +2692,54 @@ The text content of the new item or the item to add
**Example**
```js
const list = new List();
-list.addItem('First item');
-list.addItem(new ListItem('Second item'));
+list.addItem();
+list.addItem(new ListItem());
+```
+**Since**: 0.2.0
+
+* * *
+
+
+
+### `list.getItem(position)` ⇒ [ListItem
](#ListItem) \| undefined
+The `getItem()` method returns the item at the specified position in the list.
+If an invalid position is given, undefined is returned.
+
+#### Parameters
+- position number
+The index of the requested list item (starting from 0).
+
+**Return value**
+[ListItem
](#ListItem) \| undefined
- The `ListItem` object at the specified position
+or `undefined` if there is no list item at the specified position
+
+**Example**
+```js
+const list = new List();
+list.addItem();
+list.addItem();
+list.getItem(1); // second item
+list.getItem(2); // undefined
+```
+**Since**: 0.2.0
+
+* * *
+
+
+
+### `list.getItems()` ⇒ [Array.<ListItem>
](#ListItem)
+The `getItems()` method returns all list items.
+
+**Return value**
+[Array.<ListItem>
](#ListItem) - A copy of the list of `ListItem` objects
+
+**Example**
+```js
+const list = new List();
+list.getItems(); // []
+list.addItem();
+list.addItem();
+list.getItems(); // [first item, second item]
```
**Since**: 0.2.0
@@ -2268,18 +2748,17 @@ list.addItem(new ListItem('Second item'));
### `list.insertItem(position, item)` ⇒ [ListItem
](#ListItem)
-The `insertItem` method inserts a new list item with the specified text
-or inserts the specified item at the specified position.
+The `insertItem` method inserts the specified item at the specified position.
The item is inserted before the item at the specified position.
-If the position is greater than the current number items, the new item is appended at the end of the list.
+If the position is greater than the current number of items, the new item is appended at the end of the list.
If the position is negative, the new item is inserted as first element.
#### Parameters
- position number
The index at which to insert the list item (starting from 0).
-- item string
| [ListItem
](#ListItem)
-The text content of the new item or the item to insert
+- item [ListItem
](#ListItem)
+The item to insert
**Return value**
[ListItem
](#ListItem) - The inserted `ListItem` object
@@ -2287,83 +2766,122 @@ The text content of the new item or the item to insert
**Example**
```js
const list = new List();
-list.addItem('First item'); // 'First item'
-list.addItem('Second item'); // 'First item', 'Second item'
-list.insertItem(1, 'After first item'); // 'First item', 'After first item', 'Second item'
+list.addItem();
+list.insertItem(0, new ListItem()); // insert before existing item
```
**Since**: 0.2.0
* * *
-
+
-### `list.getItem(position)` ⇒ [ListItem
](#ListItem) \| undefined
-The `getItem()` method returns the item at the specified position in the list.
-If an invalid position is given, undefined is returned.
+### `list.removeItemAt(position)` ⇒ [ListItem
](#ListItem) \| undefined
+The `removeItemAt()` method removes the list item from the specified position.
#### Parameters
- position number
-The index of the requested list item (starting from 0).
+The index of the list item to remove (starting from 0).
**Return value**
-[ListItem
](#ListItem) \| undefined
- The `ListItem` object at the specified position
-or `undefined` if there is no list item at the specified position
+[ListItem
](#ListItem) \| undefined
- The removed `ListItem` object
+or undefined if there is no list item at the specified position
**Example**
```js
const list = new List();
-list.addItem('First item');
-list.addItem('Second item');
-list.getItem(1); // 'Second item'
-list.getItem(2); // undefined
+list.addItem();
+list.addItem();
+list.removeItemAt(0); // first item
+list.getItems(); // [second item]
+list.removeItemAt(2); // undefined
```
**Since**: 0.2.0
* * *
-
+
-### `list.getItems()` ⇒ [Array.<ListItem>
](#ListItem)
-The `getItems()` method returns all list items.
+### `list.getStyle()` ⇒ [ListStyle
](#ListStyle) \| undefined
+Returns the style of the list.
**Return value**
-[Array.<ListItem>
](#ListItem) - A copy of the list of `ListItem` objects
+[ListStyle
](#ListStyle) \| undefined
- The style of the list or `undefined` if no style was set
**Example**
```js
const list = new List();
-list.getItems(); // []
-list.addItem('First item');
-list.addItem('Second item');
-list.getItems(); // ['First item', 'Second item']
+list.getStyle(); // undefined
+list.setStyle(new ListStyle());
+list.getStyle(); // previously set style
```
-**Since**: 0.2.0
+**Since**: 0.11.0
* * *
-
+
-### `list.removeItemAt(position)` ⇒ [ListItem
](#ListItem) \| undefined
-The `removeItemAt()` method removes the list item from the specified position.
+### `list.setStyle(style)` ⇒ [List
](#List)
+Sets the new style of the list.
+To reset the style, `undefined` must be given.
+
+If style and style name are both set, the custom style will be set and the common style will be ignored.
#### Parameters
-- position number
-The index of the list item to remove (starting from 0).
+- style [ListStyle
](#ListStyle) | undefined
+The new style or `undefined` to reset the style
**Return value**
-[ListItem
](#ListItem) \| undefined
- The removed `ListItem` object
-or undefined if there is no list item at the specified position
+[List
](#List) - The `List` object
+
+**Example**
+```js
+new List()
+ .setStyle(new ListStyle());
+```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `list.getStyleName()` ⇒ string
\| undefined
+Returns the name of the common style of the list.
+
+**Return value**
+string
\| undefined
- The name of the common style or `undefined` if no common style was set
**Example**
```js
const list = new List();
-list.addItem('First item');
-list.addItem('Second item');
-list.removeItemAt(0); // 'First item'
-list.getItems(); // ['Second item']
-list.removeItemAt(2); // undefined
+list.getStyleName(); // undefined
+list.setStyleName('Summary');
+list.getStyleName(); // 'Summary'
```
-**Since**: 0.2.0
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `list.setStyleName(styleName)` ⇒ [List
](#List)
+Sets the name of the common style that should be applied to the list.
+To reset the common style, `undefined` must be given.
+
+If style and style name are both set, the custom style will be set and the common style will be ignored.
+
+#### Parameters
+- styleName string
| undefined
+The name of the common style or `undefined` to reset the common style
+
+**Return value**
+[List
](#List) - The `List` object
+
+**Example**
+```js
+new List()
+ .setStyleName('Summary');
+```
+**Since**: 0.11.0
* * *
@@ -2378,9 +2896,10 @@ The `clear()` method removes all items from the list.
**Example**
```js
const list = new List();
-list.addItem('First item'); // 'First item'
-list.addItem('Second item'); // 'First item', 'Second item'
-list.clear(); // -
+list.addItem();
+list.addItem();
+list.clear();
+list.getItems(); // []
```
**Since**: 0.2.0
@@ -2397,10 +2916,10 @@ The `size()` method returns the number of items in the list.
**Example**
```js
const list = new List();
-list.size(); // 0
-list.addItem('First item');
-list.addItem('Second item');
-list.size(); // 2
+list.size(); // 0
+list.addItem();
+list.addItem();
+list.size(); // 2
```
**Since**: 0.2.0
@@ -2413,21 +2932,77 @@ This class represents an item in a list.
**Since**: 0.2.0
+* [ListItem](#ListItem)
+ * [`new ListItem()`](#new_ListItem_new)
+ * [`.addHeading([text], [level])`](#ListItem+addHeading) ⇒ [Heading
](#Heading)
+ * [`.addList()`](#ListItem+addList) ⇒ [List
](#List)
+ * [`.addParagraph([text])`](#ListItem+addParagraph) ⇒ [Paragraph
](#Paragraph)
+
+
* * *
-### `new ListItem([text])`
+### `new ListItem()`
Creates a `ListItem` instance that represents an item in a list.
+**Example**
+```js
+new ListItem();
+```
+
+* * *
+
+
+
+### `listItem.addHeading([text], [level])` ⇒ [Heading
](#Heading)
+Adds a heading at the end of the list item.
+If a text is given, this will be set as text content of the heading.
+
#### Parameters
-- [text] string
= "''"
-The text content of the list item; defaults to an empty string if omitted
+- [text] string
+The text content of the heading
+- [level] number
= 1
+The heading level; defaults to 1 if omitted
+
+**Return value**
+[Heading
](#Heading) - The newly added heading
+
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listItem.addList()` ⇒ [List
](#List)
+Adds an empty list at the end of the list item.
+
+**Return value**
+[List
](#List) - The newly added list
**Example**
```js
-new ListItem('First item');
+new ListItem()
+ .addList();
```
+**Since**: 0.11.0
+
+* * *
+
+
+
+### `listItem.addParagraph([text])` ⇒ [Paragraph
](#Paragraph)
+Adds a paragraph at the end of the list item.
+If a text is given, this will be set as text content of the paragraph.
+
+#### Parameters
+- [text] string
+The text content of the paragraph
+
+**Return value**
+[Paragraph
](#Paragraph) - The newly added paragraph
+
+**Since**: 0.11.0
* * *
diff --git a/docs/Features.md b/docs/Features.md
index 03171b83..2483646c 100644
--- a/docs/Features.md
+++ b/docs/Features.md
@@ -81,7 +81,9 @@
- ❌ span
- ❌ hyperlink
- ❌ number
-- ❌ List
+- ✔️ List
+ - ❌ List header
+ - ✔️ List item
- ❌ Section
- ❌ Change Tracking
- ❌ Bookmark & Reference
@@ -98,4 +100,5 @@
diff --git a/jest.config.js b/jest.config.js
index 4a5b465e..26112d7b 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,4 +1,5 @@
module.exports = {
+ collectCoverage: true,
preset: 'ts-jest',
testEnvironment: 'node',
};
diff --git a/package-lock.json b/package-lock.json
index 974e3eae..177e9610 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -57,27 +57,6 @@
"js-tokens": "^4.0.0"
}
},
- "@babel/parser": {
- "version": "7.9.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz",
- "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==",
- "dev": true
- },
- "json5": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz",
- "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.5"
- }
- },
- "minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
- "dev": true
- },
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
@@ -234,9 +213,9 @@
}
},
"@babel/parser": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz",
- "integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==",
+ "version": "7.9.4",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz",
+ "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==",
"dev": true
},
"@babel/plugin-syntax-async-generators": {
@@ -359,12 +338,6 @@
"chalk": "^2.0.0",
"js-tokens": "^4.0.0"
}
- },
- "@babel/parser": {
- "version": "7.9.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz",
- "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==",
- "dev": true
}
}
},
@@ -404,12 +377,6 @@
"chalk": "^2.0.0",
"js-tokens": "^4.0.0"
}
- },
- "@babel/parser": {
- "version": "7.9.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz",
- "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==",
- "dev": true
}
}
},
@@ -438,14 +405,6 @@
"requires": {
"exec-sh": "^0.3.2",
"minimist": "^1.2.0"
- },
- "dependencies": {
- "minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
- "dev": true
- }
}
},
"@istanbuljs/load-nyc-config": {
@@ -467,17 +426,30 @@
"dev": true
},
"@jest/console": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/console/-/console-25.3.0.tgz",
- "integrity": "sha512-LvSDNqpmZIZyweFaEQ6wKY7CbexPitlsLHGJtcooNECo0An/w49rFhjCJzu6efeb6+a3ee946xss1Jcd9r03UQ==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/console/-/console-25.4.0.tgz",
+ "integrity": "sha512-CfE0erx4hdJ6t7RzAcE1wLG6ZzsHSmybvIBQDoCkDM1QaSeWL9wJMzID/2BbHHa7ll9SsbbK43HjbERbBaFX2A==",
"dev": true,
"requires": {
- "@jest/source-map": "^25.2.6",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
- "jest-util": "^25.3.0",
+ "jest-message-util": "^25.4.0",
+ "jest-util": "^25.4.0",
"slash": "^3.0.0"
},
"dependencies": {
+ "@jest/types": {
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
+ "dev": true,
+ "requires": {
+ "@types/istanbul-lib-coverage": "^2.0.0",
+ "@types/istanbul-reports": "^1.1.1",
+ "@types/yargs": "^15.0.0",
+ "chalk": "^3.0.0"
+ }
+ },
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
@@ -531,33 +503,33 @@
}
},
"@jest/core": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/core/-/core-25.3.0.tgz",
- "integrity": "sha512-+D5a/tFf6pA/Gqft2DLBp/yeSRgXhlJ+Wpst0X/ZkfTRP54qDR3C61VfHwaex+GzZBiTcE9vQeoZ2v5T10+Mqw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/core/-/core-25.4.0.tgz",
+ "integrity": "sha512-h1x9WSVV0+TKVtATGjyQIMJENs8aF6eUjnCoi4jyRemYZmekLr8EJOGQqTWEX8W6SbZ6Skesy9pGXrKeAolUJw==",
"dev": true,
"requires": {
- "@jest/console": "^25.3.0",
- "@jest/reporters": "^25.3.0",
- "@jest/test-result": "^25.3.0",
- "@jest/transform": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/console": "^25.4.0",
+ "@jest/reporters": "^25.4.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/transform": "^25.4.0",
+ "@jest/types": "^25.4.0",
"ansi-escapes": "^4.2.1",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.3",
- "jest-changed-files": "^25.3.0",
- "jest-config": "^25.3.0",
- "jest-haste-map": "^25.3.0",
- "jest-message-util": "^25.3.0",
+ "jest-changed-files": "^25.4.0",
+ "jest-config": "^25.4.0",
+ "jest-haste-map": "^25.4.0",
+ "jest-message-util": "^25.4.0",
"jest-regex-util": "^25.2.6",
- "jest-resolve": "^25.3.0",
- "jest-resolve-dependencies": "^25.3.0",
- "jest-runner": "^25.3.0",
- "jest-runtime": "^25.3.0",
- "jest-snapshot": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-validate": "^25.3.0",
- "jest-watcher": "^25.3.0",
+ "jest-resolve": "^25.4.0",
+ "jest-resolve-dependencies": "^25.4.0",
+ "jest-runner": "^25.4.0",
+ "jest-runtime": "^25.4.0",
+ "jest-snapshot": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-validate": "^25.4.0",
+ "jest-watcher": "^25.4.0",
"micromatch": "^4.0.2",
"p-each-series": "^2.1.0",
"realpath-native": "^2.0.0",
@@ -567,9 +539,9 @@
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -619,12 +591,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -652,20 +618,20 @@
}
},
"@jest/environment": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.3.0.tgz",
- "integrity": "sha512-vgooqwJTHLLak4fE+TaCGeYP7Tz1Y3CKOsNxR1sE0V3nx3KRUHn3NUnt+wbcfd5yQWKZQKAfW6wqbuwQLrXo3g==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.4.0.tgz",
+ "integrity": "sha512-KDctiak4mu7b4J6BIoN/+LUL3pscBzoUCP+EtSPd2tK9fqyDY5OF+CmkBywkFWezS9tyH5ACOQNtpjtueEDH6Q==",
"dev": true,
"requires": {
- "@jest/fake-timers": "^25.3.0",
- "@jest/types": "^25.3.0",
- "jest-mock": "^25.3.0"
+ "@jest/fake-timers": "^25.4.0",
+ "@jest/types": "^25.4.0",
+ "jest-mock": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -727,22 +693,22 @@
}
},
"@jest/fake-timers": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.3.0.tgz",
- "integrity": "sha512-NHAj7WbsyR3qBJPpBwSwqaq2WluIvUQsyzpJTN7XDVk7VnlC/y1BAnaYZL3vbPIP8Nhm0Ae5DJe0KExr/SdMJQ==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.4.0.tgz",
+ "integrity": "sha512-lI9z+VOmVX4dPPFzyj0vm+UtaB8dCJJ852lcDnY0uCPRvZAaVGnMwBBc1wxtf+h7Vz6KszoOvKAt4QijDnHDkg==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
- "jest-message-util": "^25.3.0",
- "jest-mock": "^25.3.0",
- "jest-util": "^25.3.0",
+ "@jest/types": "^25.4.0",
+ "jest-message-util": "^25.4.0",
+ "jest-mock": "^25.4.0",
+ "jest-util": "^25.4.0",
"lolex": "^5.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -804,16 +770,16 @@
}
},
"@jest/reporters": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.3.0.tgz",
- "integrity": "sha512-1u0ZBygs0C9DhdYgLCrRfZfNKQa+9+J7Uo+Z9z0RWLHzgsxhoG32lrmMOtUw48yR6bLNELdvzormwUqSk4H4Vg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.4.0.tgz",
+ "integrity": "sha512-bhx/buYbZgLZm4JWLcRJ/q9Gvmd3oUh7k2V7gA4ZYBx6J28pIuykIouclRdiAC6eGVX1uRZT+GK4CQJLd/PwPg==",
"dev": true,
"requires": {
"@bcoe/v8-coverage": "^0.2.3",
- "@jest/console": "^25.3.0",
- "@jest/test-result": "^25.3.0",
- "@jest/transform": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/console": "^25.4.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/transform": "^25.4.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"collect-v8-coverage": "^1.0.0",
"exit": "^0.1.2",
@@ -823,22 +789,22 @@
"istanbul-lib-report": "^3.0.0",
"istanbul-lib-source-maps": "^4.0.0",
"istanbul-reports": "^3.0.2",
- "jest-haste-map": "^25.3.0",
- "jest-resolve": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-worker": "^25.2.6",
+ "jest-haste-map": "^25.4.0",
+ "jest-resolve": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-worker": "^25.4.0",
"node-notifier": "^6.0.0",
"slash": "^3.0.0",
"source-map": "^0.6.0",
"string-length": "^3.1.0",
"terminal-link": "^2.0.0",
- "v8-to-istanbul": "^4.0.1"
+ "v8-to-istanbul": "^4.1.3"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -908,32 +874,24 @@
"callsites": "^3.0.0",
"graceful-fs": "^4.2.3",
"source-map": "^0.6.0"
- },
- "dependencies": {
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- }
}
},
"@jest/test-result": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.3.0.tgz",
- "integrity": "sha512-mqrGuiiPXl1ap09Mydg4O782F3ouDQfsKqtQzIjitpwv3t1cHDwCto21jThw6WRRE+dKcWQvLG70GpyLJICfGw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.4.0.tgz",
+ "integrity": "sha512-8BAKPaMCHlL941eyfqhWbmp3MebtzywlxzV+qtngQ3FH+RBqnoSAhNEPj4MG7d2NVUrMOVfrwuzGpVIK+QnMAA==",
"dev": true,
"requires": {
- "@jest/console": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/console": "^25.4.0",
+ "@jest/types": "^25.4.0",
"@types/istanbul-lib-coverage": "^2.0.0",
"collect-v8-coverage": "^1.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -995,33 +953,33 @@
}
},
"@jest/test-sequencer": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.3.0.tgz",
- "integrity": "sha512-Xvns3xbji7JCvVcDGvqJ/pf4IpmohPODumoPEZJ0/VgC5gI4XaNVIBET2Dq5Czu6Gk3xFcmhtthh/MBOTljdNg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.4.0.tgz",
+ "integrity": "sha512-240cI+nsM3attx2bMp9uGjjHrwrpvxxrZi8Tyqp/cfOzl98oZXVakXBgxODGyBYAy/UGXPKXLvNc2GaqItrsJg==",
"dev": true,
"requires": {
- "@jest/test-result": "^25.3.0",
- "jest-haste-map": "^25.3.0",
- "jest-runner": "^25.3.0",
- "jest-runtime": "^25.3.0"
+ "@jest/test-result": "^25.4.0",
+ "jest-haste-map": "^25.4.0",
+ "jest-runner": "^25.4.0",
+ "jest-runtime": "^25.4.0"
}
},
"@jest/transform": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.3.0.tgz",
- "integrity": "sha512-W01p8kTDvvEX6kd0tJc7Y5VdYyFaKwNWy1HQz6Jqlhu48z/8Gxp+yFCDVj+H8Rc7ezl3Mg0hDaGuFVkmHOqirg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.4.0.tgz",
+ "integrity": "sha512-t1w2S6V1sk++1HHsxboWxPEuSpN8pxEvNrZN+Ud/knkROWtf8LeUmz73A4ezE8476a5AM00IZr9a8FO9x1+j3g==",
"dev": true,
"requires": {
"@babel/core": "^7.1.0",
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"babel-plugin-istanbul": "^6.0.0",
"chalk": "^3.0.0",
"convert-source-map": "^1.4.0",
"fast-json-stable-stringify": "^2.0.0",
"graceful-fs": "^4.2.3",
- "jest-haste-map": "^25.3.0",
+ "jest-haste-map": "^25.4.0",
"jest-regex-util": "^25.2.6",
- "jest-util": "^25.3.0",
+ "jest-util": "^25.4.0",
"micromatch": "^4.0.2",
"pirates": "^4.0.1",
"realpath-native": "^2.0.0",
@@ -1031,9 +989,9 @@
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -1077,12 +1035,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -1268,9 +1220,15 @@
"dev": true
},
"@types/node": {
- "version": "10.17.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.19.tgz",
- "integrity": "sha512-46/xThm3zvvc9t9/7M3AaLEqtOpqlYYYcCZbpYVAQHG20+oMZBkae/VMrn4BTi6AJ8cpack0mEXhGiKmDNbLrQ==",
+ "version": "10.17.20",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.20.tgz",
+ "integrity": "sha512-XgDgo6W10SeGEAM0k7FosJpvLCynOTYns4Xk3J5HGrA+UI/bKZ30PGMzOP5Lh2zs4259I71FSYLAtjnx3qhObw==",
+ "dev": true
+ },
+ "@types/normalize-package-data": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
+ "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==",
"dev": true
},
"@types/prettier": {
@@ -1307,111 +1265,56 @@
"dev": true
},
"@typescript-eslint/eslint-plugin": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.27.0.tgz",
- "integrity": "sha512-/my+vVHRN7zYgcp0n4z5A6HAK7bvKGBiswaM5zIlOQczsxj/aiD7RcgD+dvVFuwFaGh5+kM7XA6Q6PN0bvb1tw==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.28.0.tgz",
+ "integrity": "sha512-w0Ugcq2iatloEabQP56BRWJowliXUP5Wv6f9fKzjJmDW81hOTBxRoJ4LoEOxRpz9gcY51Libytd2ba3yLmSOfg==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "2.27.0",
+ "@typescript-eslint/experimental-utils": "2.28.0",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^3.0.0",
"tsutils": "^3.17.1"
- },
- "dependencies": {
- "@typescript-eslint/experimental-utils": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.27.0.tgz",
- "integrity": "sha512-vOsYzjwJlY6E0NJRXPTeCGqjv5OHgRU1kzxHKWJVPjDYGbPgLudBXjIlc+OD1hDBZ4l1DLbOc5VjofKahsu9Jw==",
- "dev": true,
- "requires": {
- "@types/json-schema": "^7.0.3",
- "@typescript-eslint/typescript-estree": "2.27.0",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^2.0.0"
- }
- },
- "@typescript-eslint/typescript-estree": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.27.0.tgz",
- "integrity": "sha512-t2miCCJIb/FU8yArjAvxllxbTiyNqaXJag7UOpB5DVoM3+xnjeOngtqlJkLRnMtzaRcJhe3CIR9RmL40omubhg==",
- "dev": true,
- "requires": {
- "debug": "^4.1.1",
- "eslint-visitor-keys": "^1.1.0",
- "glob": "^7.1.6",
- "is-glob": "^4.0.1",
- "lodash": "^4.17.15",
- "semver": "^6.3.0",
- "tsutils": "^3.17.1"
- }
- },
- "glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dev": true,
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "lodash": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
- "dev": true
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
- }
+ }
+ },
+ "@typescript-eslint/experimental-utils": {
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.28.0.tgz",
+ "integrity": "sha512-4SL9OWjvFbHumM/Zh/ZeEjUFxrYKtdCi7At4GyKTbQlrj1HcphIDXlje4Uu4cY+qzszR5NdVin4CCm6AXCjd6w==",
+ "dev": true,
+ "requires": {
+ "@types/json-schema": "^7.0.3",
+ "@typescript-eslint/typescript-estree": "2.28.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^2.0.0"
}
},
"@typescript-eslint/parser": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.27.0.tgz",
- "integrity": "sha512-HFUXZY+EdwrJXZo31DW4IS1ujQW3krzlRjBrFRrJcMDh0zCu107/nRfhk/uBasO8m0NVDbBF5WZKcIUMRO7vPg==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.28.0.tgz",
+ "integrity": "sha512-RqPybRDquui9d+K86lL7iPqH6Dfp9461oyqvlXMNtap+PyqYbkY5dB7LawQjDzot99fqzvS0ZLZdfe+1Bt3Jgw==",
"dev": true,
"requires": {
"@types/eslint-visitor-keys": "^1.0.0",
- "@typescript-eslint/experimental-utils": "2.27.0",
- "@typescript-eslint/typescript-estree": "2.27.0",
+ "@typescript-eslint/experimental-utils": "2.28.0",
+ "@typescript-eslint/typescript-estree": "2.28.0",
"eslint-visitor-keys": "^1.1.0"
+ }
+ },
+ "@typescript-eslint/typescript-estree": {
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.28.0.tgz",
+ "integrity": "sha512-HDr8MP9wfwkiuqzRVkuM3BeDrOC4cKbO5a6BymZBHUt5y/2pL0BXD6I/C/ceq2IZoHWhcASk+5/zo+dwgu9V8Q==",
+ "dev": true,
+ "requires": {
+ "debug": "^4.1.1",
+ "eslint-visitor-keys": "^1.1.0",
+ "glob": "^7.1.6",
+ "is-glob": "^4.0.1",
+ "lodash": "^4.17.15",
+ "semver": "^6.3.0",
+ "tsutils": "^3.17.1"
},
"dependencies": {
- "@typescript-eslint/experimental-utils": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.27.0.tgz",
- "integrity": "sha512-vOsYzjwJlY6E0NJRXPTeCGqjv5OHgRU1kzxHKWJVPjDYGbPgLudBXjIlc+OD1hDBZ4l1DLbOc5VjofKahsu9Jw==",
- "dev": true,
- "requires": {
- "@types/json-schema": "^7.0.3",
- "@typescript-eslint/typescript-estree": "2.27.0",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^2.0.0"
- }
- },
- "@typescript-eslint/typescript-estree": {
- "version": "2.27.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.27.0.tgz",
- "integrity": "sha512-t2miCCJIb/FU8yArjAvxllxbTiyNqaXJag7UOpB5DVoM3+xnjeOngtqlJkLRnMtzaRcJhe3CIR9RmL40omubhg==",
- "dev": true,
- "requires": {
- "debug": "^4.1.1",
- "eslint-visitor-keys": "^1.1.0",
- "glob": "^7.1.6",
- "is-glob": "^4.0.1",
- "lodash": "^4.17.15",
- "semver": "^6.3.0",
- "tsutils": "^3.17.1"
- }
- },
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
@@ -1650,24 +1553,24 @@
"dev": true
},
"babel-jest": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.3.0.tgz",
- "integrity": "sha512-qiXeX1Cmw4JZ5yQ4H57WpkO0MZ61Qj+YnsVUwAMnDV5ls+yHon11XjarDdgP7H8lTmiEi6biiZA8y3Tmvx6pCg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.4.0.tgz",
+ "integrity": "sha512-p+epx4K0ypmHuCnd8BapfyOwWwosNCYhedetQey1awddtfmEX0MmdxctGl956uwUmjwXR5VSS5xJcGX9DvdIog==",
"dev": true,
"requires": {
- "@jest/transform": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/transform": "^25.4.0",
+ "@jest/types": "^25.4.0",
"@types/babel__core": "^7.1.7",
"babel-plugin-istanbul": "^6.0.0",
- "babel-preset-jest": "^25.3.0",
+ "babel-preset-jest": "^25.4.0",
"chalk": "^3.0.0",
"slash": "^3.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -1742,9 +1645,9 @@
}
},
"babel-plugin-jest-hoist": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.2.6.tgz",
- "integrity": "sha512-qE2xjMathybYxjiGFJg0mLFrz0qNp83aNZycWDY/SuHiZNq+vQfRQtuINqyXyue1ELd8Rd+1OhFSLjms8msMbw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.4.0.tgz",
+ "integrity": "sha512-M3a10JCtTyKevb0MjuH6tU+cP/NVQZ82QPADqI1RQYY1OphztsCeIeQmTsHmF/NS6m0E51Zl4QNsI3odXSQF5w==",
"dev": true,
"requires": {
"@types/babel__traverse": "^7.0.6"
@@ -1769,12 +1672,12 @@
}
},
"babel-preset-jest": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.3.0.tgz",
- "integrity": "sha512-tjdvLKNMwDI9r+QWz9sZUQGTq1dpoxjUqFUpEasAc7MOtHg9XuLT2fx0udFG+k1nvMV0WvHHVAN7VmCZ+1Zxbw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.4.0.tgz",
+ "integrity": "sha512-PwFiEWflHdu3JCeTr0Pb9NcHHE34qWFnPQRVPvqQITx4CsDCzs6o05923I10XvLvn9nNsRHuiVgB72wG/90ZHQ==",
"dev": true,
"requires": {
- "babel-plugin-jest-hoist": "^25.2.6",
+ "babel-plugin-jest-hoist": "^25.4.0",
"babel-preset-current-node-syntax": "^0.1.2"
}
},
@@ -2496,6 +2399,15 @@
"integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==",
"dev": true
},
+ "error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dev": true,
+ "requires": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -2797,23 +2709,23 @@
}
},
"expect": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/expect/-/expect-25.3.0.tgz",
- "integrity": "sha512-buboTXML2h/L0Kh44Ys2Cx49mX20ISc5KDirkxIs3Q9AJv0kazweUAbukegr+nHDOvFRKmxdojjIHCjqAceYfg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/expect/-/expect-25.4.0.tgz",
+ "integrity": "sha512-7BDIX99BTi12/sNGJXA9KMRcby4iAmu1xccBOhyKCyEhjcVKS3hPmHdA/4nSI9QGIOkUropKqr3vv7WMDM5lvQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-styles": "^4.0.0",
"jest-get-type": "^25.2.6",
- "jest-matcher-utils": "^25.3.0",
- "jest-message-util": "^25.3.0",
+ "jest-matcher-utils": "^25.4.0",
+ "jest-message-util": "^25.4.0",
"jest-regex-util": "^25.2.6"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -2863,12 +2775,6 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"supports-color": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
@@ -3358,6 +3264,12 @@
}
}
},
+ "hosted-git-info": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
+ "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",
+ "dev": true
+ },
"html-encoding-sniffer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz",
@@ -3575,6 +3487,12 @@
}
}
},
+ "is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
+ "dev": true
+ },
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
@@ -3753,12 +3671,6 @@
"semver": "^6.3.0"
},
"dependencies": {
- "@babel/parser": {
- "version": "7.9.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz",
- "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==",
- "dev": true
- },
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
@@ -3817,20 +3729,20 @@
}
},
"jest": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest/-/jest-25.3.0.tgz",
- "integrity": "sha512-iKd5ShQSHzFT5IL/6h5RZJhApgqXSoPxhp5HEi94v6OAw9QkF8T7X+liEU2eEHJ1eMFYTHmeWLrpBWulsDpaUg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest/-/jest-25.4.0.tgz",
+ "integrity": "sha512-XWipOheGB4wai5JfCYXd6vwsWNwM/dirjRoZgAa7H2wd8ODWbli2AiKjqG8AYhyx+8+5FBEdpO92VhGlBydzbw==",
"dev": true,
"requires": {
- "@jest/core": "^25.3.0",
+ "@jest/core": "^25.4.0",
"import-local": "^3.0.2",
- "jest-cli": "^25.3.0"
+ "jest-cli": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -3881,21 +3793,21 @@
"dev": true
},
"jest-cli": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.3.0.tgz",
- "integrity": "sha512-XpNQPlW1tzpP7RGG8dxpkRegYDuLjzSiENu92+CYM87nEbmEPb3b4+yo8xcsHOnj0AG7DUt9b3uG8LuHI3MDzw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.4.0.tgz",
+ "integrity": "sha512-usyrj1lzCJZMRN1r3QEdnn8e6E6yCx/QN7+B1sLoA68V7f3WlsxSSQfy0+BAwRiF4Hz2eHauf11GZG3PIfWTXQ==",
"dev": true,
"requires": {
- "@jest/core": "^25.3.0",
- "@jest/test-result": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/core": "^25.4.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"import-local": "^3.0.2",
"is-ci": "^2.0.0",
- "jest-config": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-validate": "^25.3.0",
+ "jest-config": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-validate": "^25.4.0",
"prompts": "^2.0.1",
"realpath-native": "^2.0.0",
"yargs": "^15.3.1"
@@ -3913,20 +3825,20 @@
}
},
"jest-changed-files": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.3.0.tgz",
- "integrity": "sha512-eqd5hyLbUjIVvLlJ3vQ/MoPxsxfESVXG9gvU19XXjKzxr+dXmZIqCXiY0OiYaibwlHZBJl2Vebkc0ADEMzCXew==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.4.0.tgz",
+ "integrity": "sha512-VR/rfJsEs4BVMkwOTuStRyS630fidFVekdw/lBaBQjx9KK3VZFOZ2c0fsom2fRp8pMCrCTP6LGna00o/DXGlqA==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"execa": "^3.2.0",
"throat": "^5.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4077,35 +3989,35 @@
}
},
"jest-config": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.3.0.tgz",
- "integrity": "sha512-CmF1JnNWFmoCSPC4tnU52wnVBpuxHjilA40qH/03IHxIevkjUInSMwaDeE6ACfxMPTLidBGBCO3EbxvzPbo8wA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.4.0.tgz",
+ "integrity": "sha512-egT9aKYxMyMSQV1aqTgam0SkI5/I2P9qrKexN5r2uuM2+68ypnc+zPGmfUxK7p1UhE7dYH9SLBS7yb+TtmT1AA==",
"dev": true,
"requires": {
"@babel/core": "^7.1.0",
- "@jest/test-sequencer": "^25.3.0",
- "@jest/types": "^25.3.0",
- "babel-jest": "^25.3.0",
+ "@jest/test-sequencer": "^25.4.0",
+ "@jest/types": "^25.4.0",
+ "babel-jest": "^25.4.0",
"chalk": "^3.0.0",
"deepmerge": "^4.2.2",
"glob": "^7.1.1",
- "jest-environment-jsdom": "^25.3.0",
- "jest-environment-node": "^25.3.0",
+ "jest-environment-jsdom": "^25.4.0",
+ "jest-environment-node": "^25.4.0",
"jest-get-type": "^25.2.6",
- "jest-jasmine2": "^25.3.0",
+ "jest-jasmine2": "^25.4.0",
"jest-regex-util": "^25.2.6",
- "jest-resolve": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-validate": "^25.3.0",
+ "jest-resolve": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-validate": "^25.4.0",
"micromatch": "^4.0.2",
- "pretty-format": "^25.3.0",
+ "pretty-format": "^25.4.0",
"realpath-native": "^2.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4161,19 +4073,13 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -4264,22 +4170,22 @@
}
},
"jest-each": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-25.3.0.tgz",
- "integrity": "sha512-aBfS4VOf/Qs95yUlX6d6WBv0szvOcTkTTyCIaLuQGj4bSHsT+Wd9dDngVHrCe5uytxpN8VM+NAloI6nbPjXfXw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-25.4.0.tgz",
+ "integrity": "sha512-lwRIJ8/vQU/6vq3nnSSUw1Y3nz5tkYSFIywGCZpUBd6WcRgpn8NmJoQICojbpZmsJOJNHm0BKdyuJ6Xdx+eDQQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"jest-get-type": "^25.2.6",
- "jest-util": "^25.3.0",
- "pretty-format": "^25.3.0"
+ "jest-util": "^25.4.0",
+ "pretty-format": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4335,19 +4241,13 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -4365,23 +4265,23 @@
}
},
"jest-environment-jsdom": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.3.0.tgz",
- "integrity": "sha512-jdE4bQN+k2QEZ9sWOxsqDJvMzbdFSCN/4tw8X0TQaCqyzKz58PyEf41oIr4WO7ERdp7WaJGBSUKF7imR3UW1lg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.4.0.tgz",
+ "integrity": "sha512-KTitVGMDrn2+pt7aZ8/yUTuS333w3pWt1Mf88vMntw7ZSBNDkRS6/4XLbFpWXYfWfp1FjcjQTOKzbK20oIehWQ==",
"dev": true,
"requires": {
- "@jest/environment": "^25.3.0",
- "@jest/fake-timers": "^25.3.0",
- "@jest/types": "^25.3.0",
- "jest-mock": "^25.3.0",
- "jest-util": "^25.3.0",
+ "@jest/environment": "^25.4.0",
+ "@jest/fake-timers": "^25.4.0",
+ "@jest/types": "^25.4.0",
+ "jest-mock": "^25.4.0",
+ "jest-util": "^25.4.0",
"jsdom": "^15.2.1"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4443,23 +4343,23 @@
}
},
"jest-environment-node": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.3.0.tgz",
- "integrity": "sha512-XO09S29Nx1NU7TiMPHMoDIkxoGBuKSTbE+sHp0gXbeLDXhIdhysUI25kOqFFSD9AuDgvPvxWCXrvNqiFsOH33g==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.4.0.tgz",
+ "integrity": "sha512-wryZ18vsxEAKFH7Z74zi/y/SyI1j6UkVZ6QsllBuT/bWlahNfQjLNwFsgh/5u7O957dYFoXj4yfma4n4X6kU9A==",
"dev": true,
"requires": {
- "@jest/environment": "^25.3.0",
- "@jest/fake-timers": "^25.3.0",
- "@jest/types": "^25.3.0",
- "jest-mock": "^25.3.0",
- "jest-util": "^25.3.0",
+ "@jest/environment": "^25.4.0",
+ "@jest/fake-timers": "^25.4.0",
+ "@jest/types": "^25.4.0",
+ "jest-mock": "^25.4.0",
+ "jest-util": "^25.4.0",
"semver": "^6.3.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4533,19 +4433,19 @@
"dev": true
},
"jest-haste-map": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.3.0.tgz",
- "integrity": "sha512-LjXaRa+F8wwtSxo9G+hHD/Cp63PPQzvaBL9XCVoJD2rrcJO0Zr2+YYzAFWWYJ5GlPUkoaJFJtOuk0sL6MJY80A==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.4.0.tgz",
+ "integrity": "sha512-5EoCe1gXfGC7jmXbKzqxESrgRcaO3SzWXGCnvp9BcT0CFMyrB1Q6LIsjl9RmvmJGQgW297TCfrdgiy574Rl9HQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"anymatch": "^3.0.3",
"fb-watchman": "^2.0.0",
"fsevents": "^2.1.2",
"graceful-fs": "^4.2.3",
"jest-serializer": "^25.2.6",
- "jest-util": "^25.3.0",
- "jest-worker": "^25.2.6",
+ "jest-util": "^25.4.0",
+ "jest-worker": "^25.4.0",
"micromatch": "^4.0.2",
"sane": "^4.0.3",
"walker": "^1.0.7",
@@ -4553,9 +4453,9 @@
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4599,12 +4499,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -4632,34 +4526,34 @@
}
},
"jest-jasmine2": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.3.0.tgz",
- "integrity": "sha512-NCYOGE6+HNzYFSui52SefgpsnIzvxjn6KAgqw66BdRp37xpMD/4kujDHLNW5bS5i53os5TcMn6jYrzQRO8VPrQ==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.4.0.tgz",
+ "integrity": "sha512-QccxnozujVKYNEhMQ1vREiz859fPN/XklOzfQjm2j9IGytAkUbSwjFRBtQbHaNZ88cItMpw02JnHGsIdfdpwxQ==",
"dev": true,
"requires": {
"@babel/traverse": "^7.1.0",
- "@jest/environment": "^25.3.0",
+ "@jest/environment": "^25.4.0",
"@jest/source-map": "^25.2.6",
- "@jest/test-result": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"co": "^4.6.0",
- "expect": "^25.3.0",
+ "expect": "^25.4.0",
"is-generator-fn": "^2.0.0",
- "jest-each": "^25.3.0",
- "jest-matcher-utils": "^25.3.0",
- "jest-message-util": "^25.3.0",
- "jest-runtime": "^25.3.0",
- "jest-snapshot": "^25.3.0",
- "jest-util": "^25.3.0",
- "pretty-format": "^25.3.0",
+ "jest-each": "^25.4.0",
+ "jest-matcher-utils": "^25.4.0",
+ "jest-message-util": "^25.4.0",
+ "jest-runtime": "^25.4.0",
+ "jest-snapshot": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "pretty-format": "^25.4.0",
"throat": "^5.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4716,12 +4610,12 @@
"dev": true
},
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -4739,19 +4633,19 @@
}
},
"jest-leak-detector": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.3.0.tgz",
- "integrity": "sha512-jk7k24dMIfk8LUSQQGN8PyOy9+J0NAfHZWiDmUDYVMctY8FLJQ1eQ8+PjMoN8PgwhLIggUqgYJnyRFvUz3jLRw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.4.0.tgz",
+ "integrity": "sha512-7Y6Bqfv2xWsB+7w44dvZuLs5SQ//fzhETgOGG7Gq3TTGFdYvAgXGwV8z159RFZ6fXiCPm/szQ90CyfVos9JIFQ==",
"dev": true,
"requires": {
"jest-get-type": "^25.2.6",
- "pretty-format": "^25.3.0"
+ "pretty-format": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4807,19 +4701,13 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -4837,21 +4725,21 @@
}
},
"jest-matcher-utils": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.3.0.tgz",
- "integrity": "sha512-ZBUJ2fchNIZt+fyzkuCFBb8SKaU//Rln45augfUtbHaGyVxCO++ANARdBK9oPGXU3hEDgyy7UHnOP/qNOJXFUg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.4.0.tgz",
+ "integrity": "sha512-yPMdtj7YDgXhnGbc66bowk8AkQ0YwClbbwk3Kzhn5GVDrciiCr27U4NJRbrqXbTdtxjImONITg2LiRIw650k5A==",
"dev": true,
"requires": {
"chalk": "^3.0.0",
- "jest-diff": "^25.3.0",
+ "jest-diff": "^25.4.0",
"jest-get-type": "^25.2.6",
- "pretty-format": "^25.3.0"
+ "pretty-format": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -4901,12 +4789,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "diff-sequences": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.2.6.tgz",
- "integrity": "sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -4914,30 +4796,24 @@
"dev": true
},
"jest-diff": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.3.0.tgz",
- "integrity": "sha512-vyvs6RPoVdiwARwY4kqFWd4PirPLm2dmmkNzKqo38uZOzJvLee87yzDjIZLmY1SjM3XR5DwsUH+cdQ12vgqi1w==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.4.0.tgz",
+ "integrity": "sha512-kklLbJVXW0y8UKOWOdYhI6TH5MG6QAxrWiBMgQaPIuhj3dNFGirKCd+/xfplBXICQ7fI+3QcqHm9p9lWu1N6ug==",
"dev": true,
"requires": {
"chalk": "^3.0.0",
"diff-sequences": "^25.2.6",
"jest-get-type": "^25.2.6",
- "pretty-format": "^25.3.0"
+ "pretty-format": "^25.4.0"
}
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -4955,13 +4831,13 @@
}
},
"jest-message-util": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.3.0.tgz",
- "integrity": "sha512-5QNy9Id4WxJbRITEbA1T1kem9bk7y2fD0updZMSTNHtbEDnYOGLDPAuFBhFgVmOZpv0n6OMdVkK+WhyXEPCcOw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.4.0.tgz",
+ "integrity": "sha512-LYY9hRcVGgMeMwmdfh9tTjeux1OjZHMusq/E5f3tJN+dAoVVkJtq5ZUEPIcB7bpxDUt2zjUsrwg0EGgPQ+OhXQ==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"@types/stack-utils": "^1.0.1",
"chalk": "^3.0.0",
"micromatch": "^4.0.2",
@@ -4970,9 +4846,9 @@
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5034,18 +4910,18 @@
}
},
"jest-mock": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-25.3.0.tgz",
- "integrity": "sha512-yRn6GbuqB4j3aYu+Z1ezwRiZfp0o9om5uOcBovVtkcRLeBCNP5mT0ysdenUsxAHnQUgGwPOE1wwhtQYe6NKirQ==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-25.4.0.tgz",
+ "integrity": "sha512-MdazSfcYAUjJjuVTTnusLPzE0pE4VXpOUzWdj8sbM+q6abUjm3bATVPXFqTXrxSieR8ocpvQ9v/QaQCftioQFg==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0"
+ "@jest/types": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5119,23 +4995,25 @@
"dev": true
},
"jest-resolve": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.3.0.tgz",
- "integrity": "sha512-IHoQAAybulsJ+ZgWis+ekYKDAoFkVH5Nx/znpb41zRtpxj4fr2WNV9iDqavdSm8GIpMlsfZxbC/fV9DhW0q9VQ==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.4.0.tgz",
+ "integrity": "sha512-wOsKqVDFWUiv8BtLMCC6uAJ/pHZkfFgoBTgPtmYlsprAjkxrr2U++ZnB3l5ykBMd2O24lXvf30SMAjJIW6k2aA==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"browser-resolve": "^1.11.3",
"chalk": "^3.0.0",
"jest-pnp-resolver": "^1.2.1",
+ "read-pkg-up": "^7.0.1",
"realpath-native": "^2.0.0",
- "resolve": "^1.15.1"
+ "resolve": "^1.15.1",
+ "slash": "^3.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5186,9 +5064,9 @@
"dev": true
},
"resolve": {
- "version": "1.15.1",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz",
- "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==",
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.16.1.tgz",
+ "integrity": "sha512-rmAglCSqWWMrrBv/XM6sW0NuRFiKViw/W4d9EbC4pt+49H8JwHy+mcGmALTEg504AUDcLTvb1T2q3E9AnmY+ig==",
"dev": true,
"requires": {
"path-parse": "^1.0.6"
@@ -5206,20 +5084,20 @@
}
},
"jest-resolve-dependencies": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.3.0.tgz",
- "integrity": "sha512-bDUlLYmHW+f7J7KgcY2lkq8EMRqKonRl0XoD4Wp5SJkgAxKJnsaIOlrrVNTfXYf+YOu3VCjm/Ac2hPF2nfsCIA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.4.0.tgz",
+ "integrity": "sha512-A0eoZXx6kLiuG1Ui7wITQPl04HwjLErKIJTt8GR3c7UoDAtzW84JtCrgrJ6Tkw6c6MwHEyAaLk7dEPml5pf48A==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"jest-regex-util": "^25.2.6",
- "jest-snapshot": "^25.3.0"
+ "jest-snapshot": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5281,36 +5159,36 @@
}
},
"jest-runner": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.3.0.tgz",
- "integrity": "sha512-csDqSC9qGHYWDrzrElzEgFbteztFeZJmKhSgY5jlCIcN0+PhActzRNku0DA1Xa1HxGOb0/AfbP1EGJlP4fGPtA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.4.0.tgz",
+ "integrity": "sha512-wWQSbVgj2e/1chFdMRKZdvlmA6p1IPujhpLT7TKNtCSl1B0PGBGvJjCaiBal/twaU2yfk8VKezHWexM8IliBfA==",
"dev": true,
"requires": {
- "@jest/console": "^25.3.0",
- "@jest/environment": "^25.3.0",
- "@jest/test-result": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/console": "^25.4.0",
+ "@jest/environment": "^25.4.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.3",
- "jest-config": "^25.3.0",
+ "jest-config": "^25.4.0",
"jest-docblock": "^25.3.0",
- "jest-haste-map": "^25.3.0",
- "jest-jasmine2": "^25.3.0",
- "jest-leak-detector": "^25.3.0",
- "jest-message-util": "^25.3.0",
- "jest-resolve": "^25.3.0",
- "jest-runtime": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-worker": "^25.2.6",
+ "jest-haste-map": "^25.4.0",
+ "jest-jasmine2": "^25.4.0",
+ "jest-leak-detector": "^25.4.0",
+ "jest-message-util": "^25.4.0",
+ "jest-resolve": "^25.4.0",
+ "jest-runtime": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-worker": "^25.4.0",
"source-map-support": "^0.5.6",
"throat": "^5.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5354,12 +5232,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -5378,32 +5250,32 @@
}
},
"jest-runtime": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.3.0.tgz",
- "integrity": "sha512-gn5KYB1wxXRM3nfw8fVpthFu60vxQUCr+ShGq41+ZBFF3DRHZRKj3HDWVAVB4iTNBj2y04QeAo5cZ/boYaPg0w==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.4.0.tgz",
+ "integrity": "sha512-lgNJlCDULtXu9FumnwCyWlOub8iytijwsPNa30BKrSNtgoT6NUMXOPrZvsH06U6v0wgD/Igwz13nKA2wEKU2VA==",
"dev": true,
"requires": {
- "@jest/console": "^25.3.0",
- "@jest/environment": "^25.3.0",
+ "@jest/console": "^25.4.0",
+ "@jest/environment": "^25.4.0",
"@jest/source-map": "^25.2.6",
- "@jest/test-result": "^25.3.0",
- "@jest/transform": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/transform": "^25.4.0",
+ "@jest/types": "^25.4.0",
"@types/yargs": "^15.0.0",
"chalk": "^3.0.0",
"collect-v8-coverage": "^1.0.0",
"exit": "^0.1.2",
"glob": "^7.1.3",
"graceful-fs": "^4.2.3",
- "jest-config": "^25.3.0",
- "jest-haste-map": "^25.3.0",
- "jest-message-util": "^25.3.0",
- "jest-mock": "^25.3.0",
+ "jest-config": "^25.4.0",
+ "jest-haste-map": "^25.4.0",
+ "jest-message-util": "^25.4.0",
+ "jest-mock": "^25.4.0",
"jest-regex-util": "^25.2.6",
- "jest-resolve": "^25.3.0",
- "jest-snapshot": "^25.3.0",
- "jest-util": "^25.3.0",
- "jest-validate": "^25.3.0",
+ "jest-resolve": "^25.4.0",
+ "jest-snapshot": "^25.4.0",
+ "jest-util": "^25.4.0",
+ "jest-validate": "^25.4.0",
"realpath-native": "^2.0.0",
"slash": "^3.0.0",
"strip-bom": "^4.0.0",
@@ -5411,9 +5283,9 @@
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5457,12 +5329,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -5487,31 +5353,31 @@
"dev": true
},
"jest-snapshot": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.3.0.tgz",
- "integrity": "sha512-GGpR6Oro2htJPKh5RX4PR1xwo5jCEjtvSPLW1IS7N85y+2bWKbiknHpJJRKSdGXghElb5hWaeQASJI4IiRayGg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.4.0.tgz",
+ "integrity": "sha512-J4CJ0X2SaGheYRZdLz9CRHn9jUknVmlks4UBeu270hPAvdsauFXOhx9SQP2JtRzhnR3cvro/9N9KP83/uvFfRg==",
"dev": true,
"requires": {
"@babel/types": "^7.0.0",
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"@types/prettier": "^1.19.0",
"chalk": "^3.0.0",
- "expect": "^25.3.0",
- "jest-diff": "^25.3.0",
+ "expect": "^25.4.0",
+ "jest-diff": "^25.4.0",
"jest-get-type": "^25.2.6",
- "jest-matcher-utils": "^25.3.0",
- "jest-message-util": "^25.3.0",
- "jest-resolve": "^25.3.0",
+ "jest-matcher-utils": "^25.4.0",
+ "jest-message-util": "^25.4.0",
+ "jest-resolve": "^25.4.0",
"make-dir": "^3.0.0",
"natural-compare": "^1.4.0",
- "pretty-format": "^25.3.0",
+ "pretty-format": "^25.4.0",
"semver": "^6.3.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5561,12 +5427,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "diff-sequences": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.2.6.tgz",
- "integrity": "sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -5574,30 +5434,24 @@
"dev": true
},
"jest-diff": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.3.0.tgz",
- "integrity": "sha512-vyvs6RPoVdiwARwY4kqFWd4PirPLm2dmmkNzKqo38uZOzJvLee87yzDjIZLmY1SjM3XR5DwsUH+cdQ12vgqi1w==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.4.0.tgz",
+ "integrity": "sha512-kklLbJVXW0y8UKOWOdYhI6TH5MG6QAxrWiBMgQaPIuhj3dNFGirKCd+/xfplBXICQ7fI+3QcqHm9p9lWu1N6ug==",
"dev": true,
"requires": {
"chalk": "^3.0.0",
"diff-sequences": "^25.2.6",
"jest-get-type": "^25.2.6",
- "pretty-format": "^25.3.0"
+ "pretty-format": "^25.4.0"
}
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -5621,21 +5475,21 @@
}
},
"jest-util": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.3.0.tgz",
- "integrity": "sha512-dc625P/KS/CpWTJJJxKc4bA3A6c+PJGBAqS8JTJqx4HqPoKNqXg/Ec8biL2Z1TabwK7E7Ilf0/ukSEXM1VwzNA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.4.0.tgz",
+ "integrity": "sha512-WSZD59sBtAUjLv1hMeKbNZXmMcrLRWcYqpO8Dz8b4CeCTZpfNQw2q9uwrYAD+BbJoLJlu4ezVPwtAmM/9/SlZA==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"chalk": "^3.0.0",
"is-ci": "^2.0.0",
"make-dir": "^3.0.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5697,23 +5551,23 @@
}
},
"jest-validate": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-25.3.0.tgz",
- "integrity": "sha512-3WuXgIZ4HXUvW6gk9twFFkT9j6zUorKnF2oEY8VEsHb7x5LGvVlN3WUsbqazVKuyXwvikO2zFJ/YTySMsMje2w==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-25.4.0.tgz",
+ "integrity": "sha512-hvjmes/EFVJSoeP1yOl8qR8mAtMR3ToBkZeXrD/ZS9VxRyWDqQ/E1C5ucMTeSmEOGLipvdlyipiGbHJ+R1MQ0g==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"camelcase": "^5.3.1",
"chalk": "^3.0.0",
"jest-get-type": "^25.2.6",
"leven": "^3.1.0",
- "pretty-format": "^25.3.0"
+ "pretty-format": "^25.4.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5769,19 +5623,13 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "jest-get-type": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz",
- "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==",
- "dev": true
- },
"pretty-format": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.3.0.tgz",
- "integrity": "sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.4.0.tgz",
+ "integrity": "sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ==",
"dev": true,
"requires": {
- "@jest/types": "^25.3.0",
+ "@jest/types": "^25.4.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
@@ -5799,23 +5647,23 @@
}
},
"jest-watcher": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.3.0.tgz",
- "integrity": "sha512-dtFkfidFCS9Ucv8azOg2hkiY3sgJEHeTLtGFHS+jfBEE7eRtrO6+2r1BokyDkaG2FOD7485r/SgpC1MFAENfeA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.4.0.tgz",
+ "integrity": "sha512-36IUfOSRELsKLB7k25j/wutx0aVuHFN6wO94gPNjQtQqFPa2rkOymmx9rM5EzbF3XBZZ2oqD9xbRVoYa2w86gw==",
"dev": true,
"requires": {
- "@jest/test-result": "^25.3.0",
- "@jest/types": "^25.3.0",
+ "@jest/test-result": "^25.4.0",
+ "@jest/types": "^25.4.0",
"ansi-escapes": "^4.2.1",
"chalk": "^3.0.0",
- "jest-util": "^25.3.0",
+ "jest-util": "^25.4.0",
"string-length": "^3.1.0"
},
"dependencies": {
"@jest/types": {
- "version": "25.3.0",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.3.0.tgz",
- "integrity": "sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.4.0.tgz",
+ "integrity": "sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.0",
@@ -5877,9 +5725,9 @@
}
},
"jest-worker": {
- "version": "25.2.6",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.2.6.tgz",
- "integrity": "sha512-FJn9XDUSxcOR4cwDzRfL1z56rUofNTFs539FGASpd50RHdb6EVkhxQqktodW2mI49l+W3H+tFJDotCHUQF6dmA==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.4.0.tgz",
+ "integrity": "sha512-ghAs/1FtfYpMmYQ0AHqxV62XPvKdUDIBBApMZfly+E9JEmYh2K45G0R5dWxx986RN12pRCxsViwQVtGl+N4whw==",
"dev": true,
"requires": {
"merge-stream": "^2.0.0",
@@ -6103,6 +5951,12 @@
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true
},
+ "json-parse-better-errors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
+ "dev": true
+ },
"json-schema": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
@@ -6134,14 +5988,6 @@
"dev": true,
"requires": {
"minimist": "^1.2.5"
- },
- "dependencies": {
- "minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
- "dev": true
- }
}
},
"jsprim": {
@@ -6193,6 +6039,12 @@
"type-check": "~0.3.2"
}
},
+ "lines-and-columns": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",
+ "dev": true
+ },
"linkify-it": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz",
@@ -6520,6 +6372,18 @@
}
}
},
+ "normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dev": true,
+ "requires": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
"normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
@@ -6691,6 +6555,18 @@
"callsites": "^3.0.0"
}
},
+ "parse-json": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",
+ "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-better-errors": "^1.0.1",
+ "lines-and-columns": "^1.1.6"
+ }
+ },
"parse5": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz",
@@ -6885,6 +6761,37 @@
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
"dev": true
},
+ "read-pkg": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
+ "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
+ "dev": true,
+ "requires": {
+ "@types/normalize-package-data": "^2.4.0",
+ "normalize-package-data": "^2.5.0",
+ "parse-json": "^5.0.0",
+ "type-fest": "^0.6.0"
+ },
+ "dependencies": {
+ "type-fest": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
+ "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
+ "dev": true
+ }
+ }
+ },
+ "read-pkg-up": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
+ "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
+ "dev": true,
+ "requires": {
+ "find-up": "^4.1.0",
+ "read-pkg": "^5.2.0",
+ "type-fest": "^0.8.1"
+ }
+ },
"realpath-native": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-2.0.0.tgz",
@@ -7318,12 +7225,6 @@
"to-regex": "^3.0.2"
}
},
- "minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
- "dev": true
- },
"normalize-path": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
@@ -7618,9 +7519,9 @@
}
},
"source-map-support": {
- "version": "0.5.16",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz",
- "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==",
+ "version": "0.5.17",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.17.tgz",
+ "integrity": "sha512-bwdKOBZ5L0gFRh4KOxNap/J/MpvX9Yxsq9lFDx65s3o7F/NiHy7JRaGIS8MwW6tZPAq9UXE207Il0cfcb5yu/Q==",
"dev": true,
"requires": {
"buffer-from": "^1.0.0",
@@ -7633,6 +7534,38 @@
"integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",
"dev": true
},
+ "spdx-correct": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
+ "dev": true,
+ "requires": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-exceptions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
+ "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==",
+ "dev": true
+ },
+ "spdx-expression-parse": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
+ "dev": true,
+ "requires": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-license-ids": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "dev": true
+ },
"split-string": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
@@ -8069,9 +8002,9 @@
}
},
"ts-jest": {
- "version": "25.3.1",
- "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.3.1.tgz",
- "integrity": "sha512-O53FtKguoMUByalAJW+NWEv7c4tus5ckmhfa7/V0jBb2z8v5rDSLFC1Ate7wLknYPC1euuhY6eJjQq4FtOZrkg==",
+ "version": "25.4.0",
+ "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.4.0.tgz",
+ "integrity": "sha512-+0ZrksdaquxGUBwSdTIcdX7VXdwLIlSRsyjivVA9gcO+Cvr6ByqDhu/mi5+HCcb6cMkiQp5xZ8qRO7/eCqLeyw==",
"dev": true,
"requires": {
"bs-logger": "0.x",
@@ -8300,6 +8233,16 @@
}
}
},
+ "validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dev": true,
+ "requires": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
"verror": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
@@ -8547,24 +8490,12 @@
"which-module": "^2.0.0",
"y18n": "^4.0.0",
"yargs-parser": "^18.1.1"
- },
- "dependencies": {
- "yargs-parser": {
- "version": "18.1.2",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.2.tgz",
- "integrity": "sha512-hlIPNR3IzC1YuL1c2UwwDKpXlNFBqD1Fswwh1khz5+d8Cq/8yc/Mn0i+rQXduu8hcrFKvO7Eryk+09NecTQAAQ==",
- "dev": true,
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
}
},
"yargs-parser": {
- "version": "18.1.2",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.2.tgz",
- "integrity": "sha512-hlIPNR3IzC1YuL1c2UwwDKpXlNFBqD1Fswwh1khz5+d8Cq/8yc/Mn0i+rQXduu8hcrFKvO7Eryk+09NecTQAAQ==",
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
"dev": true,
"requires": {
"camelcase": "^5.0.0",
diff --git a/package.json b/package.json
index d240e682..c9edbd9f 100644
--- a/package.json
+++ b/package.json
@@ -41,10 +41,9 @@
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"posttest": "npm run lint",
- "test": "jest",
- "test:watch": "jest --watch",
+ "test": "jest --clearCache && jest",
+ "test:watch": "jest --clearCache && jest --watch",
"test:coverage": "jest --coverage",
- "coverage": "jest --coverage",
"lint": "eslint './{examples,src,test}/**/*.{ts,tsx}'",
"format": "prettier --write './{examples,src,test}/**/*.{ts,js,json,md}'",
"docs": "rm -r ./dist && tsc && jsdoc2md --name-format --param-list-format list --separators --partial ./tools/jsdoc2md/body.hbs ./tools/jsdoc2md/params-list.hbs ./tools/jsdoc2md/returns.hbs ./tools/jsdoc2md/scope.hbs --files ./dist/api/**/*.js > ./docs/API.md"
diff --git a/src/api/meta/Meta.spec.ts b/src/api/meta/Meta.spec.ts
index faa65fcf..1f69c844 100644
--- a/src/api/meta/Meta.spec.ts
+++ b/src/api/meta/Meta.spec.ts
@@ -58,7 +58,6 @@ describe(Meta.name, () => {
});
it('return previous set date', () => {
- console.log({ testDate });
meta.setDate(testDate);
expect(meta.getDate()).toBe(testDate);
diff --git a/src/api/office/AutomaticStyles.spec.ts b/src/api/office/AutomaticStyles.spec.ts
index f2c9d954..aaed959a 100644
--- a/src/api/office/AutomaticStyles.spec.ts
+++ b/src/api/office/AutomaticStyles.spec.ts
@@ -1,48 +1,74 @@
-import { ParagraphStyle, TabStopType } from '../style';
+import { ListStyle, ParagraphStyle, TabStopType } from '../style';
import { AutomaticStyles } from './AutomaticStyles';
describe(AutomaticStyles.name, () => {
let automaticStyles: AutomaticStyles;
- let testStyle1: ParagraphStyle;
- let testStyle2: ParagraphStyle;
+ let listStyle: ListStyle;
+ let paragraphStyle1: ParagraphStyle;
+ let paragraphStyle2: ParagraphStyle;
beforeEach(() => {
- testStyle1 = new ParagraphStyle();
- testStyle2 = new ParagraphStyle().setFontSize(23);
- testStyle2.addTabStop(42, TabStopType.Right);
+ listStyle = new ListStyle();
+ paragraphStyle1 = new ParagraphStyle();
+ paragraphStyle2 = new ParagraphStyle().setFontSize(23);
+ paragraphStyle2.addTabStop(42, TabStopType.Right);
automaticStyles = new AutomaticStyles();
});
- describe('styles', () => {
- it('add similar styles only once', () => {
- automaticStyles.add(testStyle1);
- automaticStyles.add(new ParagraphStyle());
- const styles = automaticStyles.getAll();
+ it('should add a list style and name it L1', () => {
+ automaticStyles.add(listStyle);
- expect(styles.length).toBe(1);
- expect(styles[0]).toEqual(testStyle1);
+ const styles = automaticStyles.getAll();
+ expect(styles.length).toBe(1);
+ expect(automaticStyles.getName(listStyle)).toBe('L1');
+ });
+
+ it('should add different list styles', () => {
+ const listStyle2 = new ListStyle();
+ listStyle2.setConsecutiveNumbering(true).createBulletListLevelStyle(1);
+
+ automaticStyles.add(listStyle);
+ automaticStyles.add(listStyle2);
+
+ const styles = automaticStyles.getAll();
+ expect(styles.length).toBe(2);
+ expect(automaticStyles.getName(listStyle)).toBe('L1');
+ expect(automaticStyles.getName(listStyle2)).toBe('L2');
+ });
- expect(automaticStyles.getName(testStyle1)).toBe('P1');
- });
+ it('should add a paragraph style and name it P1', () => {
+ automaticStyles.add(paragraphStyle1);
- it('add different styles', () => {
- automaticStyles.add(testStyle1);
- automaticStyles.add(testStyle2);
- const styles = automaticStyles.getAll();
+ const styles = automaticStyles.getAll();
+ expect(styles.length).toBe(1);
+ expect(automaticStyles.getName(paragraphStyle1)).toBe('P1');
+ });
+
+ it('should add different paragraph styles', () => {
+ automaticStyles.add(paragraphStyle1);
+ automaticStyles.add(paragraphStyle2);
- expect(styles.length).toBe(2);
+ const styles = automaticStyles.getAll();
+ expect(styles.length).toBe(2);
+ expect(automaticStyles.getName(paragraphStyle1)).toBe('P1');
+ expect(automaticStyles.getName(paragraphStyle2)).toBe('P2');
+ });
- expect(automaticStyles.getName(testStyle1)).toBe('P1');
- expect(automaticStyles.getName(testStyle2)).toBe('P2');
- });
+ it('should add similar styles only once', () => {
+ automaticStyles.add(paragraphStyle1);
+ automaticStyles.add(new ParagraphStyle());
+
+ const styles = automaticStyles.getAll();
+ expect(styles.length).toBe(1);
+ expect(styles[0]).toEqual(paragraphStyle1);
+ });
- it('throw if the name of an unknown style is requested', () => {
- automaticStyles.add(testStyle1);
+ it('should throw if the name of an unknown style is requested', () => {
+ automaticStyles.add(paragraphStyle1);
- expect(() => {
- automaticStyles.getName(testStyle2);
- }).toThrow();
- });
+ expect(() => {
+ automaticStyles.getName(paragraphStyle2);
+ }).toThrow();
});
});
diff --git a/src/api/office/AutomaticStyles.ts b/src/api/office/AutomaticStyles.ts
index 02c0393f..455ae0c9 100644
--- a/src/api/office/AutomaticStyles.ts
+++ b/src/api/office/AutomaticStyles.ts
@@ -1,5 +1,12 @@
-import { createHash } from 'crypto';
-import { ParagraphStyle, Style, StyleFamily } from '../style';
+import { createHash, Hash } from 'crypto';
+import {
+ BulletListLevelStyle,
+ ListStyle,
+ ParagraphStyle,
+ Style,
+} from '../style';
+import { IParagraphProperties } from '../style/IParagraphProperties';
+import { ITextProperties } from '../style/ITextProperties';
import { IStyles } from './IStyles';
type IStyleInformation = {
@@ -23,6 +30,7 @@ type IStyleInformation = {
*/
export class AutomaticStyles implements IStyles {
private styles: Map