@warp-works/warpjs-change-logs
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,1 @@ | ||
const _ = require('lodash'); | ||
// const debug = require('debug')('W2:ChangeLogs:index'); | ||
@@ -38,5 +37,4 @@ const Promise = require('bluebird'); | ||
const userInfo = pickUserInfo(user); | ||
const changeLogs = new ChangeLogs(instance); | ||
changeLogs.add(new ChangeLog(user, data)); | ||
changeLogs.add(new ChangeLog(pickUserInfo(user), data)); | ||
@@ -43,0 +41,0 @@ return instance; |
@@ -30,3 +30,3 @@ const _ = require('lodash'); | ||
}, | ||
isEnumeration: this.key.substr(0, 5) === 'Enum:' | ||
isEnumeration: Boolean(this.key && this.key.substr(0, 5) === 'Enum:') | ||
})) | ||
@@ -33,0 +33,0 @@ ; |
{ | ||
"name": "@warp-works/warpjs-change-logs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Change logs library for WarpJS.", | ||
"main": "index.js", | ||
"scripts": { | ||
"prepublish": "npm run -s lint", | ||
"lint": "npm run -s lint:node", | ||
"lint:node": "eslint --fix --config=.eslintrc.node.json *.js lib", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -31,8 +34,17 @@ }, | ||
"peerDependencies": { | ||
"@quoin/expressjs-routes-info": "latest" | ||
"@quoin/expressjs-routes-info": "0.2.x" | ||
}, | ||
"devDependencies": { | ||
"@quoin/eslint-config-quoin": "latest", | ||
"@quoin/expressjs-routes-info": "latest", | ||
"@warp-works/warpjs-plugins": "latest", | ||
"eslint": "4.19.x", | ||
"eslint-plugin-html": "4.0.x", | ||
"eslint-plugin-import": "2.12.x", | ||
"eslint-plugin-json": "1.2.x", | ||
"eslint-plugin-node": "6.0.x", | ||
"eslint-plugin-promise": "3.8.x", | ||
"eslint-plugin-standard": "3.1.x", | ||
"express": "4" | ||
} | ||
} |
# WarpJS ChangeLogs RELEASE NOTES | ||
## 1.0.1 - 2018-06-21 | ||
- Added `eslint`. | ||
- Fixed minor JSON format. | ||
## 1.0.0 - 2018-06-20 | ||
- Initial release extracted from [WarpJS](https://github.com/WarpWorks/warpjs). |
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
17921
11
412