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

@thumbmarkjs/thumbmarkjs

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thumbmarkjs/thumbmarkjs - npm Package Compare versions

Comparing version 0.12.6 to 0.13.0

5

dist/components/hardware/hardware.js

@@ -7,6 +7,8 @@ "use strict";

var deviceMemory = (navigator.deviceMemory !== undefined) ? navigator.deviceMemory : 0;
var memoryInfo = (window.performance && window.performance.memory) ? window.performance.memory : 0;
resolve({
'videocard': getVideoCard(),
'architecture': getArchitecture(),
'deviceMemory': deviceMemory.toString() || 'undefined'
'deviceMemory': deviceMemory.toString() || 'undefined',
'jsHeapSizeLimit': memoryInfo.jsHeapSizeLimit || 'undefined',
});

@@ -17,2 +19,3 @@ });

* @see Credits: https://stackoverflow.com/a/49267844
* @returns VideoCard | "undefined"
*/

@@ -19,0 +22,0 @@ function getVideoCard() {

23

dist/components/system/system.js

@@ -14,7 +14,28 @@ "use strict";

'useragent': navigator.userAgent,
'browser': { 'name': browser.name, 'version': browser.version }
'browser': { 'name': browser.name, 'version': browser.version },
'applePayInfo': getApplePayInfo()
});
});
}
/**
* @returns applePayCanMakePayments: boolean, applePayMaxSupportedVersion: number
*/
function getApplePayInfo() {
var applePayCanMakePayments = false;
var applePayMaxSupportedVersion = 0;
if (typeof window.ApplePaySession === 'function') {
var versionCheck = window.ApplePaySession.supportsVersion;
var version = 0;
while (versionCheck(version + 1)) {
version++;
}
applePayCanMakePayments = version > 0;
applePayMaxSupportedVersion = version;
}
return {
applePayCanMakePayments: applePayCanMakePayments,
applePayMaxSupportedVersion: applePayMaxSupportedVersion
};
}
(0, factory_1.includeComponent)('system', getSystemDetails);
//# sourceMappingURL=system.js.map
{
"name": "@thumbmarkjs/thumbmarkjs",
"version": "0.12.6",
"version": "0.13.0",
"description": "",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"keywords": [
"fingerprint", "fingerprinting", "browser-fingerprint", "browser-fingerprinting"
"fingerprint", "fingerprinting", "browser-fingerprint", "browser-fingerprinting", "audio-fingerprinting", "canvas-fingerprinting", "visitor-identifier", "fraud-detection"
],

@@ -19,0 +19,0 @@ "author": "Ilkka Peltola",

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