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

gulp-deploy-http-push

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-deploy-http-push - npm Package Compare versions

Comparing version 0.0.3 to 0.0.5

dist/push.d.ts

5

dist/deploy.js

@@ -27,6 +27,5 @@ "use strict";

steps.push(function reduce(next) {
// console.log('FFF', file.content);
upload_1.upload(receiver, to, info, file.getHashRelease ? file.getHashRelease() : file.relative, file.getContent ? file.getContent() : file.contents && file.contents.toString(), file, function (error) {
upload_1.upload(receiver, to, info, file.getHashRelease ? file.getHashRelease() : file.relative, file.contents, file, function (error) {
if (error) {
if (error.errno === 100302 || error.errno === 100305) {
if (error.errno > 100000) {
// 检测到后端限制了上传,要求用户输入信息再继续。

@@ -33,0 +32,0 @@ if (!authApi || !validateApi) {

2

dist/http-push.d.ts

@@ -6,3 +6,3 @@ export declare function httpPush(options: IDeployOption[]): any;

/** 符合条件的文件的glob */
match: string;
match?: string;
/** 要部署的basePath */

@@ -9,0 +9,0 @@ to: string;

@@ -14,2 +14,3 @@ "use strict";

function httpPush(options) {
console.log('[gulp-deploy-http-push] httpPush() is deprecated, use push() instead');
var restrictor = new restrictor_1.Restrictor();

@@ -21,5 +22,5 @@ return new Transform({

options.forEach(function (option) {
if (filter_1.include(file.path, option.match, {
if (!option.match || (option.match && filter_1.include(file.path, option.match, {
root: file.base,
})) {
}))) {
restrictor.add({

@@ -26,0 +27,0 @@ host: option.host,

export { Deploy } from './deploy';
export { httpPush } from './http-push';
export { push } from './push';

@@ -13,1 +13,3 @@ "use strict";

exports.httpPush = http_push_1.httpPush;
var push_1 = require("./push");
exports.push = push_1.push;
{
"name": "gulp-deploy-http-push",
"version": "0.0.3",
"version": "0.0.5",
"discription": "gulp-deploy-http-push",

@@ -21,5 +21,5 @@ "scripts": {

"type": "git",
"url": "git+http://github.com/searchfe/gulp-deploy-http-push"
"url": "git+http://xxx.com/demo"
},
"homepage": "https://github.com/searchfe/gulp-deploy-http-push",
"homepage": "http://xxx.com/demo",
"devDependencies": {

@@ -57,3 +57,4 @@ "@types/chai": "^4.1.4",

"dependencies": {
"prompt": "^1.0.0"
"prompt": "^1.0.0",
"readable-stream": "^3.4.0"
},

@@ -60,0 +61,0 @@ "engines": {

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