Socket
Socket
Sign inDemoInstall

builder-util-runtime

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-util-runtime - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

4

out/bintray.js

@@ -72,5 +72,3 @@ "use strict";

}
exports.BintrayClient = BintrayClient;
} exports.BintrayClient = BintrayClient;
//# sourceMappingURL=bintray.js.map

@@ -54,5 +54,3 @@ "use strict";

};
})();
exports.readEmbeddedBlockMapData = readEmbeddedBlockMapData;
})(); exports.readEmbeddedBlockMapData = readEmbeddedBlockMapData;
//# sourceMappingURL=blockMapApi.js.map

@@ -133,5 +133,3 @@ "use strict";

}
exports.CancellationError = CancellationError;
} exports.CancellationError = CancellationError;
//# sourceMappingURL=CancellationToken.js.map

@@ -471,3 +471,3 @@ "use strict";

}, 2);
}
}
//# sourceMappingURL=httpExecutor.js.map

@@ -209,3 +209,3 @@ "use strict";

return error;
}
}
//# sourceMappingURL=index.js.map

@@ -74,5 +74,3 @@ "use strict";

}
exports.ProgressCallbackTransform = ProgressCallbackTransform;
} exports.ProgressCallbackTransform = ProgressCallbackTransform;
//# sourceMappingURL=ProgressCallbackTransform.js.map

@@ -33,21 +33,29 @@ "use strict";

url = `${options.endpoint}/${options.bucket}`;
} else {
if (!options.bucket.includes(".")) {
if (options.region === "cn-north-1") {
url = `https://${options.bucket}.s3.${options.region}.amazonaws.com.cn`;
} else {
url = `https://${options.bucket}.s3.amazonaws.com`;
}
} else {
if (options.region == null) {
throw new Error(`Bucket name "${options.bucket}" includes a dot, but S3 region is missing`);
} // special case, see http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
} else if (options.bucket.includes(".")) {
if (options.region == null) {
throw new Error(`Bucket name "${options.bucket}" includes a dot, but S3 region is missing`);
} // special case, see http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
url = options.region === "us-east-1" ? `https://s3.amazonaws.com/${options.bucket}` : `https://s3-${options.region}.amazonaws.com/${options.bucket}`;
if (options.region === "us-east-1") {
url = `https://s3.amazonaws.com/${options.bucket}`;
} else {
url = `https://s3-${options.region}.amazonaws.com/${options.bucket}`;
}
} else if (options.region === "cn-north-1") {
url = `https://${options.bucket}.s3.${options.region}.amazonaws.com.cn`;
} else {
url = `https://${options.bucket}.s3.amazonaws.com`;
}
if (options.path != null) {
url += `/${options.path}`;
return appendPath(url, options.path);
}
function appendPath(url, p) {
if (p != null && p.length > 0) {
if (!p.startsWith("/")) {
url += "/";
}
url += p;
}

@@ -67,10 +75,4 @@

let url = `https://${options.name}.${options.region}.digitaloceanspaces.com`;
if (options.path != null) {
url += `/${options.path}`;
}
return url;
}
return appendPath(`https://${options.name}.${options.region}.digitaloceanspaces.com`, options.path);
}
//# sourceMappingURL=publishOptions.js.map

@@ -94,3 +94,3 @@ "use strict";

return result;
}
}
//# sourceMappingURL=rfc2253Parser.js.map
/// <reference types="node" />
export declare class UUID {
private ascii;
private binary;
private readonly binary;
private readonly version;
static readonly URL: UUID;
static readonly OID: Buffer;

@@ -12,3 +11,2 @@ constructor(uuid: Buffer | string);

toString(): string;
toBuffer(): Buffer;
inspect(): string;

@@ -26,7 +24,2 @@ static check(uuid: Buffer | string, offset?: number): false | {

}
export interface UuidOptions {
encoding?: string;
name?: string;
namespace?: string | UUID | Buffer;
}
export declare const nil: UUID;

@@ -86,10 +86,2 @@ "use strict";

toBuffer() {
if (this.binary == null) {
this.binary = UUID.parse(this.ascii);
}
return Buffer.from(this.binary);
}
inspect() {

@@ -103,3 +95,3 @@ return `UUID v${this.version} ${this.toString()}`;

if (!/^[a-f0-9]{8}(\-[a-f0-9]{4}){3}\-([a-f0-9]{12})$/.test(uuid)) {
if (!/^[a-f0-9]{8}(-[a-f0-9]{4}){3}-([a-f0-9]{12})$/.test(uuid)) {
return false;

@@ -174,3 +166,2 @@ }

exports.UUID = UUID;
UUID.URL = new UUID("6ba7b811-9dad-11d1-80b4-00c04fd430c8");
UUID.OID = UUID.parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8"); // according to rfc4122#section-4.1.1

@@ -279,3 +270,3 @@

hash.update(namespace);
hash.update(name, nameIsNotAString ? "latin1" : "utf8");
hash.update(name);
const buffer = hash.digest();

@@ -315,4 +306,3 @@ let result;

// }
exports.nil = nil;
//# sourceMappingURL=uuid.js.map

@@ -161,3 +161,3 @@ "use strict";

return rootElement;
}
}
//# sourceMappingURL=xml.js.map
{
"name": "builder-util-runtime",
"version": "4.4.0",
"version": "4.4.1",
"main": "out/index.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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