Skip to content

Commit 9607b12

Browse files
chore: Release 4.0.0 [skip ci]
1 parent ca264e0 commit 9607b12

File tree

2 files changed

+149
-138
lines changed

2 files changed

+149
-138
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [4.0.0](https://github.com/amannn/action-semantic-pull-request/compare/v3.7.0...v4.0.0) (2022-02-02)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* dropped support for node <=15
9+
10+
### Features
11+
12+
* Upgrade [email protected] ([#155](https://github.com/amannn/action-semantic-pull-request/issues/155)) ([ca264e0](https://github.com/amannn/action-semantic-pull-request/commit/ca264e08ba87f01cd802533512d9787d07a5ba98))
13+
314
## [3.7.0](https://github.com/amannn/action-semantic-pull-request/compare/v3.6.0...v3.7.0) (2022-02-02)
415

516

dist/index.js

Lines changed: 138 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -5317,7 +5317,7 @@ module.exports = isPlainObject;
53175317

53185318
Object.defineProperty(exports, "__esModule", ({ value: true }));
53195319

5320-
var request = __nccwpck_require__(6234);
5320+
var request = __nccwpck_require__(3758);
53215321
var universalUserAgent = __nccwpck_require__(5030);
53225322

53235323
const VERSION = "4.5.8";
@@ -5425,70 +5425,7 @@ exports.withCustomRequest = withCustomRequest;
54255425

54265426
/***/ }),
54275427

5428-
/***/ 537:
5429-
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
5430-
5431-
"use strict";
5432-
5433-
5434-
Object.defineProperty(exports, "__esModule", ({ value: true }));
5435-
5436-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
5437-
5438-
var deprecation = __nccwpck_require__(8932);
5439-
var once = _interopDefault(__nccwpck_require__(1223));
5440-
5441-
const logOnce = once(deprecation => console.warn(deprecation));
5442-
/**
5443-
* Error with extra properties to help with debugging
5444-
*/
5445-
5446-
class RequestError extends Error {
5447-
constructor(message, statusCode, options) {
5448-
super(message); // Maintains proper stack trace (only available on V8)
5449-
5450-
/* istanbul ignore next */
5451-
5452-
if (Error.captureStackTrace) {
5453-
Error.captureStackTrace(this, this.constructor);
5454-
}
5455-
5456-
this.name = "HttpError";
5457-
this.status = statusCode;
5458-
Object.defineProperty(this, "code", {
5459-
get() {
5460-
logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
5461-
return statusCode;
5462-
}
5463-
5464-
});
5465-
this.headers = options.headers || {}; // redact request credentials without mutating original request options
5466-
5467-
const requestCopy = Object.assign({}, options.request);
5468-
5469-
if (options.request.headers.authorization) {
5470-
requestCopy.headers = Object.assign({}, options.request.headers, {
5471-
authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
5472-
});
5473-
}
5474-
5475-
requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit
5476-
// see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
5477-
.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended
5478-
// see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
5479-
.replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
5480-
this.request = requestCopy;
5481-
}
5482-
5483-
}
5484-
5485-
exports.RequestError = RequestError;
5486-
//# sourceMappingURL=index.js.map
5487-
5488-
5489-
/***/ }),
5490-
5491-
/***/ 6234:
5428+
/***/ 3758:
54925429
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
54935430

54945431
"use strict";
@@ -5642,6 +5579,69 @@ exports.request = request;
56425579
//# sourceMappingURL=index.js.map
56435580

56445581

5582+
/***/ }),
5583+
5584+
/***/ 537:
5585+
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
5586+
5587+
"use strict";
5588+
5589+
5590+
Object.defineProperty(exports, "__esModule", ({ value: true }));
5591+
5592+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
5593+
5594+
var deprecation = __nccwpck_require__(8932);
5595+
var once = _interopDefault(__nccwpck_require__(1223));
5596+
5597+
const logOnce = once(deprecation => console.warn(deprecation));
5598+
/**
5599+
* Error with extra properties to help with debugging
5600+
*/
5601+
5602+
class RequestError extends Error {
5603+
constructor(message, statusCode, options) {
5604+
super(message); // Maintains proper stack trace (only available on V8)
5605+
5606+
/* istanbul ignore next */
5607+
5608+
if (Error.captureStackTrace) {
5609+
Error.captureStackTrace(this, this.constructor);
5610+
}
5611+
5612+
this.name = "HttpError";
5613+
this.status = statusCode;
5614+
Object.defineProperty(this, "code", {
5615+
get() {
5616+
logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
5617+
return statusCode;
5618+
}
5619+
5620+
});
5621+
this.headers = options.headers || {}; // redact request credentials without mutating original request options
5622+
5623+
const requestCopy = Object.assign({}, options.request);
5624+
5625+
if (options.request.headers.authorization) {
5626+
requestCopy.headers = Object.assign({}, options.request.headers, {
5627+
authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
5628+
});
5629+
}
5630+
5631+
requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit
5632+
// see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
5633+
.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended
5634+
// see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
5635+
.replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
5636+
this.request = requestCopy;
5637+
}
5638+
5639+
}
5640+
5641+
exports.RequestError = RequestError;
5642+
//# sourceMappingURL=index.js.map
5643+
5644+
56455645
/***/ }),
56465646

56475647
/***/ 8912:
@@ -9826,6 +9826,78 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
98269826
}
98279827

98289828

