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

@vue-macros/common

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-macros/common - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

2

dist/index.d.ts
import MagicStringBase, { OverwriteOptions } from 'magic-string';
import { Node, Program, CallExpression, Literal } from '@babel/types';
import { SFCScriptBlock, SFCDescriptor } from 'vue/compiler-sfc';
import { SFCScriptBlock, SFCDescriptor } from '@vue/compiler-sfc';

@@ -5,0 +5,0 @@ declare class MagicString extends MagicStringBase {

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/vue.ts
var _compilersfc = require('vue/compiler-sfc');
var _compilersfc = require('@vue/compiler-sfc');
var parseSFC = (code, id) => {

@@ -42,4 +42,4 @@ var _a;

var _path = require('path'); var _path2 = _interopRequireDefault(_path);
var _compilersfc3 = require('@vue/compiler-sfc');
// src/constants.ts

@@ -67,3 +67,3 @@ var DEFINE_PROPS = "defineProps";

}
const { program } = _compilersfc3.babelParse.call(void 0, code, {
const { program } = _compilersfc.babelParse.call(void 0, code, {
sourceType: "module",

@@ -80,3 +80,3 @@ plugins

return;
_compilersfc3.walkIdentifiers.call(void 0, node, (id) => {
_compilersfc.walkIdentifiers.call(void 0, node, (id) => {
if (setupBindings.includes(id.name))

@@ -83,0 +83,0 @@ throw new SyntaxError(

{
"name": "@vue-macros/common",
"version": "0.11.1",
"packageManager": "pnpm@7.9.5",
"version": "0.11.2",
"packageManager": "pnpm@7.10.0",
"license": "MIT",

@@ -28,5 +28,2 @@ "homepage": "https://github.com/sxzz/unplugin-vue-macros#readme",

},
"peerDependencies": {
"vue": "^2.7.0 || ^3.2.25"
},
"dependencies": {

@@ -39,4 +36,3 @@ "@babel/types": "^7.18.13",

"@babel/parser": "^7.18.13",
"tsup": "^6.2.3",
"vue": "^3.2.38"
"tsup": "^6.2.3"
},

@@ -43,0 +39,0 @@ "engines": {

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