@solid-primitives/platform
Advanced tools
Comparing version 0.0.102 to 0.0.103
@@ -16,4 +16,3 @@ // src/index.ts | ||
var isOpera = !!w.opr && !!w.opr.addons || !!w.opera || /* @__PURE__ */ / OPR\//.test(ua); | ||
var _a; | ||
var isSafari = /* @__PURE__ */ /constructor/i.test(w.HTMLElement) || ((_a = w.safari) == null ? void 0 : _a.pushNotification) + "" === "[object SafariRemoteNotification]"; | ||
var isSafari = /* @__PURE__ */ /constructor/i.test(w.HTMLElement) || w.safari?.pushNotification + "" === "[object SafariRemoteNotification]"; | ||
var isIE = !!w.document.documentMode; | ||
@@ -20,0 +19,0 @@ var isChromium = !!w.chrome; |
@@ -16,4 +16,3 @@ // src/index.ts | ||
var isOpera = !!w.opr && !!w.opr.addons || !!w.opera || /* @__PURE__ */ / OPR\//.test(ua); | ||
var _a; | ||
var isSafari = /* @__PURE__ */ /constructor/i.test(w.HTMLElement) || ((_a = w.safari) == null ? void 0 : _a.pushNotification) + "" === "[object SafariRemoteNotification]"; | ||
var isSafari = /* @__PURE__ */ /constructor/i.test(w.HTMLElement) || w.safari?.pushNotification + "" === "[object SafariRemoteNotification]"; | ||
var isIE = !!w.document.documentMode; | ||
@@ -20,0 +19,0 @@ var isChromium = !!w.chrome; |
{ | ||
"name": "@solid-primitives/platform", | ||
"version": "0.0.102", | ||
"version": "0.0.103", | ||
"description": "A set of const boolean variables identifying device and browser type.", | ||
@@ -41,33 +41,47 @@ "author": "Damian Tarnawski <gthetarnav@gmail.com>", | ||
"browser": { | ||
"./dist/server.cjs": "./dist/index.cjs", | ||
"./dist/server.js": "./dist/index.js" | ||
"./dist/server.js": "./dist/index.js", | ||
"./dist/server.cjs": "./dist/index.cjs" | ||
}, | ||
"exports": { | ||
"worker": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"browser": { | ||
"import": "./dist/index.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": "./dist/index.cjs" | ||
}, | ||
"deno": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"node": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"import": "./dist/index.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": "./dist/index.cjs" | ||
}, | ||
"devDependencies": { | ||
"solid-js": "^1.5.0" | ||
}, | ||
"peerDependencies": { | ||
"solid-js": "^1.5.0" | ||
"solid-js": "^1.6.0" | ||
}, | ||
"typesVersions": {}, | ||
"scripts": { | ||
"dev": "npm run start", | ||
"dev": "vite serve dev", | ||
"page": "vite build dev", | ||
"build": "jiti ../../scripts/build.ts --ssr", | ||
@@ -74,0 +88,0 @@ "test": "vitest -c ../../configs/vitest.config.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
13985
153