Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-fragment

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-fragment - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

package.json
{
"name": "vue-fragment",
"version": "1.0.0",
"version": "1.0.1",
"description": "fragment component for vuejs",

@@ -9,8 +9,7 @@ "main": "dist/vue-fragments.min.js",

"build": "node ./rollup.build.js",
"prepublish": "npm run build",
"postinstall": "node -e \"require('./package.json').name === 'vue-fragments' ? console.error('\n [vue-fragment] \"vue-fragments\" is deprecated. run \"npm install vue-fragment\" (without trailing s)\n') : null\""
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/y-nk/vue-fragments.git"
"url": "git+https://github.com/y-nk/vue-fragment.git"
},

@@ -25,3 +24,3 @@ "keywords": [

"bugs": {
"url": "https://github.com/y-nk/vue-fragments/issues"
"url": "https://github.com/y-nk/vue-fragment/issues"
},

@@ -34,3 +33,3 @@ "peerDependencies": {

],
"homepage": "https://github.com/y-nk/vue-fragments#readme",
"homepage": "https://github.com/y-nk/vue-fragment#readme",
"devDependencies": {

@@ -37,0 +36,0 @@ "@babel/core": "^7.1.2",

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

# vue-fragments
# vue-fragment
## what

@@ -18,3 +18,3 @@ a very candide fragment component for Vue.js

### Use
- download the package `npm i -s vue-fragments`
- download the package `npm i -s vue-fragment`

@@ -25,3 +25,3 @@ From here, you can:

```
import Fragment from 'vue-fragments'
import Fragment from 'vue-fragment'
Vue.use(Fragment.Plugin)

@@ -31,3 +31,3 @@

import { Plugin } from 'vue-fragments'
import { Plugin } from 'vue-fragment'
Vue.use(Plugin)

@@ -50,3 +50,3 @@

```
import { Fragment } from 'vue-fragments'
import { Fragment } from 'vue-fragment'

@@ -64,4 +64,1 @@ export const MyComponent {

```
### Side note
The package is named `vue-fragments` because it took some time to release the `vue-fragment` which was already taken. I plan to migrate slow
import directive from './directive'
/*
// wait for PR 'assets for functional components' to pass
export default {
functional: true,
directives: {
'fragment': directive
},
render: function(h, context) {
return h(
'div', {
attrs: { class: 'fragment' },
directives: [{ name: 'fragment' }]
},
[context.children]
)
}
}
*/
export default {
abstract: true,

@@ -5,0 +24,0 @@ directives: { 'fragment': directive },

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