Comparing version 0.1.2 to 1.0.0
{ | ||
"name": "eventid", | ||
"version": "0.1.2", | ||
"version": "1.0.0", | ||
"description": "A utility for generating monotonically increasing unique event ids across a network of services.", | ||
"main": "lib/index.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"main": "build/src/index.js", | ||
"types": "build/src/index.d.ts", | ||
"files": [ | ||
"build/src" | ||
], | ||
"scripts": { | ||
"test": "mocha test/test.js", | ||
"lint": "jshint ." | ||
"test": "c8 mocha build/test", | ||
"lint": "gts check", | ||
"license-check": "jsgl --local .", | ||
"clean": "gts clean", | ||
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json", | ||
"compile": "tsc -p .", | ||
"fix": "gts fix", | ||
"prepare": "npm run compile", | ||
"pretest": "npm run compile" | ||
}, | ||
@@ -31,5 +39,14 @@ "repository": { | ||
"devDependencies": { | ||
"jshint": "^2.9.4", | ||
"mocha": "^3.2.0" | ||
"@types/mocha": "^5.2.6", | ||
"@types/uuid": "^3.4.4", | ||
"c8": "^6.0.0", | ||
"codecov": "^3.6.1", | ||
"gts": "^1.0.0", | ||
"js-green-licenses": "^1.0.0", | ||
"mocha": "^6.0.0", | ||
"typescript": "~3.7.0" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
} | ||
} |
@@ -1,6 +0,8 @@ | ||
# Monotonically increasing per machine, globally unique eventids | ||
# eventid | ||
> Monotonically increasing per machine, globally unique eventids | ||
[![CircleCI][circle-image]][circle-url] | ||
[![Dependencies][david-image]][david-url] | ||
[![Known Vulnerabilities][snyk-image]][snyk-url] | ||
[![npm version](https://img.shields.io/npm/v/eventid.svg)](https://www.npmjs.org/package/eventid) | ||
[![Build Status](https://circleci.com/gh/google/eventid-js.svg?style=shield)](https://circleci.com/gh/google/eventid-js) | ||
[![Dependencies](https://david-dm.org/google/eventid-js.svg)](https://david-dm.org/google/eventid-js) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/google/eventid-js/badge.svg)](https://snyk.io/test/github/google/eventid-js) | ||
@@ -17,2 +19,11 @@ ***Note: This is not an official Google product.*** | ||
## Installation | ||
```sh | ||
$ npm install eventid | ||
``` | ||
## Usage | ||
```js | ||
@@ -36,7 +47,4 @@ const EventId = require('eventid'); | ||
[circle-image]: https://circleci.com/gh/google/eventid-js.svg?style=svg | ||
[circle-url]: https://circleci.com/gh/google/eventid-js | ||
[david-image]: https://david-dm.org/google/eventid-js.svg | ||
[david-url]: https://david-dm.org/google/eventid-js | ||
[snyk-image]: https://snyk.io/test/github/google/eventid-js/badge.svg | ||
[snyk-url]: https://snyk.io/test/github/google/eventid-js | ||
## License | ||
[Apache 2.0](LICENSE) |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18064
60
0
49
8
7
1