@contactstudio/agent-lib
Advanced tools
Comparing version
@@ -8,6 +8,13 @@ { | ||
"paths": { | ||
"@/*": ["src/*"] | ||
"@/*": [ | ||
"src/*" | ||
] | ||
}, | ||
"lib": ["esnext", "dom", "dom.iterable", "scripthost"] | ||
"lib": [ | ||
"esnext", | ||
"dom", | ||
"dom.iterable", | ||
"scripthost" | ||
] | ||
} | ||
} |
{ | ||
"name": "@contactstudio/agent-lib", | ||
"version": "1.0.42", | ||
"version": "1.0.43", | ||
"author": "Christopher Gonçalves <christopher.goncalves2002@gmail.com.br>", | ||
"license": "MIT", | ||
"index": "./src/index.js", | ||
"index": "src/index.js", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"build-lib": "vue-cli-service build --target lib --name agenttools ./src/index.js", | ||
"test:unit": "vue-cli-service test:unit", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"src/*", | ||
"public/*", | ||
"*.json", | ||
"*.js" | ||
], | ||
"dependencies": { | ||
"core-js": "^3.8.3", | ||
"vue": "^3.2.13", | ||
"vuex": "^4.0.0" | ||
"vue": "^3.2.13" | ||
}, | ||
@@ -32,7 +23,5 @@ "devDependencies": { | ||
"@vue/cli-plugin-unit-jest": "~5.0.0", | ||
"@vue/cli-plugin-vuex": "~5.0.0", | ||
"@vue/cli-service": "~5.0.0", | ||
"@vue/test-utils": "^2.0.0-0", | ||
"@vue/vue3-jest": "^27.0.0-alpha.1", | ||
"autoprefixer": "^10.4.8", | ||
"babel-jest": "^27.0.6", | ||
@@ -42,11 +31,39 @@ "eslint": "^7.32.0", | ||
"jest": "^27.0.5", | ||
"node-sass": "^7.0.1", | ||
"postcss": "^8.4.16", | ||
"sass": "^1.32.7", | ||
"sass-loader": "^12.6.0" | ||
"sass-loader": "^12.0.0" | ||
}, | ||
"description": "## Project setup ``` npm install ```", | ||
"directories": { | ||
"test": "tests" | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/vue3-essential", | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"parser": "@babel/eslint-parser" | ||
}, | ||
"rules": {}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/__tests__/*.{j,t}s?(x)", | ||
"**/tests/unit/**/*.spec.{j,t}s?(x)" | ||
], | ||
"env": { | ||
"jest": true | ||
} | ||
} | ||
] | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not dead", | ||
"not ie 11" | ||
], | ||
"jest": { | ||
"preset": "@vue/cli-plugin-unit-jest" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# agent-tools | ||
# agent-lib | ||
@@ -3,0 +3,0 @@ ## Project setup |
@@ -1,26 +0,3 @@ | ||
// Importa o componente | ||
// import CsNav from "./components/CsNav.vue"; | ||
// nova linha | ||
import Store from "./store"; | ||
import CsNav from "@/components/CsNav.vue"; | ||
// export function install() { | ||
// if (install.installed) return; | ||
// install.installed = true; | ||
// // Vue.component("CsNav", CsNav); | ||
// } | ||
// const plugin = { | ||
// install, | ||
// }; | ||
// let GlobalVue = null; | ||
// if (typeof window !== "undefined") { | ||
// GlobalVue = window.Vue; | ||
// } else if (typeof global !== "undefined") { | ||
// GlobalVue = global.Vue; | ||
// } | ||
// if (GlobalVue) { | ||
// GlobalVue.use(plugin); | ||
// } | ||
export { Store }; | ||
export { CsNav }; |
@@ -1,21 +0,4 @@ | ||
const { defineConfig } = require("@vue/cli-service"); | ||
const path = require("path"); | ||
const { defineConfig } = require('@vue/cli-service') | ||
module.exports = defineConfig({ | ||
css: { | ||
loaderOptions: { | ||
scss: { | ||
additionalData: `@import "@/scss/index.scss";`, | ||
}, | ||
}, | ||
}, | ||
// aliases | ||
configureWebpack: { | ||
resolve: { | ||
alias: { | ||
"@": path.resolve(__dirname, "src"), | ||
"@components": path.resolve(__dirname, "src", "components"), | ||
}, | ||
}, | ||
}, | ||
}); | ||
transpileDependencies: true | ||
}) |
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
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 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
-33.33%14
-22.22%1
-50%1
-66.67%3524
-98.96%10
-52.38%44
-98.59%- Removed
- Removed
- Removed