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

@jsreport/jsreport-licensing

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-licensing - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

6

lib/licensing.js

@@ -7,3 +7,2 @@ /* eslint no-path-concat: 0 */

const crypto = require('crypto')
const hostId = crypto.createHash('sha1').update(hostname + __dirname).digest('hex')

@@ -39,3 +38,3 @@ async function exists (path) {

version: reporter.version,
hostId: hostId
hostId: definition.options.hostId
})

@@ -266,3 +265,3 @@ }

licenseKey: definition.options.licenseKey,
hostId,
hostId: definition.options.hostId,
checkInterval: licensingUsageCheckInterval

@@ -314,2 +313,3 @@ }

Object.assign(definition.options, reporter.options.license)
definition.options.hostId = `${Buffer.from(hostname).toString('base64')}:${Buffer.from(reporter.options.rootDirectory).toString('base64')}`
reporter.on('express-configure', (app) => {

@@ -316,0 +316,0 @@ app.post('/api/licensing/trial', (req, res, next) => {

{
"name": "@jsreport/jsreport-licensing",
"version": "3.0.2",
"version": "3.0.3",
"description": "jsreport extension for enterprise license verification ",

@@ -32,4 +32,4 @@ "keywords": [

"devDependencies": {
"@jsreport/jsreport-core": "3.4.0",
"@jsreport/studio-dev": "3.1.0",
"@jsreport/jsreport-core": "3.11.0",
"@jsreport/studio-dev": "3.2.1",
"mocha": "7.2.0",

@@ -36,0 +36,0 @@ "should": "13.2.3",

@@ -6,2 +6,6 @@ # @jsreport/jsreport-licensing

### 3.0.3
- don't hash licensing hostid to allow troubleshooting parallel usage
### 3.0.2

@@ -8,0 +12,0 @@

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