GitShow/vuejs/babel-helper-vue-jsx-merge-props
vuejs

babel-helper-vue-jsx-merge-props

babel helper for vue jsx spread.

by vuejs
Star on GitHubForknpm

JavaScript

30 stars12 forks2 contributorsQuiet · 6y agoSince 2016

Meet the team

See all 2 on GitHub →
yyx990803
yyx99080310 contributions
njleonzhang
njleonzhang1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

0 of 6 standards met

Community profile →
12
○README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 6y ago
See all on GitHub →
dfzysmy2tf-create
Security Vulnerability Report: babel-helper-vue-jsx-merge-propsOpenIssue

hi, we are a security team. We found a prototype pollution vulnerability in your project. 1. Vulnerability Type & Cause Vulnerability Type: Prototype Pollution Root Cause: The mergeJSXProps function uses for...in loops without hasOwnProperty checks to iterate user‑controlled objects, and performs unsafe dynamic property assignment. Attackers can inject the __proto__ key to modify the object prototype, leading to local prototype pollution. 2. Vulnerability Location Affected Package: babel‑helper‑vue‑jsx‑merge‑props@2.0.3 Vulnerable File: index.js Key Vulnerable Lines: Line 6: Line 25: Line 34: Line 38: 3. Proof of Concept (PoC) 4. PoC Expected Output 5. Fixed Code 6.Fix Verification Fixed Output

dfzysmy2tf-create · 5mo ago
stiletto
Missing LICENSEOpenIssue

This project is missing a LICENSE or COPYING file containing a copy of MIT license. https://github.com/babel/babel/pull/7308#issuecomment-367615152

stiletto · 4y ago
Yitengyu
Why nest merge of 'directives' is not supported?OpenIssue

I am using with and encountered a problem somewhat like This directive makes v-show not work when been added after it After reading the codes I found that is using to merge props but nest merge of 'directives' is not supported, that is what causes the problem. Owing to my limited knowledge, I cannot see why. Please consider it if it's reasonable.

Yitengyu · 7y ago

Recent fixes

View closed PRs →
kiyonxxx
"Uncaught SyntaxError: Invalid regular expression flags" on minified scriptMergedPR

When minifying the script, the specified error occurs due to the fact that there is no semicolon in the first line

kiyonxxx · 4y ago
awong1900
npm install error ClosedIssue

It look the npm package is wrong?

awong1900 · 6y ago
AlbertLucianto
fix: avoid mutating original dataMergedPR

Fix related issue vuejs/babel-plugin-transform-vue-jsx#171 Currently, the props are directly assigned to the result in the reduce function. The problem is when using spread operator in jsx, the parameter is the original object. As a result, when assigning something to , it will mutate that object. These changes fix the issue by copying the props instead of direct assignment. This PR also passed the test cases in vuejs/babel-plugin-transform-vue-jsx.

AlbertLucianto · 7y ago
Structured data for AI agents

Repository: vuejs/babel-helper-vue-jsx-merge-props. Description: babel helper for vue jsx spread. Stars: 30, Forks: 12. Primary language: JavaScript. Languages: JavaScript (100%). Open PRs: 1, open issues: 3. Last activity: 6y ago. Community health: 12%. Top contributors: yyx990803, njleonzhang.

·@ofershap

Replace github.com with gitshow.dev