Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@quenty/blend
Advanced tools
Declarative UI system inspired by Fusion
npm install @quenty/blend --save
This system is designed to be very similar to fusion, except that we do not having any global state management, do not rely upon weak references, works with my types, and is built on top of Rx types.
See files in src/Client/Test that are stories. Blend returns an observable that will create/return one instance.
Note that subscribe function anchors everything into a maid/cleanup function that can be used to disconnect the whole tree.
local require = ... -- Nevermore import here
local Blend = require("Blend")
local Maid = require("Maid")
local maid = Maid.new()
local isVisible = Instance.new("BoolValue")
isVisible.Value = false
local percentVisible = Blend.Spring(Blend.Computed(isVisible, function(visible)
return visible and 1 or 0
end), 35)
local transparency = Blend.Computed(percentVisible, function(percent)
return 1 - percent
end)
maid:GiveTask((Blend.New "Frame" {
Size = UDim2.new(0.5, 0, 0.5, 0);
BackgroundColor3 = Color3.new(0.9, 0.9, 0.9);
AnchorPoint = Vector2.new(0.5, 0.5);
Position = UDim2.new(0.5, 0, 0.5, 0);
BackgroundTransparency = transparency;
Parent = parent; -- TODO: Assign parent
[Blend.Children] = {
Blend.New "UIScale" {
Scale = Blend.Computed(percentVisible, function(percent)
return 0.8 + 0.2*percent
end);
};
Blend.New "UICorner" {
CornerRadius = UDim.new(0.05, 0);
};
};
}):Subscribe())
FAQs
Declarative UI system.
We found that @quenty/blend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.