@bitdiver/model
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -36,2 +36,8 @@ 'use strict'; | ||
}; | ||
} else if (typeof messageObj === 'object' && messageObj.message !== undefined && messageObj.stack !== undefined) { | ||
data = { | ||
message: messageObj.message, | ||
stack: messageObj.stack | ||
}; | ||
this.messages.push(data); | ||
} else if (typeof messageObj === 'string') { | ||
@@ -38,0 +44,0 @@ data = { message: messageObj }; |
@@ -1,1 +0,60 @@ | ||
{"name":"@bitdiver/model","version":"1.1.0","description":"","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/bitdiver/model.git"},"bugs":{"url":"https://github.com/bitdiver/model/issues"},"homepage":"https://github.com/bitdiver/model#readme","scripts":{"build":"npm run src_format && npm run src_lint && babel src -d lib","src_lint":"eslint src tests","src_format":"prettier --no-semi --single-quote --trailing-comma es5 --write \"{src,tests}/**/*.js\"","test_only":"jest","test":"npm run src_format && npm run src_lint && npm run build && jest -c jest.config.json","semantic-release":"semantic-release pre && npm publish --access public && semantic-release post","debug":"npm run build && node --inspect-brk ./node_modules/.bin/jest -i --config=./jest.config.json","prepublish":"npm run build"},"contributors":[{"name":"Torsten Link","email":"torstenlink@gmx.de"},{"name":"Markus Felten","email":"markus.felten@gmx.de"}],"license":"ISC","devDependencies":{"assert":"^1.4.1","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^8.0.2","babel-jest":"^21.2.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-register":"^6.26.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.12.1","eslint-config-prettier":"^2.9.0","eslint-plugin-babel":"^4.0.0","jest":"^21.2.1","jest-cli":"^21.2.1","jest-environment-node-debug":"^2.0.0","prettier":"^1.8.2","regenerator-runtime":"^0.11.0","semantic-release":"^8.2.3"},"dependencies":{"uuid":"^3.1.0"}} | ||
{ | ||
"name": "@bitdiver/model", | ||
"version": "1.1.1", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/bitdiver/model.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/bitdiver/model/issues" | ||
}, | ||
"homepage": "https://github.com/bitdiver/model#readme", | ||
"scripts": { | ||
"build": "npm run src_format && npm run src_lint && babel src -d lib", | ||
"src_lint": "eslint src tests", | ||
"src_format": "prettier --no-semi --single-quote --trailing-comma es5 --write \"{src,tests}/**/*.js\"", | ||
"test_only": "jest", | ||
"test": "npm run src_format && npm run src_lint && npm run build && jest -c jest.config.json", | ||
"debug": "npm run build && node --inspect-brk ./node_modules/.bin/jest -i --config=./jest.config.json", | ||
"prepublish": "npm run build" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Torsten Link", | ||
"email": "torstenlink@gmx.de" | ||
}, | ||
{ | ||
"name": "Markus Felten", | ||
"email": "markus.felten@gmx.de" | ||
} | ||
], | ||
"license": "ISC", | ||
"devDependencies": { | ||
"assert": "^1.4.1", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.0.2", | ||
"babel-jest": "^21.2.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-flow": "^6.23.0", | ||
"babel-register": "^6.26.0", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"eslint": "^4.12.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-babel": "^4.0.0", | ||
"jest": "^21.2.1", | ||
"jest-cli": "^21.2.1", | ||
"jest-environment-node-debug": "^2.0.0", | ||
"prettier": "^1.8.2", | ||
"regenerator-runtime": "^0.11.0", | ||
"semantic-release": "^12.4.1" | ||
}, | ||
"dependencies": { | ||
"uuid": "^3.1.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
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
45078
863