is-where 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -54,16 +54,20 @@ Browsers
54
54
  - `isWebKit()`
55
55
  - `isSafari()`
56
56
 
57
- ## Meet the family
57
+ ## Meet the family (more tiny utils with TS support)
58
58
 
59
59
  - [is-what 🙉](https://github.com/mesqueeb/is-what)
60
60
  - [is-where 🙈](https://github.com/mesqueeb/is-where)
61
61
  - [merge-anything 🥡](https://github.com/mesqueeb/merge-anything)
62
+ - [check-anything 👁](https://github.com/mesqueeb/check-anything)
63
+ - [remove-anything ✂️](https://github.com/mesqueeb/remove-anything)
64
+ - [getorset-anything 🐊](https://github.com/mesqueeb/getorset-anything)
65
+ - [map-anything 🗺](https://github.com/mesqueeb/map-anything)
62
66
  - [filter-anything ⚔️](https://github.com/mesqueeb/filter-anything)
63
- - [find-and-replace-anything 🎣](https://github.com/mesqueeb/find-and-replace-anything)
64
- - [compare-anything 🛰](https://github.com/mesqueeb/compare-anything)
65
67
  - [copy-anything 🎭](https://github.com/mesqueeb/copy-anything)
68
+ - [case-anything 🐫](https://github.com/mesqueeb/case-anything)
66
69
  - [flatten-anything 🏏](https://github.com/mesqueeb/flatten-anything)
70
+ - [nestify-anything 🧅](https://github.com/mesqueeb/nestify-anything)
67
71
 
68
72
  ## Source code
69
73
 
package/dist/index.cjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  /**
6
4
  * returns `true` if the current environment is Node
7
5
  */
package/package.json CHANGED
@@ -2,16 +2,16 @@
2
2
  "name": "is-where",
3
3
  "sideEffects": false,
4
4
  "type": "module",
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "description": "JS environment check functions like `isWebkit() isSafari() isBrowser() isNode()` etc. A simple & small integration.",
7
7
  "module": "./dist/index.es.js",
8
8
  "main": "./dist/index.cjs",
9
9
  "types": "./dist/types/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/types/index.d.ts",
12
13
  "import": "./dist/index.es.js",
13
- "require": "./dist/index.cjs",
14
- "types": "./dist/types/index.d.ts"
14
+ "require": "./dist/index.cjs"
15
15
  }
16
16
  },
17
17
  "files": [
@@ -23,7 +23,7 @@
23
23
  "scripts": {
24
24
  "test": "vitest run",
25
25
  "lint": "tsc --noEmit && eslint ./src --ext .ts",
26
- "build": "rollup -c ./scripts/build.js",
26
+ "build": "rollup --bundleConfigAsCjs -c ./scripts/build.js",
27
27
  "release": "npm run lint && del dist && npm run build && np"
28
28
  },
29
29
  "repository": {
@@ -63,18 +63,18 @@
63
63
  },
64
64
  "homepage": "https://github.com/mesqueeb/is-where#readme",
65
65
  "devDependencies": {
66
- "@typescript-eslint/eslint-plugin": "^5.10.1",
67
- "@typescript-eslint/parser": "^5.10.1",
66
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
67
+ "@typescript-eslint/parser": "^5.59.2",
68
68
  "del-cli": "^4.0.1",
69
- "eslint": "^8.7.0",
70
- "eslint-config-prettier": "^8.3.0",
69
+ "eslint": "^8.40.0",
70
+ "eslint-config-prettier": "^8.8.0",
71
71
  "eslint-plugin-tree-shaking": "^1.10.0",
72
- "np": "^7.6.0",
73
- "prettier": "^2.5.1",
74
- "rollup": "^2.66.1",
75
- "rollup-plugin-typescript2": "^0.31.1",
76
- "typescript": "^4.5.5",
77
- "vitest": "^0.2.3"
72
+ "np": "^7.7.0",
73
+ "prettier": "^2.8.8",
74
+ "rollup": "^3.21.5",
75
+ "rollup-plugin-typescript2": "^0.34.1",
76
+ "typescript": "^4.9.5",
77
+ "vitest": "^0.31.0"
78
78
  },
79
79
  "ava": {
80
80
  "extensions": {