uicore-ts 1.0.18 → 1.0.20

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.
@@ -22,8 +22,6 @@ __export(ClientCheckers_exports, {
22
22
  IS_SAFARI: () => IS_SAFARI
23
23
  });
24
24
  module.exports = __toCommonJS(ClientCheckers_exports);
25
- const browserEnv = require("browser-env");
26
- browserEnv();
27
25
  const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
28
26
  const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
29
27
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../scripts/ClientCheckers.ts"],
4
- "sourcesContent": ["const browserEnv = require(\"browser-env\")\n\nbrowserEnv()\nexport const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf(\"firefox\") > -1\nexport const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAAM,aAAa,QAAQ,aAAa;AAExC,WAAW;AACJ,MAAM,aAAa,UAAU,UAAU,YAAY,EAAE,QAAQ,SAAS,IAAI;AAC1E,MAAM,YAAY,iCAAiC,KAAK,UAAU,SAAS;",
4
+ "sourcesContent": ["export const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf(\"firefox\") > -1\nexport const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAa,UAAU,UAAU,YAAY,EAAE,QAAQ,SAAS,IAAI;AAC1E,MAAM,YAAY,iCAAiC,KAAK,UAAU,SAAS;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uicore-ts",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "UICore is a library to build native-like user interfaces using pure Typescript. No HTML is needed at all. Components are described as TS classes and all user interactions are handled explicitly. This library is strongly inspired by the UIKit framework that is used in IOS. In addition, UICore has tools to handle URL based routing, array sorting and filtering and adds a number of other utilities for convenience.",
5
5
  "main": "compiledScripts/index.js",
6
6
  "types": "compiledScripts/index.d.ts",
@@ -42,8 +42,5 @@
42
42
  "rollup-plugin-typescript2": "^0.32.1",
43
43
  "rollup-plugin-web-worker-loader": "^1.6.1",
44
44
  "typescript": "^4.7.4"
45
- },
46
- "dependencies": {
47
- "browser-env": "^3.3.0"
48
45
  }
49
46
  }
@@ -1,5 +1,2 @@
1
- const browserEnv = require("browser-env")
2
-
3
- browserEnv()
4
1
  export const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf("firefox") > -1
5
2
  export const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)