Skip to content

Commit 0c8b483

Browse files
committed
package 23.04.25
1 parent c27ad0e commit 0c8b483

File tree

8 files changed

+16
-9
lines changed

8 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.40.1](https://github.com/ajaxorg/ace/compare/v1.40.0...v1.40.1) (2025-04-23)
6+
7+
8+
### Bug Fixes
9+
10+
* **gutter:** add null check for session.foldWdigets ([#5801](https://github.com/ajaxorg/ace/issues/5801)) ([6ca40e9](https://github.com/ajaxorg/ace/commit/6ca40e93623ed1d4d04c8ce7ffb45186092c2198))
11+
512
## [1.40.0](https://github.com/ajaxorg/ace/compare/v1.39.1...v1.40.0) (2025-04-15)
613

714

ace.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ declare module "ace-builds" {
10081008
import { Range } from "ace-builds-internal/range";
10091009
import { UndoManager } from "ace-builds-internal/undomanager";
10101010
import { VirtualRenderer as Renderer } from "ace-builds-internal/virtual_renderer";
1011-
export var version: "1.40.0";
1011+
export var version: "1.40.1";
10121012
export { Range, Editor, EditSession, UndoManager, Renderer as VirtualRenderer };
10131013
}
10141014

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ace-builds",
33
"main": "./src-noconflict/ace.js",
44
"typings": "ace.d.ts",
5-
"version": "1.40.0",
5+
"version": "1.40.1",
66
"description": "Ace (Ajax.org Cloud9 Editor)",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1"

src-min-noconflict/ace.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-min/ace.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-noconflict/ace.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ var reportErrorIfPathIsNotConfigured = function () {
13211321
reportErrorIfPathIsNotConfigured = function () { };
13221322
}
13231323
};
1324-
exports.version = "1.40.0";
1324+
exports.version = "1.40.1";
13251325

13261326
});
13271327

@@ -16852,7 +16852,7 @@ var Gutter = /** @class */ (function () {
1685216852
var rowCell = cell || this.$getGutterCell(row);
1685316853
if (rowCell && rowCell.element) {
1685416854
var foldWidget = rowCell.element.childNodes[1];
16855-
if (foldWidget && this.session.foldWidgets[rowCell.row]) {
16855+
if (foldWidget && this.session.foldWidgets && this.session.foldWidgets[rowCell.row]) {
1685616856
dom.setStyle(foldWidget.style, "display", "inline-block");
1685716857
}
1685816858
}

src/ace.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ var reportErrorIfPathIsNotConfigured = function () {
13211321
reportErrorIfPathIsNotConfigured = function () { };
13221322
}
13231323
};
1324-
exports.version = "1.40.0";
1324+
exports.version = "1.40.1";
13251325

13261326
});
13271327

@@ -16852,7 +16852,7 @@ var Gutter = /** @class */ (function () {
1685216852
var rowCell = cell || this.$getGutterCell(row);
1685316853
if (rowCell && rowCell.element) {
1685416854
var foldWidget = rowCell.element.childNodes[1];
16855-
if (foldWidget && this.session.foldWidgets[rowCell.row]) {
16855+
if (foldWidget && this.session.foldWidgets && this.session.foldWidgets[rowCell.row]) {
1685616856
dom.setStyle(foldWidget.style, "display", "inline-block");
1685716857
}
1685816858
}

types/ace-modules.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ declare module "ace-builds-internal/config" {
375375
string
376376
], onLoad: (module: any) => void) => void;
377377
setModuleLoader: (moduleName: any, onLoad: any) => void;
378-
version: "1.40.0";
378+
version: "1.40.1";
379379
};
380380
export = _exports;
381381
}

0 commit comments

Comments
 (0)