9829+
/***/ }),
9830+
9831+
/***/ 1709:
9832+
/***/ ((module, exports, __nccwpck_require__) => {
9833+
9834+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
9835+
/* eslint-disable node/no-deprecated-api */
9836+
var buffer = __nccwpck_require__(4293)
9837+
var Buffer = buffer.Buffer
9838+
9839+
// alternative to using Object.keys for old browsers
9840+
function copyProps (src, dst) {
9841+
for (var key in src) {
9842+
dst[key] = src[key]
9843+
}
9844+
}
9845+
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
9846+
module.exports = buffer
9847+
} else {
9848+
// Copy properties from require('buffer')
9849+
copyProps(buffer, exports)
9850+
exports.Buffer = SafeBuffer
9851+
}
9852+
9853+
function SafeBuffer (arg, encodingOrOffset, length) {
9854+
return Buffer(arg, encodingOrOffset, length)
9855+
}
9856+
9857+
SafeBuffer.prototype = Object.create(Buffer.prototype)
9858+
9859+
// Copy static methods from Buffer
9860+
copyProps(Buffer, SafeBuffer)
9861+
9862+
SafeBuffer.from = function (arg, encodingOrOffset, length) {
9863+
if (typeof arg === 'number') {
9864+
throw new TypeError('Argument must not be a number')
9865+
}
9866+
return Buffer(arg, encodingOrOffset, length)
9867+
}
9868+
9869+
SafeBuffer.alloc = function (size, fill, encoding) {
9870+
if (typeof size !== 'number') {
9871+
throw new TypeError('Argument must be a number')
9872+
}
9873+
var buf = Buffer(size)
9874+
if (fill !== undefined) {
9875+
if (typeof encoding === 'string') {
9876+
buf.fill(fill, encoding)
9877+
} else {
9878+
buf.fill(fill)
9879+
}
9880+
} else {
9881+
buf.fill(0)
9882+
}
9883+
return buf
9884+
}
9885+
9886+
SafeBuffer.allocUnsafe = function (size) {
9887+
if (typeof size !== 'number') {
9888+
throw new TypeError('Argument must be a number')
9889+
}
9890+
return Buffer(size)
9891+
}
9892+
9893+
SafeBuffer.allocUnsafeSlow = function (size) {
9894+
if (typeof size !== 'number') {
9895+
throw new TypeError('Argument must be a number')
9896+
}
9897+
return buffer.SlowBuffer(size)
9898+
}
9899+
9900+
98299901
/***/ }),
98309902

98319903
/***/ 3070:
@@ -9857,7 +9929,7 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
98579929

98589930
/*<replacement>*/
98599931

9860-
var Buffer = __nccwpck_require__(1867).Buffer;
9932+
var Buffer = __nccwpck_require__(1709).Buffer;
98619933
/*</replacement>*/
98629934

98639935
var isEncoding = Buffer.isEncoding || function (encoding) {
@@ -34469,78 +34541,6 @@ return Q;
3446934541
});
3447034542

3447134543

34472-
/***/ }),
34473-
34474-
/***/ 1867:
34475-
/***/ ((module, exports, __nccwpck_require__) => {
34476-
34477-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
34478-
/* eslint-disable node/no-deprecated-api */
34479-
var buffer = __nccwpck_require__(4293)
34480-
var Buffer = buffer.Buffer
34481-
34482-
// alternative to using Object.keys for old browsers
34483-
function copyProps (src, dst) {
34484-
for (var key in src) {
34485-
dst[key] = src[key]
34486-
}
34487-
}
34488-
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
34489-
module.exports = buffer
34490-
} else {
34491-
// Copy properties from require('buffer')
34492-
copyProps(buffer, exports)
34493-
exports.Buffer = SafeBuffer
34494-
}
34495-
34496-
function SafeBuffer (arg, encodingOrOffset, length) {
34497-
return Buffer(arg, encodingOrOffset, length)
34498-
}
34499-
34500-
SafeBuffer.prototype = Object.create(Buffer.prototype)
34501-
34502-
// Copy static methods from Buffer
34503-
copyProps(Buffer, SafeBuffer)
34504-
34505-
SafeBuffer.from = function (arg, encodingOrOffset, length) {
34506-
if (typeof arg === 'number') {
34507-
throw new TypeError('Argument must not be a number')
34508-
}
34509-
return Buffer(arg, encodingOrOffset, length)
34510-
}
34511-
34512-
SafeBuffer.alloc = function (size, fill, encoding) {
34513-
if (typeof size !== 'number') {
34514-
throw new TypeError('Argument must be a number')
34515-
}
34516-
var buf = Buffer(size)
34517-
if (fill !== undefined) {
34518-
if (typeof encoding === 'string') {
34519-
buf.fill(fill, encoding)
34520-
} else {
34521-
buf.fill(fill)
34522-
}
34523-
} else {
34524-
buf.fill(0)
34525-
}
34526-
return buf
34527-
}
34528-
34529-
SafeBuffer.allocUnsafe = function (size) {
34530-
if (typeof size !== 'number') {
34531-
throw new TypeError('Argument must be a number')
34532-
}
34533-
return Buffer(size)
34534-
}
34535-
34536-
SafeBuffer.allocUnsafeSlow = function (size) {
34537-
if (typeof size !== 'number') {
34538-
throw new TypeError('Argument must be a number')
34539-
}
34540-
return buffer.SlowBuffer(size)
34541-
}
34542-
34543-
3454434544
/***/ }),
3454534545

3454634546
/***/ 5118:

0 commit comments

Comments
 (0)