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

insight

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insight - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

2

lib/insight.js

@@ -22,3 +22,3 @@ 'use strict';

this.packageVersion = options.packageVersion || this.packageFile.version;
this.config = new Configstore('insight-' + this.packageName, {
this.config = options.config || new Configstore('insight-' + this.packageName, {
clientId: options.clientId || Math.floor(Date.now() * Math.random())

@@ -25,0 +25,0 @@ });

{
"name": "insight",
"version": "0.1.3",
"version": "0.2.0",
"description": "Understand how your tool is being used by anonymously reporting usage metrics to Google Analytics",

@@ -31,3 +31,3 @@ "keywords": [

"chalk": "~0.2.0",
"request": "~2.26.0",
"request": "~2.27.0",
"configstore": "~0.1.0",

@@ -39,3 +39,4 @@ "async": "~0.2.9",

"devDependencies": {
"mocha": "~1.12.0"
"mocha": "~1.12.0",
"sinon": "~1.7.3"
},

@@ -42,0 +43,0 @@ "engines": {

@@ -107,3 +107,15 @@ # Insight [![Build Status](https://secure.travis-ci.org/yeoman/insight.png?branch=master)](http://travis-ci.org/yeoman/insight)

#### config
Type: `object`
Default: An instance of [`configstore`](https://github.com/yeoman/configstore)
If you want to use your own configuration mechanism instead of the default
`configstore`-based one, you can provide an object that has to implement two
synchronous methods:
- `get(key)`
- `set(key, value)`
### Instance methods

@@ -110,0 +122,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