Socket
Socket
Sign inDemoInstall

@xylabs/platform

Package Overview
Dependencies
Maintainers
0
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/platform - npm Package Compare versions

Comparing version 3.6.7 to 3.6.8

8

package.json

@@ -61,5 +61,5 @@ {

"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.15.4",
"@xylabs/tsconfig": "^3.15.4",
"@xylabs/tsconfig-dom": "^3.15.4",
"@xylabs/ts-scripts-yarn3": "^3.15.5",
"@xylabs/tsconfig": "^3.15.5",
"@xylabs/tsconfig-dom": "^3.15.5",
"typescript": "^5.5.4"

@@ -78,4 +78,4 @@ },

"sideEffects": false,
"version": "3.6.7",
"version": "3.6.8",
"type": "module"
}

@@ -12,6 +12,8 @@ import type { subtle as subtleType } from 'node:crypto'

export const getGlobal = <T extends object>() =>
isWebworker() ? (self as unknown as T)
: isBrowser() ? (window as unknown as T)
: globalThis
isWebworker()
? (self as unknown as T)
: isBrowser()
? (window as unknown as T)
: globalThis
export const subtle = getGlobal<Window>().crypto.subtle as typeof subtleType

@@ -12,4 +12,6 @@ export { subtle } from 'node:crypto'

export const getGlobal = <T extends object>() =>
isBrowser() ? (window as unknown as T)
: isWebworker() ? (self as unknown as T)
: globalThis
isBrowser()
? (window as unknown as T)
: isWebworker()
? (self as unknown as T)
: globalThis

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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