Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This gem packages the TimelineJS for easy use with the Rails asset pipleine.
Add to the assets group in your Gemfile:
gem 'timelineJS-rails', '~> 1.1.5'
Install the gem:
bundle install
Add the Javascript to application.js
:
//=require timelineJS/embed
Add the CSS to application.css
/*
*= require timelineJS/timeline
*/
The Localization language default is en
English,
if you want to change it, just add the Javascript to application.js
:
//=require timelineJS/locale/xxx # you should change the xxx with one of the available languages below
af
Afrikaansar
Arabic (beta)bg
Bulgarianca
Catalancz
Czechda
Danishde
German / Deutschel
Greeken
Englishen-24hr
English using 24hr timees
Spanisheu
Basque/ Euskarafi
Finnishfo
Faroesefr
Frenchgl
Galicianhu
Hungarianhy
Armenianid
Indonesianis
Icelandicit
Italianiw
Hebrew (beta)ja
Japaneseka
Georgianko
Koreanlv
Latviannl
Dutchno
Norwegianpl
Polishpt-br
Brazilian Portuguesept
Portugueseru
Russiansk
Slovaksl
Sloveniansr-cy
Serbian (Cyrillic)sr
Serbian (Latin)sv
Swedishta
Tamiltl
Tagalogtr
Turkishzh-cn
Chinesezh-tw
TaiwaneseIf you want to set the font theme, just add the CSS to application.css
:
/*
*= require timelineJS/themes/font/xxx #you should change the xxx with one of the available font themes below
*/
Arvo-PTSans
Merriweather-NewsCycle
PoiretOne-Molengo
PTSerif-PTSans
DroidSerif-DroidSans
Lekton-Molengo
NixieOne-Ledger
AbrilFatface-Average
PlayfairDisplay-Muli
Rancho-Gudea
Bevan-PotanoSans
BreeSerif-OpenSans
SansitaOne-Kameron
Pacifico-Arimo
$(document).ready(function() {
createStoryJS({
type: 'timeline',
width: '400',
height: '500',
source: '/events.json', //get the events.json format from https://github.com/VeriteCo/TimelineJS#file-formats
embed_id: 'time_line'
});
});
FAQs
Unknown package
We found that timelineJS-rails demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.