vue-json-tree-view
Advanced tools
Comparing version
107
package.json
{ | ||
"name": "vue-json-tree-view", | ||
"version": "0.13.0", | ||
"description": "A JSON Tree View Component.", | ||
"main": "dist/vue-json-tree-view.js", | ||
"repository": { | ||
"url": "git@github.com:arvidkahl/vue-json-tree-view.git", | ||
"type": "git" | ||
"version": "0.14.0", | ||
"description": "a JSON Tree View Component in Vue.js", | ||
"main": "./dist/vue-json-tree-view.min.js", | ||
"scripts": { | ||
"dev": "webpack-dev-server --inline --watch --progress --config webpack.dev.config.js --port 5000", | ||
"build": "webpack --progress --config webpack.prod.config.js", | ||
"test": "karma start karma.config.js", | ||
"ci": "npm run test && npm run build" | ||
}, | ||
"keywords": [ | ||
"vue-component", | ||
"vuejs" | ||
], | ||
"author": "Arvid Kahl <arvid.kahl@digimondo.de>", | ||
@@ -14,57 +20,42 @@ "license": "MIT", | ||
"lodash": "^4.17.4", | ||
"vue": "~2.1.3" | ||
"vue": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.23.0", | ||
"babel-core": "~6.18.0", | ||
"babel-eslint": "~7.1.1", | ||
"babel-loader": "~6.2.8", | ||
"babel-plugin-istanbul": "~3.0.0", | ||
"babel-preset-env": "^1.1.8", | ||
"babel-preset-es2015": "~6.18.0", | ||
"babel-preset-es2016": "^6.22.0", | ||
"chai": "~3.5.0", | ||
"css-loader": "~0.26.0", | ||
"del-cli": "~0.2.0", | ||
"eslint": "~3.11.1", | ||
"eslint-config-vue": "~2.0.1", | ||
"eslint-loader": "~1.6.1", | ||
"eslint-plugin-html": "~1.7.0", | ||
"eslint-plugin-vue": "~1.0.0", | ||
"extract-text-webpack-plugin": "~v2.0.0-beta.4", | ||
"html-webpack-plugin": "~2.24.0", | ||
"istanbul-instrumenter-loader": "~1.1.0", | ||
"karma": "~1.3.0", | ||
"karma-chai": "~0.1.0", | ||
"karma-coverage": "~1.1.1", | ||
"karma-mocha": "~1.3.0", | ||
"karma-mocha-reporter": "~2.2.1", | ||
"karma-phantomjs-launcher": "~1.0.2", | ||
"karma-webpack": "~1.8.0", | ||
"mocha": "~3.2.0", | ||
"npm-run-all": "~3.1.2", | ||
"postcss-loader": "~1.1.1", | ||
"stylelint": "~7.6.0", | ||
"stylelint-config-standard": "~15.0.0", | ||
"stylelint-processor-html": "~1.0.0", | ||
"vue-html-loader": "~1.2.3", | ||
"vue-loader": "~10.0.2", | ||
"vue-style-loader": "~1.0.0", | ||
"vue-template-compiler": "~2.1.3", | ||
"webpack": "~2.1.0-beta.27", | ||
"webpack-dev-server": "~2.1.0-beta.12", | ||
"webpack-merge": "~1.0.2" | ||
}, | ||
"scripts": { | ||
"build": "npm-run-all build:dist", | ||
"build:dist": "webpack --env.dist", | ||
"prebuild:dist": "npm-run-all clean", | ||
"build:prod": "webpack --env.prod", | ||
"prebuild:prod": "npm-run-all clean", | ||
"clean": "del dist/*", | ||
"serve": "webpack-dev-server --env.dev", | ||
"start": "npm-run-all serve", | ||
"test": "karma start", | ||
"test:local": "karma start --no-single-run" | ||
"babel-core": "^6.5.2", | ||
"babel-loader": "^6.2.2", | ||
"babel-plugin-transform-runtime": "^6.5.2", | ||
"babel-preset-es2015": "^6.5.0", | ||
"babel-runtime": "^6.9.2", | ||
"css-loader": "^0.23.1", | ||
"eslint": "^3.1.1", | ||
"eslint-config-google": "^0.6.0", | ||
"eslint-config-vue": "^1.0.3", | ||
"eslint-plugin-html": "^1.5.1", | ||
"file-loader": "^0.8.5", | ||
"isparta": "^4.0.0", | ||
"isparta-loader": "^2.0.0", | ||
"istanbul": "^0.4.4", | ||
"jasmine-core": "^2.4.1", | ||
"karma": "^1.2.0", | ||
"karma-babel-preprocessor": "^6.0.1", | ||
"karma-coverage": "^1.1.1", | ||
"karma-html-reporter": "^0.2.7", | ||
"karma-jasmine": "^1.0.2", | ||
"karma-phantomjs-launcher": "^1.0.1", | ||
"karma-spec-reporter": "0.0.26", | ||
"karma-verbose-reporter": "0.0.3", | ||
"karma-webpack": "^1.8.0", | ||
"node-sass": "^3.4.2", | ||
"phantomjs": "^2.1.7", | ||
"sass-loader": "^3.1.2", | ||
"style-loader": "^0.13.0", | ||
"url-loader": "^0.5.7", | ||
"vue-hot-reload-api": "^1.3.2", | ||
"vue-html-loader": "^1.1.0", | ||
"vue-loader": "^8.1.3", | ||
"vue-style-loader": "^1.0.0", | ||
"webpack": "^2.1.0-beta.2", | ||
"webpack-dev-server": "^1.15.0", | ||
"webpack-merge": "^0.14.1" | ||
} | ||
} |
@@ -1,3 +0,2 @@ | ||
# vue-json-tree-view | ||
A JSON Tree View Component. | ||
# vue-component-seed | ||
A seed for vue component |
@@ -1,40 +0,7 @@ | ||
import TreeViewItem from './components/tree-view/TreeViewItem.vue'; | ||
import TreeView from './components/tree-view/TreeView.vue'; | ||
// | ||
// export const components = { | ||
// TreeViewItem, | ||
// TreeView | ||
// }; | ||
// | ||
// export default { | ||
// install (Vue) { | ||
// console.log("Installing Components", components) | ||
// Object.keys(components).forEach((name) => { | ||
// Vue.component(name, components[name]); | ||
// }); | ||
// } | ||
// }; | ||
// | ||
// export { | ||
// TreeView | ||
// }; | ||
import TreeViewItem from './TreeViewItem.vue'; | ||
import TreeView from './TreeView.vue'; | ||
// module.exports = { | ||
// install: (Vue) => { | ||
// Vue.component("TreeViewItem", TreeViewItem); | ||
// Vue.component("TreeView", TreeView); | ||
// } | ||
// }; | ||
export function install (Vue) { | ||
Vue.component("TreeViewItem", TreeViewItem); | ||
Vue.component("TreeView", TreeView); | ||
} | ||
if (typeof exports == "object") { | ||
module.exports = install | ||
} else if (typeof define == "function" && define.amd) { | ||
define([], function(){ return install }) | ||
} else if (window.Vue) { | ||
Vue.use(install) | ||
} | ||
module.exports = function install(Vue){ | ||
Vue.component("tree-view-item", TreeViewItem); | ||
Vue.component("tree-view", TreeView); | ||
}; |
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
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
36
-7.69%1
-75%96480
-93.54%18
-35.71%365
-97.85%3
-25%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated