Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb65d88

Browse filesBrowse files
Bump ts-jest from 29.1.2 to 29.3.2 (#582)
* Bump ts-jest from 29.1.2 to 29.3.2 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.2 to 29.3.2. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.1.2...v29.3.2) --- updated-dependencies: - dependency-name: ts-jest dependency-version: 29.3.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix check failures --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
1 parent 7f17e83 commit bb65d88
Copy full SHA for bb65d88

File tree

4 files changed

+141
-34
lines changed
Filter options

4 files changed

+141
-34
lines changed

‎.licenses/npm/semver-7.6.3.dep.yml renamed to ‎.licenses/npm/semver-7.7.1.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/semver-7.7.1.dep.yml
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/setup/index.js

Copy file name to clipboardExpand all lines: dist/setup/index.js
+29-18Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61059,7 +61059,7 @@ const testSet = (set, version, options) => {
6105961059

6106061060
const debug = __nccwpck_require__(427)
6106161061
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(2293)
61062-
const { safeRe: re, t } = __nccwpck_require__(9523)
61062+
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(9523)
6106361063

6106461064
const parseOptions = __nccwpck_require__(785)
6106561065
const { compareIdentifiers } = __nccwpck_require__(2463)
@@ -61069,7 +61069,7 @@ class SemVer {
6106961069

6107061070
if (version instanceof SemVer) {
6107161071
if (version.loose === !!options.loose &&
61072-
version.includePrerelease === !!options.includePrerelease) {
61072+
version.includePrerelease === !!options.includePrerelease) {
6107361073
return version
6107461074
} else {
6107561075
version = version.version
@@ -61235,6 +61235,20 @@ class SemVer {
6123561235
// preminor will bump the version up to the next minor release, and immediately
6123661236
// down to pre-release. premajor and prepatch work the same way.
6123761237
inc (release, identifier, identifierBase) {
61238+
if (release.startsWith('pre')) {
61239+
if (!identifier && identifierBase === false) {
61240+
throw new Error('invalid increment argument: identifier is empty')
61241+
}
61242+
// Avoid an invalid semver results
61243+
if (identifier) {
61244+
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
61245+
const match = `-${identifier}`.match(r)
61246+
if (!match || match[1] !== identifier) {
61247+
throw new Error(`invalid identifier: ${identifier}`)
61248+
}
61249+
}
61250+
}
61251+
6123861252
switch (release) {
6123961253
case 'premajor':
6124061254
this.prerelease.length = 0
@@ -61265,6 +61279,12 @@ class SemVer {
6126561279
}
6126661280
this.inc('pre', identifier, identifierBase)
6126761281
break
61282+
case 'release':
61283+
if (this.prerelease.length === 0) {
61284+
throw new Error(`version ${this.raw} is not a prerelease`)
61285+
}
61286+
this.prerelease.length = 0
61287+
break
6126861288

6126961289
case 'major':
6127061290
// If this is a pre-major version, bump up to the same major version.
@@ -61308,10 +61328,6 @@ class SemVer {
6130861328
case 'pre': {
6130961329
const base = Number(identifierBase) ? 1 : 0
6131061330

61311-
if (!identifier && identifierBase === false) {
61312-
throw new Error('invalid increment argument: identifier is empty')
61313-
}
61314-
6131561331
if (this.prerelease.length === 0) {
6131661332
this.prerelease = [base]
6131761333
} else {
@@ -61570,20 +61586,13 @@ const diff = (version1, version2) => {
6157061586
return 'major'
6157161587
}
6157261588

61573-
// Otherwise it can be determined by checking the high version
61574-
61575-
if (highVersion.patch) {
61576-
// anything higher than a patch bump would result in the wrong version
61589+
// If the main part has no difference
61590+
if (lowVersion.compareMain(highVersion) === 0) {
61591+
if (lowVersion.minor && !lowVersion.patch) {
61592+
return 'minor'
61593+
}
6157761594
return 'patch'
6157861595
}
61579-
61580-
if (highVersion.minor) {
61581-
// anything higher than a minor bump would result in the wrong version
61582-
return 'minor'
61583-
}
61584-
61585-
// bumping major/minor/patch all have same result
61586-
return 'major'
6158761596
}
6158861597

6158961598
// add the `pre` prefix if we are going to a prerelease version
@@ -62090,6 +62099,7 @@ exports = module.exports = {}
6209062099
const re = exports.re = []
6209162100
const safeRe = exports.safeRe = []
6209262101
const src = exports.src = []
62102+
const safeSrc = exports.safeSrc = []
6209362103
const t = exports.t = {}
6209462104
let R = 0
6209562105

@@ -62122,6 +62132,7 @@ const createToken = (name, value, isGlobal) => {
6212262132
debug(name, index, value)
6212362133
t[name] = index
6212462134
src[index] = value
62135+
safeSrc[index] = safe
6212562136
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
6212662137
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
6212762138
}

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+110-14Lines changed: 110 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"jest-circus": "^29.7.0",
5050
"nock": "^10.0.6",
5151
"prettier": "^2.8.4",
52-
"ts-jest": "^29.1.2",
52+
"ts-jest": "^29.3.2",
5353
"typescript": "^5.4.2"
5454
}
5555
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.