Socket
Socket
Sign inDemoInstall

vue-inbrowser-compiler-utils

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.71.1 to 4.72.4

tsconfig.json

6

CHANGELOG.md
# Change Log
## 4.72.4
### Patch Changes
- [#1563](https://github.com/vue-styleguidist/vue-styleguidist/pull/1563) [`8e0fd2a0`](https://github.com/vue-styleguidist/vue-styleguidist/commit/8e0fd2a0c456d4c5bd1a2b4a3107f1eb5f13e4a7) Thanks [@elevatebart](https://github.com/elevatebart)! - fix compatibility with vue 3.3.2
## 4.71.1

@@ -4,0 +10,0 @@

8

lib/vue-inbrowser-compiler-utils.cjs.js

@@ -173,4 +173,10 @@ 'use strict';

type: 'script',
content: `export default (function () {${compiledComponent.script}})()`
content: `export default (function () {${compiledComponent.script}})()`,
loc: {
start: {
offset: 0
}
}
},
source: `<script>export default (function () {${compiledComponent.script}})()</script>`,
scriptSetup: null

@@ -177,0 +183,0 @@ }, {

@@ -166,4 +166,10 @@ import { isVue3, parseComponent, compileScript, compileTemplate } from 'vue-inbrowser-compiler-demi';

type: 'script',
content: `export default (function () {${compiledComponent.script}})()`
content: `export default (function () {${compiledComponent.script}})()`,
loc: {
start: {
offset: 0
}
}
},
source: `<script>export default (function () {${compiledComponent.script}})()</script>`,
scriptSetup: null

@@ -170,0 +176,0 @@ }, {

2

package.json
{
"name": "vue-inbrowser-compiler-utils",
"version": "4.71.1",
"version": "4.72.4",
"description": "use this with vue-inbrowser-compiler to allow jsx compilation",

@@ -5,0 +5,0 @@ "module": "lib/vue-inbrowser-compiler-utils.esm.js",

@@ -34,3 +34,3 @@ import { describe, test, expect } from 'vitest'

const compiledComponent = {
template: '<div class="test">T</div><div class="test2">T2</div>',
template: `<svg><path/></svg><div class="test">T</div><div class="test2">T2</div>`,
script: 'return { data: 1 }',

@@ -48,4 +48,7 @@ style: '.test { color: red; } .test2 { color: blue; }',

const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\"div\\", { class: \\"test\\" }, \\"T\\", -1 /* HOISTED */)
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\"div\\", { class: \\"test2\\" }, \\"T2\\", -1 /* HOISTED */)
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\"svg\\", null, [
/*#__PURE__*/_createElementVNode(\\"path\\")
], -1 /* HOISTED */)
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\"div\\", { class: \\"test\\" }, \\"T\\", -1 /* HOISTED */)
const _hoisted_3 = /*#__PURE__*/_createElementVNode(\\"div\\", { class: \\"test2\\" }, \\"T2\\", -1 /* HOISTED */)

@@ -55,3 +58,4 @@ return function render(_ctx, _cache, $props, $setup, $data, $options) {

_hoisted_1,
_hoisted_2
_hoisted_2,
_hoisted_3
], 64 /* STABLE_FRAGMENT */))

@@ -58,0 +62,0 @@ }}

@@ -13,4 +13,10 @@ import { compileScript, compileTemplate, isVue3, parseComponent } from 'vue-inbrowser-compiler-demi'

type: 'script',
content: `export default (function () {${compiledComponent.script}})()`
content: `export default (function () {${compiledComponent.script}})()`,
loc: {
start: {
offset: 0
}
}
},
source: `<script>export default (function () {${compiledComponent.script}})()</script>`,
scriptSetup: null

@@ -17,0 +23,0 @@ } as any,

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