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.
gulp-chrome-web-store
Advanced tools
Readme
Upload and publish items to the Chrome Web Store with Gulp
npm i -D gulp-chrome-web-store
Refer to this page to get the response of credentials and access token.
Set that value in an environment variable.
CHROME_WEB_STORE_API_CREDENTIAL
CHROME_WEB_STORE_API_ACCESS_TOKEN_RESPONSE
For example:
export CHROME_WEB_STORE_API_CREDENTIAL=$( cat <<EOF | tr -d ' \r\n'
{
"installed": {
"client_id": "999999999999-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
"project_id": "foo-bar-baz",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "abcdefghijklmnopqrstuvwx",
"redirect_uris": [
"urn:ietf:wg:oauth:2.0:oob",
"http://localhost"
]
}
}
EOF
)
export CHROME_WEB_STORE_API_ACCESS_TOKEN_RESPONSE=$(cat <<EOF | tr -d ' \r\n'
{
"access_token": "vpvEyHWpX^{CQC`fREmnwCHb`ejN`ox^XxEbYDKXmghM`]lrL{ddTrxdgtgLEvAeX\oP]NkRgjFcvNE_enJZI`BNcvZScQOA\BAA|NSzB_Xg_ie_yXLrQ[sII_]r|jW{nzZULNP",
"expires_in": 3599,
"refresh_token": "riM{R[Lir|hyHT|DNeWZhQzVpOjvTbTMayHZdfNFlR{TB]KFSh^DyjNZySyj|aWYajb]dNCIRTZXmKKuB`bbUyoLRGkPWao|pibdNSk",
"scope": "https://www.googleapis.com/auth/chromewebstore",
"token_type": "Bearer"
}
EOF
)
For example:
const gulp = require('gulp')
const chromeWebStore = require('gulp-chrome-web-store')(
process.env.CHROME_WEB_STORE_API_CREDENTIAL,
process.evn.CHROME_WEB_STORE_API_ACCESS_TOKEN_RESPONSE,
);
const itemId = 'ID of your Chrome extension';
const item = chromeWebStore.item(itemId);
exports.deploy = () => {
return gulp.src('your-chrome-extension.zip')
.pipe(item.upload());
}
exports.publish = () => {
return item.publish();
}
FAQs
Upload and publish items to the Chrome Web Store with Gulp
The npm package gulp-chrome-web-store receives a total of 50 weekly downloads. As such, gulp-chrome-web-store popularity was classified as not popular.
We found that gulp-chrome-web-store 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.