New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

marmot-release

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marmot-release - npm Package Compare versions

Comparing version 1.1.8 to 1.2.0

1

bin/release.js

@@ -61,2 +61,3 @@ #!/usr/bin/env node

client: ossClient,
retryTimes: 3,
});

@@ -63,0 +64,0 @@ }

@@ -42,2 +42,3 @@ 'use strict';

* @param {String} [clientType='ALIYUN_OSS'] 'ALIYUN_OSS' or 'AMAZON_S3' default is 'ALIYUN_OSS'
* @param {String} [retryTimes=0]
*

@@ -52,2 +53,3 @@ * @example

* client,
* retryTimes,
* }).catch(e => {

@@ -60,3 +62,9 @@ * console.log(chalk.red(`upload package fail ${e.stack}`));

exports.uploadPackage = async ({
source, prefix, acl, bucket, client, clientType = CLIENT_TYPES.ALIYUN_OSS,
source,
prefix,
acl,
bucket,
client,
clientType = CLIENT_TYPES.ALIYUN_OSS,
retryTimes = 0,
}) => {

@@ -105,2 +113,3 @@ let sourceTgzPath;

acl,
retryTimes,
});

@@ -135,2 +144,5 @@ };

}) => {
if (retryTimes > MAX_RETRY_TIMES) {
retryTimes = MAX_RETRY_TIMES;
}
let source = _source;

@@ -190,4 +202,4 @@ if (typeof source === 'string') {

}
retryTimes += 1;
if (retryTimes < MAX_RETRY_TIMES) {
retryTimes -= 1;
if (retryTimes > -1) {
console.log(chalk.red(`[RETRY] ${targetPath}`));

@@ -194,0 +206,0 @@ return await this.uploadFile({

2

package.json
{
"name": "marmot-release",
"version": "1.1.8",
"version": "1.2.0",
"description": "marmot release tool",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -48,7 +48,7 @@ # Release build files

|[<img src="https://avatars1.githubusercontent.com/u/2139038?v=4" width="100px;"/><br/><sub><b>zhangyuheng</b></sub>](https://github.com/zhangyuheng)<br/>|[<img src="https://avatars1.githubusercontent.com/u/15955374?v=4" width="100px;"/><br/><sub><b>gaius-qi</b></sub>](https://github.com/gaius-qi)<br/>
| :---: | :---: |
|[<img src="https://avatars1.githubusercontent.com/u/2139038?v=4" width="100px;"/><br/><sub><b>zhangyuheng</b></sub>](https://github.com/zhangyuheng)<br/>|[<img src="https://avatars1.githubusercontent.com/u/15955374?v=4" width="100px;"/><br/><sub><b>gaius-qi</b></sub>](https://github.com/gaius-qi)<br/>|[<img src="https://avatars1.githubusercontent.com/u/1011681?v=4" width="100px;"/><br/><sub><b>xudafeng</b></sub>](https://github.com/xudafeng)<br/>
| :---: | :---: | :---: |
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Wed Sep 12 2018 14:48:08 GMT+0800`.
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Wed Sep 12 2018 18:54:40 GMT+0800`.

@@ -55,0 +55,0 @@ <!-- GITCONTRIBUTOR_END -->

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc