@pisell/utils 1.0.13 → 1.0.14

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/es/platform.js CHANGED
@@ -32,5 +32,5 @@ export var isAndroid = function isAndroid() {
32
32
 
33
33
  // 是否是ios平台
34
34
  export var isIos = function isIos() {
35
- return /iphone|ipad|ipod|safari/.test(navigator.userAgent.toLowerCase());
35
+ return /iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());
36
36
  };
package/lib/platform.js CHANGED
@@ -57,7 +57,7 @@ var isAndroid = () => {
57
57
  return navigator.userAgent.toLowerCase().indexOf("android") !== -1;
58
58
  };
59
59
  var isIos = () => {
60
- return /iphone|ipad|ipod|safari/.test(navigator.userAgent.toLowerCase());
60
+ return /iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());
61
61
  };
62
62
  // Annotate the CommonJS export names for ESM import in node:
63
63
  0 && (module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/utils",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "sideEffects": false,
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",