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.
@binary-com/binary-style
Advanced tools
Style system and guide for Binary.com
You can see the Live Style Guide
The goal of the project is to serve as base style for all Binary projects, and to ensure consistency and maintainability of the brand presentation.
Add jQuery to your project
Add these files to your project:
https://style.binary.com/binary.js
https://style.binary.com/binary.css
https://style.binary.com/binary.more.js
https://style.binary.com/binary.more.css
npm
npm install --save binary-style
import 'binary-style';
import 'binary-style/binary.css';
import 'binary-style/binary.more'; // This includes a custom jquery-ui@1.12.1 build
import 'binary-style/binary.more.css'; // This includes custom styles for jquery-ui
import 'binary-style/binary.isolated.css
instead,import 'binary-style/binary.isolated.css';
The only difference is that all css styles are wrapped inside a wrapper with .binary-style
selector.
You need to have:
node
npm
(npm install npm@4 -g
)npm install
sudo npm install -g grunt-cli
grunt deploy
There are times that you are working on various branches at the same time, and you want to deploy/test each branch separately on your gh-pages, you can simply use --branch=branchname
for grunt commands:
grunt deploy --branch=branchname
This will deploy your changes to a sub-folder named: br_branchname
and it can be browsed at: https://YOUR_GITHUB_USERNAME.github.io/binary-style/br_branchname/In order to remove the created folders from your gh-pages, you can use either:
grunt deploy --cleanup
: removes all br_*
folders and deploys to the root folder.
or
grunt shell:remove_folder --folder=br_branchname1,br_branchname2,...
: only removes the specified folder(s) from your gh-pages.
sudo grunt serve
It will watch for js/css changes and rebuild on every change you make.
grunt release --production=1 [--cleanup]
(The value is needed when more than one option is used)
--production
(mandatory)
--cleanup
[optional]
add: false
To publish new package version to npm, run
grunt npm_publish
FAQs
Style system and guide for Binary.com
The npm package @binary-com/binary-style receives a total of 41 weekly downloads. As such, @binary-com/binary-style popularity was classified as not popular.
We found that @binary-com/binary-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.