Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "insight", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Understand how your tool is being used by anonymously reporting usage metrics to Google Analytics", | ||
@@ -14,4 +14,2 @@ "keywords": [ | ||
], | ||
"homepage": "https://github.com/yeoman/insight", | ||
"bugs": "https://github.com/yeoman/insight/issues", | ||
"author": { | ||
@@ -23,17 +21,15 @@ "name": "Sindre Sorhus", | ||
"main": "lib/insight.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/yeoman/insight.git" | ||
}, | ||
"repository": "yeoman/insight", | ||
"scripts": { | ||
"test": "mocha test/test-*.js" | ||
"test": "mocha --reporter spec test/test-*.js" | ||
}, | ||
"dependencies": { | ||
"chalk": "~0.4.0", | ||
"request": "~2.27.0", | ||
"configstore": "~0.2.1", | ||
"async": "~0.2.9", | ||
"inquirer": "~0.4.0", | ||
"object-assign": "~0.1.2", | ||
"lodash.debounce": "~2.4.1" | ||
"async": "^0.9.0", | ||
"chalk": "^0.5.0", | ||
"configstore": "^0.3.1", | ||
"inquirer": "^0.5.1", | ||
"lodash.debounce": "^2.4.1", | ||
"object-assign": "^0.3.1", | ||
"os-name": "^0.1.2", | ||
"request": "2.27.0" | ||
}, | ||
@@ -47,7 +43,3 @@ "devDependencies": { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "BSD" | ||
} | ||
] | ||
"license": "BSD" | ||
} |
@@ -1,2 +0,2 @@ | ||
# Insight [![Build Status](https://secure.travis-ci.org/yeoman/insight.png?branch=master)](http://travis-ci.org/yeoman/insight) | ||
# Insight [![Build Status](https://secure.travis-ci.org/yeoman/insight.svg?branch=master)](http://travis-ci.org/yeoman/insight) | ||
@@ -13,5 +13,16 @@ Understand how your tool is being used by anonymously reporting usage metrics to [Google Analytics](http://www.google.com/analytics/) | ||
![analytics screenshot](https://raw.github.com/yeoman/insight/master/screenshot.png) | ||
![analytics screenshot](screenshot.png) | ||
## Provider Setup | ||
### Google Analytics (GA) | ||
Currently Insight should to be used with GA set up as web tracking due to use of URLs. Future plan include refactoring to work with GA set up for app-based tracking and the [Measurement Protocol](https://developers.google.com/analytics/devguides/collection/protocol/v1/). | ||
For debugging, Insight can track OS version, node version and version of the app that implements Insight. Please set up custom dimensions per below screenshot. This is a temporary solution until Insight is refactored into app-based tracking. | ||
![GA custom dimensions screenshot](screenshot-ga-custom-dimensions.png) | ||
## Example usage | ||
@@ -66,4 +77,4 @@ | ||
## Documentation | ||
## API | ||
@@ -132,5 +143,5 @@ ### Insight(settings) | ||
![askPermission screenshot](https://raw.github.com/yeoman/insight/master/screenshot-askpermission.png) | ||
![askPermission screenshot](screenshot-askpermission.png) | ||
Optionally supply your own `message` and `callback`. The callback will be called with the arguments `error` and `optOut` when the prompt is done, and is useful for when you want to continue the execution while the prompt is running. | ||
Optionally supply your own `message` and `callback`. If `message` is `null`, default message will be used. The callback will be called with the arguments `error` and `optOut` when the prompt is done, and is useful for when you want to continue the execution while the prompt is running. | ||
@@ -137,0 +148,0 @@ |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
33382
154
8
5
1
0
2
1
2
+ Addedos-name@^0.1.2
+ Addedansi-regex@0.2.1(transitive)
+ Addedansi-styles@1.1.0(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedasync@0.8.0(transitive)
+ Addedchalk@0.5.1(transitive)
+ Addedcli-color@0.3.3(transitive)
+ Addedconfigstore@0.3.2(transitive)
+ Addedd@0.1.11.0.2(transitive)
+ Addedes5-ext@0.10.64(transitive)
+ Addedes6-iterator@0.1.32.0.3(transitive)
+ Addedes6-symbol@2.0.13.1.4(transitive)
+ Addedes6-weak-map@0.1.4(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesniff@2.0.1(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addedgraceful-fs@3.0.12(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedinquirer@0.5.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedlru-queue@0.1.0(transitive)
+ Addedmemoizee@0.3.10(transitive)
+ Addedminimist@0.1.01.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addednatives@1.1.6(transitive)
+ Addednext-tick@0.2.21.1.0(transitive)
+ Addedobject-assign@0.3.12.1.1(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-name@0.1.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedosx-release@0.1.0(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstrip-ansi@0.3.0(transitive)
+ Addedsupports-color@0.2.0(transitive)
+ Addedtimers-ext@0.1.8(transitive)
+ Addedtype@2.7.3(transitive)
+ Addeduser-home@1.1.1(transitive)
+ Addeduuid@2.0.3(transitive)
+ Addedxdg-basedir@1.0.1(transitive)
- Removedargparse@0.1.16(transitive)
- Removedasync@0.2.10(transitive)
- Removedcli-color@0.2.3(transitive)
- Removedconfigstore@0.2.3(transitive)
- Removedes5-ext@0.9.2(transitive)
- Removedesprima@1.0.4(transitive)
- Removedevent-emitter@0.2.2(transitive)
- Removedgraceful-fs@2.0.3(transitive)
- Removedinquirer@0.4.1(transitive)
- Removedjs-yaml@3.0.2(transitive)
- Removedmemoizee@0.2.6(transitive)
- Removedmkdirp@0.3.5(transitive)
- Removednext-tick@0.1.0(transitive)
- Removedobject-assign@0.1.2(transitive)
- Removedosenv@0.0.3(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.4.0(transitive)
- Removeduuid@1.4.2(transitive)
Updatedasync@^0.9.0
Updatedchalk@^0.5.0
Updatedconfigstore@^0.3.1
Updatedinquirer@^0.5.1
Updatedlodash.debounce@^2.4.1
Updatedobject-assign@^0.3.1
Updatedrequest@2.27.0