cerebral-model-baobab
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -123,14 +123,18 @@ var Baobab = require('baobab'); | ||
pop: function (path) { | ||
var val; | ||
tree.apply(path, function (existingValue) { | ||
var copy = existingValue.slice(); | ||
copy.pop(); | ||
val = copy.pop(); | ||
return copy; | ||
}); | ||
return val; | ||
}, | ||
shift: function (path) { | ||
var val; | ||
tree.apply(path, function (existingValue) { | ||
var copy = existingValue.slice(); | ||
copy.shift(); | ||
val = copy.shift(); | ||
return copy; | ||
}); | ||
return val; | ||
}, | ||
@@ -137,0 +141,0 @@ unshift: function (path, value) { |
{ | ||
"name": "cerebral-model-baobab", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "Baobab Model layer for Cerebral", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "true", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/christianalfoni/cerebral-baobab.git" | ||
"url": "https://github.com/cerebral/cerebral-model-baobab.git" | ||
}, | ||
@@ -24,8 +25,27 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/christianalfoni/cerebral-baobab/issues" | ||
"url": "https://github.com/cerebral/cerebral-model-baobab/issues" | ||
}, | ||
"homepage": "https://github.com/christianalfoni/cerebral-baobab#readme", | ||
"homepage": "https://github.com/cerebral/cerebral-model-baobab#readme", | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-customizable" | ||
}, | ||
"ghooks": { | ||
"commit-msg": "validate-commit-msg" | ||
} | ||
}, | ||
"release": { | ||
"analyzeCommits": "./sr-prerelease.js" | ||
}, | ||
"dependencies": { | ||
"baobab": "^2.3.0" | ||
"baobab": "^2.3.3" | ||
}, | ||
"devDependencies": { | ||
"commitizen": "^2.5.0", | ||
"cz-customizable": "^2.7.1", | ||
"conventional-changelog": "0.0.17", | ||
"ghooks": "^1.0.3", | ||
"validate-commit-msg": "^1.1.1", | ||
"semantic-release": "^4.3.5" | ||
} | ||
} | ||
} |
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
9186
6
164
1
6
1
Updatedbaobab@^2.3.3