Socket
Socket
Sign inDemoInstall

vue-good-table-next

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.1.0

src/.DS_Store

86

package.json
{
"name": "vue-good-table-next",
"version": "0.0.1",
"sideEffects": [
"*.vue",
"*.css"
],
"version": "0.1.0",
"description": "A simple, clean data table for Vue (3.x) with essential features like sorting, column filtering, pagination etc",
"main": "dist/vue-good-table.cjs.js",
"module": "dist/vue-good-table.esm.js",
"files": [
"dist",
"src"
"author": {
"name": "boris",
"email": "boris@singlequote.net"
},
"contributors": [
{
"name": "xaksis",
"url": "https://github.com/xaksis"
}
],
"license": "MIT",
"scripts": {
"build": "rollup -c rollup.config.js",
"test:unit": "vue-cli-service test:unit",
"dev": "vite --config playground/vite.config.js",
"docs:dev": "vuepress dev vp-docs",
"docs:build": "vuepress build vp-docs",
"test": "echo \"No test specified\""
"docs:dev": "vuepress dev vp-docs"
},
"repository": "github:borisflesch/vue-good-table-next",
"keywords": [
"vue",
"vuejs",
"table",
"datatable"
"main": "dist/vue-good-table.cjs.js",
"module": "dist/vue-good-table.esm.js",
"files": [
"dist",
"src"
],
"author": {
"name": "boris",
"email": "boris@singlequote.net"
},
"dependencies": {
"date-fns": "^2.24.0",
"date-fns": "^2.25.0",
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"@vitejs/plugin-vue": "^1.9.0",
"@vue/component-compiler-utils": "^3.2.2",
"@vitejs/plugin-vue": "^1.9.4",
"@vue/babel-preset-app": "^4.5.15",
"@vue/cli-plugin-unit-jest": "^4.5.15",
"@vue/cli-service": "^4.5.15",
"@vue/component-compiler-utils": "^3.3.0",
"@vue/test-utils": "^2.0.0-rc.16",
"@vuepress/plugin-google-analytics": "^2.0.0-beta.26",
"@vuepress/plugin-register-components": "^2.0.0-beta.26",
"@vuepress/plugin-search": "^2.0.0-beta.26",
"chai": "^4.1.2",
"chalk": "^4.1.0",
"chromedriver": "^92.0.2",
"chromedriver": "^95.0.0",
"eslint-config-airbnb": "^18.2.0",
"postcss-loader": "^6.1.1",
"rollup": "^2.56.1",
"postcss-loader": "^6.2.0",
"rollup": "^2.58.3",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-scss": "3",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.42.1",
"vite": "~2.5.3",
"vue": "^3.1.0",
"vuepress": "^2.0.0-beta.26"
}
"sass": "^1.43.4",
"sinon": "^11.1.2",
"typescript": "^4.4.4",
"vite": "^2.6.13",
"vue": "^3.2.20",
"vue-jest": "^5.0.0-0",
"vuepress": "^2.0.0-beta.26",
"webpack-node-externals": "^3.0.0"
},
"keywords": [
"vue",
"vuejs",
"table",
"datatable"
],
"repository": "github:borisflesch/vue-good-table-next",
"sideEffects": [
"*.vue",
"*.css"
]
}

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

# (WIP) Vue-good-table-next
# Vue-good-table-next
| :warning: WARNING |
|:---------------------------|
| This project is a port of Vue-good-table for Vue 3.x. The work is currently in progress and many changes could be made shortly, hence the project is not yet ready to use in a production environment. |
| This project is a port of Vue-good-table for Vue 3.x. The current version is stable enough to start developing new projects but work is still in progress and changes could be made in the short-term. Thus the project is not yet intended to be used in a production environment. |
<!-- [![npm](https://img.shields.io/npm/dm/vue-good-table.svg?style=flat-square)](https://www.npmjs.com/package/vue-good-table)
[![npm](https://img.shields.io/github/package-json/v/xaksis/vue-good-table.svg?style=flat-square)](https://github.com/xaksis/vue-good-table/releases)
[![npm](https://img.shields.io/github/license/xaksis/vue-good-table.svg?style=flat-square)](https://github.com/xaksis/vue-good-table/blob/master/LICENSE)
[![](https://data.jsdelivr.com/v1/package/npm/vue-good-table/badge)](https://www.jsdelivr.com/package/npm/vue-good-table)
[![Twitter Follow](https://img.shields.io/twitter/follow/crayonbytes.svg?label=Follow&style=social)](https://twitter.com/crayonbytes) -->
[![npm](https://img.shields.io/npm/dm/vue-good-table-next.svg?style=flat-square)](https://www.npmjs.com/package/vue-good-table-next)
[![npm](https://img.shields.io/github/package-json/v/borisflesch/vue-good-table.svg?style=flat-square)](https://github.com/borisflesch/vue-good-table-next/releases)
[![npm](https://img.shields.io/github/license/borisflesch/vue-good-table-next.svg?style=flat-square)](https://github.com/borisflesch/vue-good-table-next/master/LICENSE)
[![](https://data.jsdelivr.com/v1/package/npm/vue-good-table-next/badge)](https://www.jsdelivr.com/package/npm/vue-good-table-next)
[![Twitter Follow](https://img.shields.io/twitter/follow/borisflesch.svg?label=Follow&style=social)](https://twitter.com/borisflesch)

@@ -79,12 +79,17 @@ An easy to use, clean and powerful data table for Vue with essential features like sorting, column filtering, pagination and much more - [borisflesch.github.io/vue-good-table-next/](https://borisflesch.github.io/vue-good-table-next/)

```bash
npm install --save vue-good-table
npm install vue-good-table-next
```
Install with npm:
```bash
yarn add vue-good-table-next
```
Import globally in app:
```javascript
import VueGoodTablePlugin from 'vue-good-table';
import VueGoodTablePlugin from 'vue-good-table-next';
// import the styles
import 'vue-good-table/dist/vue-good-table.css'
import 'vue-good-table/dist/vue-good-table-next.css'

@@ -96,3 +101,3 @@ Vue.use(VueGoodTablePlugin);

```js
import { VueGoodTable } from 'vue-good-table';
import { VueGoodTable } from 'vue-good-table-next';

@@ -109,3 +114,3 @@ // add to component

components: {
'vue-good-table': require('vue-good-table').VueGoodTable,
'vue-good-table': require('vue-good-table-next').VueGoodTable,
}

@@ -112,0 +117,0 @@ ```

@@ -8,2 +8,9 @@ import { format, parse, isValid, compareAsc } from 'date-fns';

/**
* Compare the two dates and return 1 if the first date is after the second, -1 if the first date is before the second or 0 if dates are equal.
* @param {*} x Date 1
* @param {*} y Date 2
* @param {Object} column Additional parameters (e.g. dateInputFormat, dateOutputFormat)
* @returns
*/
date.compare = function (x, y, column) {

@@ -13,2 +20,8 @@ function cook(d) {

return parse(`${d}`, `${column.dateInputFormat}`, new Date());
} else if (typeof d === 'string') {
try {
return Date.parse(d);
} catch(err) {
return d;
}
}

@@ -15,0 +28,0 @@ return d;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc