Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/platform

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/platform - npm Package Compare versions

Comparing version 0.0.102 to 0.0.103

3

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc