@slack/client
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -9,3 +9,3 @@ /** | ||
var os = require('os'); | ||
var pkginfo = require('pkginfo')(module, 'version', 'repository'); // eslint-disable-line no-unused-vars | ||
var pkginfo = require('pkginfo')(module, 'version', 'name'); // eslint-disable-line no-unused-vars | ||
@@ -28,3 +28,3 @@ | ||
// TODO we can do this better | ||
var versionStr = module.exports.repository.replace('/', ':') + '/' + module.exports.version + ' ' | ||
var versionStr = module.exports.name.replace('/', ':') + '/' + module.exports.version + ' ' | ||
+ os.platform() + '/' + os.release() + ' ' | ||
@@ -31,0 +31,0 @@ + 'node/' + process.version.replace('v', ''); |
{ | ||
"name": "@slack/client", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "A library for creating a Slack client", | ||
@@ -5,0 +5,0 @@ "main": "./index", |
var expect = require('chai').expect; | ||
var helpers = require('../lib/helpers'); | ||
var os = require('os'); | ||
var pkginfo = require('pkginfo')(module, 'version', 'repository'); // eslint-disable-line no-unused-vars | ||
var pkginfo = require('pkginfo')(module, 'version', 'name'); // eslint-disable-line no-unused-vars | ||
var userAgent = module.exports.repository.replace('/', ':') + '/' + module.exports.version | ||
var userAgent = module.exports.name.replace('/', ':') + '/' + module.exports.version | ||
+ ' ' + os.platform() + '/' + os.release() | ||
@@ -8,0 +8,0 @@ + ' node/' + process.version.replace('v', ''); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
467623
180