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

vue-sfc-rollup

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-sfc-rollup - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Changelog

## [2.2.2] - 2020-01-08
### Fixed
- Fix eslint errors in files created by vue-sfc-rollup
## [2.2.1] - 2019-12-31

@@ -9,0 +14,0 @@

2

package.json

@@ -6,3 +6,3 @@ {

"license": "ISC",
"version": "2.2.1",
"version": "2.2.2",
"bin": {

@@ -9,0 +9,0 @@ "sfc-init": "./sfc-init.js"

@@ -10,2 +10,3 @@ <% if (ts) { -%>

// Define typescript interfaces for autoinstaller
// eslint-disable-next-line @typescript-eslint/no-explicit-any
interface InstallFunction extends PluginFunction<any> {

@@ -35,3 +36,4 @@ installed?: boolean;

// To auto-install when vue is found
/* global window global */
// eslint-disable-next-line no-redeclare
/* global window, global */
let GlobalVue = null;

@@ -42,2 +44,3 @@ if (typeof window !== 'undefined') {

<% if (ts) { -%>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
GlobalVue = (global as any).Vue;

@@ -44,0 +47,0 @@ <% } else { -%>

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

<% if (ts) { -%>
import Vue, { VNode } from 'vue';
<% } else { -%>
import Vue from 'vue';
<% } -%>
import Dev from '@/serve-dev.vue';

@@ -7,3 +11,7 @@

new Vue({
<% if (ts) { -%>
render: (h): VNode => h(Dev),
<% } else { -%>
render: (h) => h(Dev),
<% } -%>
}).$mount('#app');

@@ -10,2 +10,3 @@ <% if (ts) { -%>

// Define typescript interfaces for autoinstaller
// eslint-disable-next-line @typescript-eslint/no-explicit-any
interface InstallFunction extends PluginFunction<any> {

@@ -36,3 +37,4 @@ installed?: boolean;

// To auto-install when vue is found
/* global window global */
// eslint-disable-next-line no-redeclare
/* global window, global */
let GlobalVue = null;

@@ -43,2 +45,3 @@ if (typeof window !== 'undefined') {

<% if (ts) { -%>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
GlobalVue = (global as any).Vue;

@@ -60,2 +63,3 @@ <% } else { -%>

<% if (ts) { -%>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(component as any as InstallableComponent).install = install;

@@ -62,0 +66,0 @@ <% } else { -%>

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

<% if (ts) { -%>
import Vue, { VNode } from 'vue';
<% } else { -%>
import Vue from 'vue';
<% } -%>
import Dev from '@/serve-dev.vue';

@@ -7,3 +11,7 @@

new Vue({
<% if (ts) { -%>
render: (h): VNode => h(Dev),
<% } else { -%>
render: (h) => h(Dev),
<% } -%>
}).$mount('#app');

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc