Skip to content

Commit eb51a14

Browse files
- updated .xcodeproj search to exclude GameAssembly, UnityFramework, and Pods project files
1 parent 73f8329 commit eb51a14

File tree

6 files changed

+113
-98
lines changed

6 files changed

+113
-98
lines changed

.github/workflows/validate.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- 'main'
66
pull_request:
7+
types: [opened, reopened, synchronize, ready_for_review]
78
branches:
89
- '*'
910
# Allows you to run this workflow manually from the Actions tab
@@ -13,6 +14,7 @@ concurrency:
1314
cancel-in-progress: true
1415
jobs:
1516
unity-build:
17+
if: github.event.pull_request.draft == false
1618
name: '(${{ matrix.unity-version }}) ${{ matrix.build-target }}'
1719
env:
1820
VERSION: ''

dist/index.js

+64-47
Original file line numberDiff line numberDiff line change
@@ -4790,19 +4790,19 @@ var __copyProps = (to, from, except, desc) => {
47904790
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
47914791

47924792
// pkg/dist-src/index.js
4793-
var dist_src_exports = {};
4794-
__export(dist_src_exports, {
4793+
var index_exports = {};
4794+
__export(index_exports, {
47954795
Octokit: () => Octokit
47964796
});
4797-
module.exports = __toCommonJS(dist_src_exports);
4797+
module.exports = __toCommonJS(index_exports);
47984798
var import_universal_user_agent = __nccwpck_require__(5030);
47994799
var import_before_after_hook = __nccwpck_require__(3682);
48004800
var import_request = __nccwpck_require__(6234);
48014801
var import_graphql = __nccwpck_require__(8467);
48024802
var import_auth_token = __nccwpck_require__(334);
48034803

48044804
// pkg/dist-src/version.js
4805-
var VERSION = "5.2.0";
4805+
var VERSION = "5.2.1";
48064806

48074807
// pkg/dist-src/index.js
48084808
var noop = () => {
@@ -5343,18 +5343,18 @@ var __copyProps = (to, from, except, desc) => {
53435343
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
53445344

53455345
// pkg/dist-src/index.js
5346-
var dist_src_exports = {};
5347-
__export(dist_src_exports, {
5346+
var index_exports = {};
5347+
__export(index_exports, {
53485348
GraphqlResponseError: () => GraphqlResponseError,
53495349
graphql: () => graphql2,
53505350
withCustomRequest: () => withCustomRequest
53515351
});
5352-
module.exports = __toCommonJS(dist_src_exports);
5352+
module.exports = __toCommonJS(index_exports);
53535353
var import_request3 = __nccwpck_require__(6234);
53545354
var import_universal_user_agent = __nccwpck_require__(5030);
53555355

53565356
// pkg/dist-src/version.js
5357-
var VERSION = "7.1.0";
5357+
var VERSION = "7.1.1";
53585358

53595359
// pkg/dist-src/with-defaults.js
53605360
var import_request2 = __nccwpck_require__(6234);
@@ -5402,8 +5402,7 @@ function graphql(request2, query, options) {
54025402
);
54035403
}
54045404
for (const key in options) {
5405-
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key))
5406-
continue;
5405+
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;
54075406
return Promise.reject(
54085407
new Error(
54095408
`[@octokit/graphql] "${key}" cannot be used as variable name`
@@ -21104,9 +21103,6 @@ class LocalJWKSet {
2110421103
if (candidate && Array.isArray(jwk.key_ops)) {
2110521104
candidate = jwk.key_ops.includes('verify');
2110621105
}
21107-
if (candidate && alg === 'EdDSA') {
21108-
candidate = jwk.crv === 'Ed25519' || jwk.crv === 'Ed448';
21109-
}
2111021106
if (candidate) {
2111121107
switch (alg) {
2111221108
case 'ES256':
@@ -21121,6 +21117,12 @@ class LocalJWKSet {
2112121117
case 'ES512':
2112221118
candidate = jwk.crv === 'P-521';
2112321119
break;
21120+
case 'Ed25519':
21121+
candidate = jwk.crv === 'Ed25519';
21122+
break;
21123+
case 'EdDSA':
21124+
candidate = jwk.crv === 'Ed25519' || jwk.crv === 'Ed448';
21125+
break;
2112421126
}
2112521127
}
2112621128
return candidate;
@@ -21193,7 +21195,7 @@ function isCloudflareWorkers() {
2119321195
let USER_AGENT;
2119421196
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
2119521197
const NAME = 'jose';
21196-
const VERSION = 'v5.9.6';
21198+
const VERSION = 'v5.10.0';
2119721199
USER_AGENT = `${NAME}/${VERSION}`;
2119821200
}
2119921201
exports.jwksCache = Symbol();
@@ -22156,7 +22158,7 @@ async function importJWK(jwk, alg) {
2215622158
}
2215722159
return (0, base64url_js_1.decode)(jwk.k);
2215822160
case 'RSA':
22159-
if (jwk.oth !== undefined) {
22161+
if ('oth' in jwk && jwk.oth !== undefined) {
2216022162
throw new errors_js_1.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
2216122163
}
2216222164
case 'EC':
@@ -22506,6 +22508,11 @@ function checkSigCryptoKey(key, alg, ...usages) {
2250622508
}
2250722509
break;
2250822510
}
22511+
case 'Ed25519': {
22512+
if (!isAlgorithm(key.algorithm, 'Ed25519'))
22513+
throw unusable('Ed25519');
22514+
break;
22515+
}
2250922516
case 'ES256':
2251022517
case 'ES384':
2251122518
case 'ES512': {
@@ -23654,6 +23661,7 @@ function dsaDigest(alg) {
2365423661
case 'RS512':
2365523662
case 'ES512':
2365623663
return 'sha512';
23664+
case 'Ed25519':
2365723665
case 'EdDSA':
2365823666
return undefined;
2365923667
default:
@@ -23954,6 +23962,8 @@ async function generateKeyPair(alg, options) {
2395423962
return generate('ec', { namedCurve: 'P-384' });
2395523963
case 'ES512':
2395623964
return generate('ec', { namedCurve: 'P-521' });
23965+
case 'Ed25519':
23966+
return generate('ed25519');
2395723967
case 'EdDSA': {
2395823968
switch (options?.crv) {
2395923969
case undefined:
@@ -24268,6 +24278,11 @@ function keyForCrypto(alg, key) {
2426824278
}
2426924279
let options;
2427024280
switch (alg) {
24281+
case 'Ed25519':
24282+
if (asymmetricKeyType !== 'ed25519') {
24283+
throw new TypeError(`Invalid key for this operation, its asymmetricKeyType must be ed25519`);
24284+
}
24285+
break;
2427124286
case 'EdDSA':
2427224287
if (!['ed25519', 'ed448'].includes(asymmetricKeyType)) {
2427324288
throw new TypeError('Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448');
@@ -34411,7 +34426,7 @@ module.exports = {
3441134426

3441234427

3441334428
const { parseSetCookie } = __nccwpck_require__(4408)
34414-
const { stringify, getHeadersList } = __nccwpck_require__(3121)
34429+
const { stringify } = __nccwpck_require__(3121)
3441534430
const { webidl } = __nccwpck_require__(1744)
3441634431
const { Headers } = __nccwpck_require__(554)
3441734432

@@ -34487,14 +34502,13 @@ function getSetCookies (headers) {
3448734502

3448834503
webidl.brandCheck(headers, Headers, { strict: false })
3448934504

34490-
const cookies = getHeadersList(headers).cookies
34505+
const cookies = headers.getSetCookie()
3449134506

3449234507
if (!cookies) {
3449334508
return []
3449434509
}
3449534510

34496-
// In older versions of undici, cookies is a list of name:value.
34497-
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
34511+
return cookies.map((pair) => parseSetCookie(pair))
3449834512
}
3449934513

3450034514
/**
@@ -34922,14 +34936,15 @@ module.exports = {
3492234936
/***/ }),
3492334937

3492434938
/***/ 3121:
34925-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
34939+
/***/ ((module) => {
3492634940

3492734941
"use strict";
3492834942

3492934943

34930-
const assert = __nccwpck_require__(9491)
34931-
const { kHeadersList } = __nccwpck_require__(2785)
34932-
34944+
/**
34945+
* @param {string} value
34946+
* @returns {boolean}
34947+
*/
3493334948
function isCTLExcludingHtab (value) {
3493434949
if (value.length === 0) {
3493534950
return false
@@ -35190,31 +35205,13 @@ function stringify (cookie) {
3519035205
return out.join('; ')
3519135206
}
3519235207

35193-
let kHeadersListNode
35194-
35195-
function getHeadersList (headers) {
35196-
if (headers[kHeadersList]) {
35197-
return headers[kHeadersList]
35198-
}
35199-
35200-
if (!kHeadersListNode) {
35201-
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
35202-
(symbol) => symbol.description === 'headers list'
35203-
)
35204-
35205-
assert(kHeadersListNode, 'Headers cannot be parsed')
35206-
}
35207-
35208-
const headersList = headers[kHeadersListNode]
35209-
assert(headersList)
35210-
35211-
return headersList
35212-
}
35213-
3521435208
module.exports = {
3521535209
isCTLExcludingHtab,
35216-
stringify,
35217-
getHeadersList
35210+
validateCookieName,
35211+
validateCookiePath,
35212+
validateCookieValue,
35213+
toIMFDate,
35214+
stringify
3521835215
}
3521935216

3522035217

@@ -39218,6 +39215,7 @@ const {
3921839215
isValidHeaderName,
3921939216
isValidHeaderValue
3922039217
} = __nccwpck_require__(2538)
39218+
const util = __nccwpck_require__(3837)
3922139219
const { webidl } = __nccwpck_require__(1744)
3922239220
const assert = __nccwpck_require__(9491)
3922339221

@@ -39771,6 +39769,9 @@ Object.defineProperties(Headers.prototype, {
3977139769
[Symbol.toStringTag]: {
3977239770
value: 'Headers',
3977339771
configurable: true
39772+
},
39773+
[util.inspect.custom]: {
39774+
enumerable: false
3977439775
}
3977539776
})
3977639777

@@ -48947,6 +48948,20 @@ class Pool extends PoolBase {
4894748948
? { ...options.interceptors }
4894848949
: undefined
4894948950
this[kFactory] = factory
48951+
48952+
this.on('connectionError', (origin, targets, error) => {
48953+
// If a connection error occurs, we remove the client from the pool,
48954+
// and emit a connectionError event. They will not be re-used.
48955+
// Fixes https://github.com/nodejs/undici/issues/3895
48956+
for (const target of targets) {
48957+
// Do not use kRemoveClient here, as it will close the client,
48958+
// but the client cannot be closed in this state.
48959+
const idx = this[kClients].indexOf(target)
48960+
if (idx !== -1) {
48961+
this[kClients].splice(idx, 1)
48962+
}
48963+
}
48964+
})
4895048965
}
4895148966

4895248967
[kGetDispatcher] () {
@@ -57985,8 +58000,10 @@ async function GetProjectDetails() {
5798558000
let projectPath = undefined;
5798658001
const globber = await glob.create(projectPathInput);
5798758002
const files = await globber.glob();
58003+
const excludedProjects = ['GameAssembly', 'UnityFramework', 'Pods'];
5798858004
for (const file of files) {
57989-
if (file.endsWith(`GameAssembly.xcodeproj`)) {
58005+
const projectBaseName = path.basename(file, '.xcodeproj');
58006+
if (excludedProjects.includes(projectBaseName)) {
5799058007
continue;
5799158008
}
5799258009
if (file.endsWith('.xcodeproj')) {

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)