New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

thumbmarkjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thumbmarkjs - npm Package Compare versions

Comparing version 0.11.3-rc1 to 0.11.4

6

dist/components/system/browser.js

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

function getBrowser() {
if (typeof navigator === 'undefined') {
return {
name: "unknown",
version: "unknown"
};
}
var ua = navigator.userAgent;

@@ -8,0 +14,0 @@ // Define some regular expressions to match different browsers and their versions

3

dist/factory.js

@@ -23,3 +23,4 @@ "use strict";

var includeComponent = function (name, creationFunction) {
exports.components[name] = creationFunction;
if (typeof window !== 'undefined')
exports.components[name] = creationFunction;
};

@@ -26,0 +27,0 @@ exports.includeComponent = includeComponent;

{
"name": "thumbmarkjs",
"version": "0.11.3-rc1",
"version": "0.11.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -40,8 +40,7 @@ # ThumbmarkJS

You can also get any previous version from the CDN by replacing `latest` with the version number. Currently the URL would be
`https://cdn.thumbmarkjs.com/0.11.2/Thumbmark.js`
`https://cdn.thumbmarkjs.com/0.11.4/Thumbmark.js`
## Install with NPM
The npm package is called `thumbmarkjs`
so, install it with
Installing from NPM:

@@ -52,3 +51,3 @@ ```

But bear in mind that the library is meant to be running in the browser. Trying to run your code through node will fail.
But bear in mind that the library is meant to be running in the browser. Let me know if the library fails on a server side import. However, `getFingerprint()` is not meant to be called server side.

@@ -55,0 +54,0 @@ ## Build it yourself

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