Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@aire-ux/aire-condensation
Advanced tools
Condensation is a library that allows transparent client-server communication for @aire-ux/component widgets.
@Bean public ServletRegistrationBean<AireDesignerServlet> aireServlet() {
return new ServletRegistrationBean(AireDesignerServlet, "context"); // servlet will be registered at "/web-context/context"
}
Define a data-transfer object:
@RootElement
class Address {
@Property({
type: Number,
read: {
alias: "room-count",
},
})
roomCount: number;
@Property(String)
city: string;
}
@RootElement
class Person {
@Property(String)
name: string | undefined;
@Property({
type: Address,
read: {
alias: "home-addresses",
},
})
addresses: Address[];
}
@RootElement
class Group {
@Property(Person)
members: Person[] | undefined;
}
import { Receive, Remotable } from "./remotable";
@Remotable
class RemotableGroup {
/**
* @param group the group to construct this from
*/
constructor(@Receive(Group) group: Group) {}
addMember(@Receive(Person) member: Person): void {
this.group.members.push(member); // addMember can be called from the server-side
}
}
const group = Condensation.newContext().bind(RemotableGroup);
FAQs
Client-side serialization library for Aire-UX
The npm package @aire-ux/aire-condensation receives a total of 1 weekly downloads. As such, @aire-ux/aire-condensation popularity was classified as not popular.
We found that @aire-ux/aire-condensation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.