is-what 4.1.12 → 4.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -1
  3. package/package.json +10 -1
package/LICENSE CHANGED
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -186,7 +186,7 @@ If you just want to make sure your object _inherits_ from a particular class or
186
186
  ```js
187
187
  import { isInstanceOf } from 'is-what'
188
188
 
189
- isInstanceOf(new XMLHttpRequest(), "EventTarget")
189
+ isInstanceOf(new XMLHttpRequest(), 'EventTarget')
190
190
  // returns true
191
191
  isInstanceOf(globalThis, ReadableStream)
192
192
  // returns false
@@ -255,6 +255,7 @@ function isObjectLike<T extends object>(payload: any): payload is T {
255
255
  return isAnyObject(payload)
256
256
  }
257
257
  ```
258
+
258
259
  ## Meet the family (more tiny utils with TS support)
259
260
 
260
261
  - [is-what 🙉](https://github.com/mesqueeb/is-what)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-what",
3
- "version": "4.1.12",
3
+ "version": "4.1.13",
4
4
  "description": "JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -118,5 +118,14 @@
118
118
  "tree-shaking/no-side-effects-in-initialization": "error",
119
119
  "@typescript-eslint/ban-ts-comment": "off"
120
120
  }
121
+ },
122
+ "prettier": {
123
+ "printWidth": 100,
124
+ "tabWidth": 2,
125
+ "singleQuote": true,
126
+ "trailingComma": "es5",
127
+ "semi": false,
128
+ "bracketSpacing": true,
129
+ "quoteProps": "consistent"
121
130
  }
122
131
  }