Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
##clooney makes graphs with famo.us
Clooney builds graphs quickly, and handles updates in a generic way.
using layout logic from d3.js, it renders them with the famo.us layout engine.
###here's the demo
it's in early development. (May 2014)
it currently using the require.js-way, but i'll reduce this dependency soon.
named after george clooney.
//a generic data format for all graphs
data= [{
value:30,
label:"Rivest",
color:"steelblue"
},
{
value:40,
label:"Shamir",
color:"darkred"
},
{
value:60,
label:"Adleman",
color:"lightsalmon"
}]
//compute the graph
graph = new Clooney({
data: data,
width: 400,
height: 400,
type: "horizontal_bar"
})
//put the graph (a container surface) in your app..
view = graph.build()
mainContext.add(view)
//then to update it..
g.update({
align:"middle",
type:"vertical_bar"
})
//they automatically animate with a 'wall' physics transition
//the to hide it..
g.hide()
options= {
data:[] //objects with a number as 'value'. change any value and it updates intellegently
width:400//graph container width (and x-axis scale size)
height:400//graph container height (and y-axis scale size)
align:"start|middle|end" //start=left for horizontal charts, start=bottom for vertical charts
type:"horizontal_bar|vertical_bar|area_bar|treemap" //the type of chart
hidden: true|false //lets you control when it opens/closes
}
#Utility methods they just wrap around 'g.update()', if you wanna use them
g= new Clooney()
//show/hide the data
g.hide()
g.show()
//container size
g.resize({width:500})
g.resize({height:0})
//options.align
g.align('start')
g.align('middle')
g.align('end')
//ordering
g.sort()
g.sort(my_sort_method)
g.sort('desc')
g.randomize()//re-arrange randomly
//sugar
g.wave()//wiggle each value in a sequence
g.randomize()//change order at random
g.random_walk()//mindlessly guide things out of order
#Direct manipulation if you're a badass, you can manipulate the divs manually, through the graph object aswell.
g.bars[1].focus()
g.bars[1].height=800
g.bars[1].draw()
FAQs
Clooney is an actor library for the web
The npm package clooney receives a total of 3 weekly downloads. As such, clooney popularity was classified as not popular.
We found that clooney demonstrated a not healthy version release cadence and project activity because the last version was released 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.