Socket
Socket
Sign inDemoInstall

vue-swatches

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-swatches - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

package.json
{
"name": "vue-swatches",
"version": "2.0.0",
"version": "2.0.1",
"description": "Help the user picking beautiful colors!",

@@ -38,6 +38,2 @@ "author": "Diego Jara <saintplay96@gmail.com>",

},
"dependencies": {
"core-js": "^3.6.4",
"vue": "^2.6.11"
},
"devDependencies": {

@@ -52,2 +48,3 @@ "@melmacaluso/vue-modal": "^2.1.0",

"babel-eslint": "^10.1.0",
"core-js": "^3.6.4",
"coveralls": "^3.0.11",

@@ -63,2 +60,3 @@ "eslint": "^6.7.2",

"sass-loader": "^8.0.2",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11",

@@ -65,0 +63,0 @@ "vuepress": "^1.4.0"

@@ -28,5 +28,5 @@ <h1 align="center">

## **NOTICE**
## **Notice**
Vue Swatches recently reached **version 2**. If you were using v1 please consider reading the *Migration Guide* or you can check v1 [here](https://github.com/saintplay/vue-swatches/tree/v1.x)
Vue Swatches recently reached **version 2**. If you were using v1 please consider reading the [release notes](https://github.com/saintplay/vue-swatches/releases/tag/v2.0.0) or you can check v1 [here](https://github.com/saintplay/vue-swatches/tree/v1.x)

@@ -64,24 +64,24 @@

<li>
<a href="https://saintplay.github.io/vue-swatches/#presets">Presets ready to use</a>
<a href="https://saintplay.github.io/vue-swatches/presets/">Presets ready to use</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-simple">Built-in Popover</a>
<a href="https://saintplay.github.io/vue-swatches/api/props.html#behaviour-props">Built-in Popover</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-inline-mode">Inline Mode</a>
<a href="https://saintplay.github.io/vue-swatches/examples/#inline-mode">Inline Mode</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-custom-colors">Custom Colors</a>
<a href="https://saintplay.github.io/vue-swatches/examples/#custom-colors">Custom Colors</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-nested-colors">Nested Colors Array</a>
<a href="https://saintplay.github.io/vue-swatches/examples/#nested-colors">Nested Colors Array</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-props">Easily Customizable</a>
<a href="https://saintplay.github.io/vue-swatches/api/">Easily Customizable</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-using-a-custom-trigger">Custom Trigger</a>
<a href="https://saintplay.github.io/vue-swatches/examples/#using-a-custom-trigger">Custom Trigger</a>
</li>
<li>
<a href="https://saintplay.github.io/vue-swatches/#sub-fallback-input">Fallback Input</a>
<a href="https://saintplay.github.io/vue-swatches/examples/#fallback-input">Fallback Input</a>
</li>

@@ -104,3 +104,3 @@ </ul>

<div>
<swatches v-model="color"></swatches>
<v-swatches v-model="color"></v-swatches>
</div>

@@ -110,9 +110,9 @@ </template>

<script>
import Swatches from 'vue-swatches'
import VSwatches from 'vue-swatches'
// Import the styles too, globally
import "vue-swatches/dist/vue-swatches.min.css"
import "vue-swatches/dist/vue-swatches.css"
export default {
components: { Swatches }, // window.VueSwatches.default - from CDN
components: { VSwatches }, // window['vue-swatches'] - from CDN
data () {

@@ -131,12 +131,12 @@ return {

# serve with hot reload at localhost:8080
npm run dev
yarn serve
# distribution build with minification
npm run bundle
yarn build
# build the documentation into docs
npm run docs
npm docs:dev
# run unit tests
npm run test
yarn test:unit

@@ -143,0 +143,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc