Skip to content

Commit

Permalink
Fixed vue prop handling (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-leuthaeuser authored Nov 28, 2023
1 parent 1a1741f commit 0985393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const vueCleaningRegex = /<\/*script.*>|<style[\s\S]*style>|<\/*br>/ig;
const vueTemplateRegex = /(<template.*>)([\s\S]*)(<\/template>)/ig;
const vueCommentRegex = /<\!--[\s\S]*?-->/ig;
const vueBindRegex = /(:\[)([\s\S]*?)(\])/ig;
const vuePropRegex = /\s([.:@])([a-zA-Z]*?=)/ig;
const vuePropRegex = /\s([.:@])([\s\S]*?=)/ig;

/**
* Convert a single vue file to AST
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joernio/astgen",
"version": "3.5.0",
"version": "3.5.1",
"description": "Generate JS/TS AST in json format with Babel",
"exports": "./index.js",
"keywords": [
Expand Down

0 comments on commit 0985393

Please sign in to comment.