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

vue-inbrowser-compiler-demi

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-inbrowser-compiler-demi - npm Package Compare versions

Comparing version 4.55.0 to 4.56.5

2

package.json
{
"name": "vue-inbrowser-compiler-demi",
"version": "4.55.0",
"version": "4.56.5",
"description": "use this with vue-inbrowser-compiler to compile for vue2 or vue3",

@@ -5,0 +5,0 @@ "module": "index.esm.js",

@@ -9,6 +9,10 @@ const Vue = require('vue')

module.exports.Vue2 = Vue
module.exports.compileTemplate = ({ source: template }) => ({
code: VueTemplateCompiler.compile(template).render
})
module.exports.compileTemplate = ({ source: template }) => {
const compiled = VueTemplateCompiler.compile(template)
return {
code: compiled.render,
staticRenderFns: compiled.staticRenderFns
}
}
module.exports.parseComponent = VueTemplateCompiler.parseComponent
module.exports.compileScript = () => ({ type: 'script' })

@@ -44,3 +44,3 @@ import { parseComponent as parse } from 'vue-template-compiler'

}
}) => { code: string }
}) => { code: string, staticRenderFns: string[] }

@@ -47,0 +47,0 @@ export declare function parseComponent(...args:Parameters<typeof parse>): ReturnType<typeof parse> & {scriptSetup?:SFCScriptBlock}

@@ -9,6 +9,10 @@ import Vue from 'vue'

export { Vue as Vue2 }
export const compileTemplate = ({ source: template }) => ({
code: compile(template).render
})
export const compileTemplate = ({ source: template }) => {
const compiled = compile(template)
return {
code: compiled.render,
staticRenderFns: compiled.staticRenderFns
}
}
export { parseComponent }
export const compileScript = () => ({ type: 'script' })
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