builder-util-runtime
Advanced tools
Comparing version 9.2.5-alpha.4 to 9.2.5
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { EventEmitter } from "events"; | ||
@@ -3,0 +2,0 @@ export declare class CancellationToken extends EventEmitter { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.newError = void 0; | ||
exports.newError = newError; | ||
function newError(message, code) { | ||
@@ -9,3 +9,2 @@ const error = new Error(message); | ||
} | ||
exports.newError = newError; | ||
//# sourceMappingURL=error.js.map |
@@ -1,6 +0,1 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { BinaryToTextEncoding } from "crypto"; | ||
@@ -7,0 +2,0 @@ import { IncomingMessage, OutgoingHttpHeader, OutgoingHttpHeaders, RequestOptions } from "http"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.safeStringifyJson = exports.configureRequestOptions = exports.safeGetHeader = exports.DigestTransform = exports.configureRequestUrl = exports.configureRequestOptionsFromUrl = exports.HttpExecutor = exports.parseJson = exports.HttpError = exports.createHttpError = void 0; | ||
exports.DigestTransform = exports.HttpExecutor = exports.HttpError = void 0; | ||
exports.createHttpError = createHttpError; | ||
exports.parseJson = parseJson; | ||
exports.configureRequestOptionsFromUrl = configureRequestOptionsFromUrl; | ||
exports.configureRequestUrl = configureRequestUrl; | ||
exports.safeGetHeader = safeGetHeader; | ||
exports.configureRequestOptions = configureRequestOptions; | ||
exports.safeStringifyJson = safeStringifyJson; | ||
const crypto_1 = require("crypto"); | ||
@@ -19,3 +26,2 @@ const debug_1 = require("debug"); | ||
} | ||
exports.createHttpError = createHttpError; | ||
const HTTP_STATUS_CODES = new Map([ | ||
@@ -52,3 +58,2 @@ [429, "Too many requests"], | ||
} | ||
exports.parseJson = parseJson; | ||
class HttpExecutor { | ||
@@ -278,3 +283,2 @@ constructor() { | ||
} | ||
exports.configureRequestOptionsFromUrl = configureRequestOptionsFromUrl; | ||
function configureRequestUrl(url, options) { | ||
@@ -291,3 +295,2 @@ options.protocol = url.protocol; | ||
} | ||
exports.configureRequestUrl = configureRequestUrl; | ||
class DigestTransform extends stream_1.Transform { | ||
@@ -357,3 +360,2 @@ // noinspection JSUnusedGlobalSymbols | ||
} | ||
exports.safeGetHeader = safeGetHeader; | ||
function configurePipes(options, response) { | ||
@@ -416,3 +418,2 @@ if (!checkSha2(safeGetHeader(response, "X-Checksum-Sha2"), options.options.sha2, options.callback)) { | ||
} | ||
exports.configureRequestOptions = configureRequestOptions; | ||
function safeStringifyJson(data, skippedNames) { | ||
@@ -433,3 +434,2 @@ return JSON.stringify(data, (name, value) => { | ||
} | ||
exports.safeStringifyJson = safeStringifyJson; | ||
//# sourceMappingURL=httpExecutor.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.asArray = exports.CURRENT_APP_PACKAGE_FILE_NAME = exports.CURRENT_APP_INSTALLER_FILE_NAME = exports.MemoLazy = exports.newError = exports.XElement = exports.parseXml = exports.ProgressCallbackTransform = exports.UUID = exports.parseDn = exports.githubUrl = exports.getS3LikeProviderBaseUrl = exports.configureRequestUrl = exports.parseJson = exports.safeStringifyJson = exports.configureRequestOptionsFromUrl = exports.configureRequestOptions = exports.safeGetHeader = exports.DigestTransform = exports.HttpExecutor = exports.createHttpError = exports.HttpError = exports.CancellationError = exports.CancellationToken = void 0; | ||
exports.CURRENT_APP_PACKAGE_FILE_NAME = exports.CURRENT_APP_INSTALLER_FILE_NAME = exports.MemoLazy = exports.newError = exports.XElement = exports.parseXml = exports.ProgressCallbackTransform = exports.UUID = exports.parseDn = exports.githubUrl = exports.getS3LikeProviderBaseUrl = exports.configureRequestUrl = exports.parseJson = exports.safeStringifyJson = exports.configureRequestOptionsFromUrl = exports.configureRequestOptions = exports.safeGetHeader = exports.DigestTransform = exports.HttpExecutor = exports.createHttpError = exports.HttpError = exports.CancellationError = exports.CancellationToken = void 0; | ||
exports.asArray = asArray; | ||
var CancellationToken_1 = require("./CancellationToken"); | ||
@@ -49,3 +50,2 @@ Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return CancellationToken_1.CancellationToken; } }); | ||
} | ||
exports.asArray = asArray; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Transform } from "stream"; | ||
@@ -3,0 +2,0 @@ import { CancellationToken } from "./CancellationToken"; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { OutgoingHttpHeaders } from "http"; | ||
@@ -3,0 +2,0 @@ export type PublishProvider = "github" | "s3" | "spaces" | "generic" | "custom" | "snapStore" | "keygen" | "bitbucket"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getS3LikeProviderBaseUrl = exports.githubUrl = void 0; | ||
exports.githubUrl = githubUrl; | ||
exports.getS3LikeProviderBaseUrl = getS3LikeProviderBaseUrl; | ||
/** @private */ | ||
@@ -8,3 +9,2 @@ function githubUrl(options, defaultHost = "github.com") { | ||
} | ||
exports.githubUrl = githubUrl; | ||
function getS3LikeProviderBaseUrl(configuration) { | ||
@@ -20,3 +20,2 @@ const provider = configuration.provider; | ||
} | ||
exports.getS3LikeProviderBaseUrl = getS3LikeProviderBaseUrl; | ||
function s3Url(options) { | ||
@@ -23,0 +22,0 @@ let url; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseDn = void 0; | ||
exports.parseDn = parseDn; | ||
function parseDn(seq) { | ||
@@ -80,3 +80,2 @@ let quoted = false; | ||
} | ||
exports.parseDn = parseDn; | ||
//# sourceMappingURL=rfc2253Parser.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare class UUID { | ||
@@ -3,0 +2,0 @@ private ascii; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseXml = exports.XElement = void 0; | ||
exports.XElement = void 0; | ||
exports.parseXml = parseXml; | ||
const sax = require("sax"); | ||
@@ -108,3 +109,2 @@ const error_1 = require("./error"); | ||
} | ||
exports.parseXml = parseXml; | ||
//# sourceMappingURL=xml.js.map |
{ | ||
"name": "builder-util-runtime", | ||
"version": "9.2.5-alpha.4", | ||
"version": "9.2.5", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
155475
1716