Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
squid-core
Advanced tools
Changelog
0.4.11 - 2015-11-26
Changed:
remove
, length
and clear
methods to Storage classReadme
Device agnostic shared code for OSX and IOS.
Squid is build on top of cool open source projects such as:
All data are served by the Github API.
This package is not intended to be used as a stand alone library but you might need to install it for development purpose with the following command:
$ npm install
The application client ID and his secret are stored into a JSON file called github.json
at the project's root. For obvious security reasons this file is not published. See Unit Tests' section for more details about file content.
// New Squid Core instance
var SquidCore = require('squid-core')
// Setup instance with custon settings
SquidCore.setup({
locale: {
logger: false
, github: {
credentials: {
client_id: GITHUB.client_id
, client_secret: GITHUB.client_secret
}
}
}
, envName: 'test'
})
SquidCore._VERSION // return '0.4.0'
// Get config value
SquidCore
.getConfig('github.pagination') // return '50'
// New User model
var username = 'michael'
, model = SquidCore.model('user')
, user = new model({ name: username })
user.get('name') // return 'michael'
First you need to add the ./github.json
to the package root with the following content:
{
"client_id": "xxxx",
"client_secret": "xxxx"
"username": "a-valid-gitub-username",
"password": "a-valid-gitub-password",
"token": "a-valid-oauth-token-or-false"
}
Then run the following command to perform unit tests:
$ npm test
See the roadmap future developments.
Squid is MIT licensed
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
FAQs
Device's shared agnostic code
The npm package squid-core receives a total of 0 weekly downloads. As such, squid-core popularity was classified as not popular.
We found that squid-core 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.