Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7379a3a11b | ||
|
|
066669cfee | ||
|
|
87177d9d43 | ||
|
|
0c75a154a8 |
@@ -43,6 +43,9 @@ var getJasmineRequireObj = (function() {
|
||||
return jasmineRequire;
|
||||
}
|
||||
|
||||
const loadedAsBrowserEsm =
|
||||
globalThis.document && !globalThis.document.currentScript;
|
||||
|
||||
getJasmineRequire().core = function(jRequire) {
|
||||
const j$ = {};
|
||||
Object.defineProperty(j$, 'private', {
|
||||
@@ -124,8 +127,7 @@ var getJasmineRequireObj = (function() {
|
||||
j$.private.matchers = jRequire.requireMatchers(jRequire, j$);
|
||||
j$.private.asyncMatchers = jRequire.requireAsyncMatchers(jRequire, j$);
|
||||
|
||||
j$.private.loadedAsBrowserEsm =
|
||||
globalThis.document && !globalThis.document.currentScript;
|
||||
j$.private.loadedAsBrowserEsm = loadedAsBrowserEsm;
|
||||
|
||||
j$.private.deprecateMonkeyPatching(j$, [
|
||||
// These are meant to be set by users.
|
||||
@@ -12406,5 +12408,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
||||
};
|
||||
|
||||
getJasmineRequireObj().version = function() {
|
||||
return '6.0.0';
|
||||
return '6.0.1';
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jasmine-core",
|
||||
"license": "MIT",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jasmine/jasmine.git"
|
||||
|
||||
@@ -10,7 +10,7 @@ jasmine-core's internal state, removing ambiguities from the reporter API, and
|
||||
warning about monkey patching.
|
||||
|
||||
6.x is intended to ba a relatively short-lived, transitional series. It is
|
||||
compatible with the current versions of karam-jasmine and other legacy Angular
|
||||
compatible with the current versions of karma-jasmine and other legacy Angular
|
||||
tools but emits deprecation warnings when used with them. 7.0 will drop
|
||||
compatibility with those tools. If you use Karma in a non-Angular context,
|
||||
consider migrating to a maintained alternative such as jasmine-browser-runner or
|
||||
|
||||
29
release_notes/6.0.1.md
Normal file
29
release_notes/6.0.1.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Jasmine Core 6.0.1 Release Notes
|
||||
|
||||
## Bug fixes
|
||||
|
||||
* Don't emit a deprecation warning when `jasmineRequire.core` is called from an
|
||||
ES module
|
||||
|
||||
## Supported environments
|
||||
|
||||
This version has been tested in the following environments.
|
||||
|
||||
| Environment | Supported versions |
|
||||
|-------------------|--------------------------------|
|
||||
| Node | 20, 22, 24 |
|
||||
| Safari** | 16, 17, 26.2 |
|
||||
| Chrome | 143* |
|
||||
| Firefox | 102**, 115**, 128**, 140, 147* |
|
||||
| Edge | 143* |
|
||||
|
||||
\* Evergreen browser. Each version of Jasmine is tested against the latest
|
||||
version available at release time.<br>
|
||||
\** Supported on a best-effort basis. Support for these versions may be dropped
|
||||
if it becomes impractical, and bugs affecting only these versions may not be
|
||||
treated as release blockers.
|
||||
|
||||
|
||||
------
|
||||
|
||||
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
||||
@@ -44,8 +44,8 @@ else
|
||||
fi
|
||||
run_browser firefox 102
|
||||
|
||||
# run_browser safari 17
|
||||
# run_browser safari 16
|
||||
run_browser safari 17
|
||||
run_browser safari 16
|
||||
|
||||
run_browser MicrosoftEdge latest
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ var getJasmineRequireObj = (function() {
|
||||
return jasmineRequire;
|
||||
}
|
||||
|
||||
const loadedAsBrowserEsm =
|
||||
globalThis.document && !globalThis.document.currentScript;
|
||||
|
||||
getJasmineRequire().core = function(jRequire) {
|
||||
const j$ = {};
|
||||
Object.defineProperty(j$, 'private', {
|
||||
@@ -100,8 +103,7 @@ var getJasmineRequireObj = (function() {
|
||||
j$.private.matchers = jRequire.requireMatchers(jRequire, j$);
|
||||
j$.private.asyncMatchers = jRequire.requireAsyncMatchers(jRequire, j$);
|
||||
|
||||
j$.private.loadedAsBrowserEsm =
|
||||
globalThis.document && !globalThis.document.currentScript;
|
||||
j$.private.loadedAsBrowserEsm = loadedAsBrowserEsm;
|
||||
|
||||
j$.private.deprecateMonkeyPatching(j$, [
|
||||
// These are meant to be set by users.
|
||||
|
||||
Reference in New Issue
Block a user