@koine/utils 1.0.30 → 1.0.33

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/index.d.ts CHANGED
@@ -49,7 +49,6 @@ export * from "./getUrlHashParams";
49
49
  export * from "./getUrlHashPathname";
50
50
  export * from "./getUrlPathnameParts";
51
51
  export * from "./getUrlQueryParams";
52
- export * from "./index";
53
52
  export * from "./isAnyObject";
54
53
  export * from "./isArray";
55
54
  export * from "./isBlob";
package/index.js CHANGED
@@ -50,7 +50,6 @@ export * from "./getUrlHashParams";
50
50
  export * from "./getUrlHashPathname";
51
51
  export * from "./getUrlPathnameParts";
52
52
  export * from "./getUrlQueryParams";
53
- export * from "./index";
54
53
  export * from "./isAnyObject";
55
54
  export * from "./isArray";
56
55
  export * from "./isBlob";
package/isServer.js CHANGED
@@ -4,5 +4,6 @@ import isBrowser from "./isBrowser";
4
4
  * @category is
5
5
  */
6
6
  export var isServer = !isBrowser;
7
- // export const isServer = () => !isUndefined(window);
7
+ // export const isServer = typeof window === "undefined";
8
+ // export const isServer = () => typeof window === "undefined";
8
9
  export default isServer;
package/node/index.js CHANGED
@@ -53,7 +53,6 @@ tslib_1.__exportStar(require("./getUrlHashParams"), exports);
53
53
  tslib_1.__exportStar(require("./getUrlHashPathname"), exports);
54
54
  tslib_1.__exportStar(require("./getUrlPathnameParts"), exports);
55
55
  tslib_1.__exportStar(require("./getUrlQueryParams"), exports);
56
- tslib_1.__exportStar(require("./index"), exports);
57
56
  tslib_1.__exportStar(require("./isAnyObject"), exports);
58
57
  tslib_1.__exportStar(require("./isArray"), exports);
59
58
  tslib_1.__exportStar(require("./isBlob"), exports);
package/node/isServer.js CHANGED
@@ -7,5 +7,6 @@ var isBrowser_1 = require("./isBrowser");
7
7
  * @category is
8
8
  */
9
9
  exports.isServer = !isBrowser_1.default;
10
- // export const isServer = () => !isUndefined(window);
10
+ // export const isServer = typeof window === "undefined";
11
+ // export const isServer = () => typeof window === "undefined";
11
12
  exports.default = exports.isServer;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "peerDependencies": {
8
8
  "tslib": "^2.4.0"
9
9
  },
10
- "version": "1.0.30",
10
+ "version": "1.0.33",
11
11
  "module": "./index.js",
12
12
  "types": "./index.d.ts"
13
13
  }