New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contactstudio/agent-lib

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contactstudio/agent-lib - npm Package Compare versions

Comparing version

to
1.0.44

.browserslistrc

11

jsconfig.json

@@ -8,13 +8,6 @@ {

"paths": {
"@/*": [
"src/*"
]
"@/*": ["src/*"]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
}
}
{
"name": "@contactstudio/agent-lib",
"version": "1.0.43",
"version": "1.0.44",
"author": "Christopher Gonçalves <christopher.goncalves2002@gmail.com.br>",
"license": "MIT",
"index": "src/index.js",
"main": "./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",

@@ -15,3 +16,4 @@ "lint": "vue-cli-service lint"

"core-js": "^3.8.3",
"vue": "^3.2.13"
"vue": "^3.2.13",
"vuex": "^4.0.0"
},

@@ -24,5 +26,7 @@ "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",

@@ -32,39 +36,11 @@ "eslint": "^7.32.0",

"jest": "^27.0.5",
"node-sass": "^7.0.1",
"postcss": "^8.4.16",
"sass": "^1.32.7",
"sass-loader": "^12.0.0"
"sass-loader": "^12.6.0"
},
"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"
"description": "## Project setup ``` npm install ```",
"directories": {
"test": "tests"
}
}

@@ -1,2 +0,2 @@

# agent-lib
# agent-tools

@@ -3,0 +3,0 @@ ## Project setup

@@ -1,3 +0,26 @@

import CsNav from "@/components/CsNav.vue";
// Importa o componente
// import CsNav from "./components/CsNav.vue";
// nova linha
import Store from "./store";
export { CsNav };
// 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 };

@@ -1,12 +0,12 @@

import { shallowMount } from '@vue/test-utils'
import HelloWorld from '@/components/HelloWorld.vue'
import { shallowMount } from "@vue/test-utils";
import HelloWorld from "@/components/HelloWorld.vue";
describe('HelloWorld.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message'
const wrapper = shallowMount(HelloWorld, {
props: { msg }
})
expect(wrapper.text()).toMatch(msg)
})
})
describe("HelloWorld.vue", () => {
it("renders props.msg when passed", () => {
const msg = "new message";
const index = shallowMount(HelloWorld, {
props: { msg },
});
expect(index.text()).toMatch(msg);
});
});

@@ -1,4 +0,21 @@

const { defineConfig } = require('@vue/cli-service')
const { defineConfig } = require("@vue/cli-service");
const path = require("path");
module.exports = defineConfig({
transpileDependencies: true
})
css: {
loaderOptions: {
scss: {
additionalData: `@import "@/scss/index.scss";`,
},
},
},
// aliases
configureWebpack: {
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
"@components": path.resolve(__dirname, "src", "components"),
},
},
},
});