
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
VueJS 3.X + Typescript + JSX
A module allowing the use of Typescript and JSX to declare VueJS components.
It provides all the necessary definitions to use Vue components with strong typings, in particular in the render function.
It uses both vue-class-component and vue-property-decorators to allow the use of class syntax for Vue components.
In addition, it provides JSX typings so that the render function of components can be written in JSX, enabling type checking.
import { Vue, Prop, Component, Emits, h /* (1) */ } from 'vtyx';
interface ChildProps {
title: string;
}
// (2)
@Component
class Child extends Vue<ChildProps> {
@Prop()
title: string;
@Emits(['click'])
render() {
return (
// type checking on intrinsic elements
<a
href="#"
onClick={() => this.$emit('click')}
>
{title}
</a>
);
}
}
@Component
class Parent extends Vue<{}> {
hide = false;
render() {
return (
<Child
class={['c1', { 'c2': true, 'c3': false }]}
prop1="foo" // type checking on components
on={{
// event modifiers handled
'change.prevent.default': () => this.hide = !this.hide,
}}
v-visible={this.hide} // a few directives are available
/>
);
}
}
onClick, onChange, onInput available on intrinsic elements.foo event, either onFoo=... or on={{ 'foo': ... }} can be used.
Event modifiers can be used, but only in the on={{ 'foo.modifier': ... }}
syntax.class, key and ref are handled. See
The Vue documentation
for more details.v-visible and v-html.v-model or v-bindFAQs
VueJS 3.x with Typescript & JSX
We found that vtyx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.