message: moved page._data property to the base class
diff: @@ -18,9 +18,14 @@ abstract class Base {
  */
  #data?: Data;
  + /**
  + * Internal data. Used to save arbitrary data by plugins and processors
  + */
  + #_data = {};
  +
  /**
  * Used to save the merged data:
  - * the assigned data with the parent data
  + * the base data with the parent data
  */
  #cache?: Data;
  @@ -73,6 +78,18 @@ abstract class Base {
  this.#data = data;
  }
  + /**
  + * The property _data is to store internal data,
  + * used by plugins, processors, etc to save arbitrary values
  + */
  + set _data(data: Record<string, unknown>) {
  + this.#_data = data;
  + }
  +
  + get _data() {
  + return this.#_data;
  + }
  +
  /** Clean the cache of the merged data */
  refreshCache() {
  this.#cache = undefined;
  @@ -84,9 +101,6 @@ export class Page extends Base {
  /** The destination of the page */
  dest: Dest;
  - /** Internal data */
  - #_data = {};
  -
  /** The page content (string or Uint8Array) */
  #content?: Content;
  @@ -116,18 +130,6 @@ export class Page extends Base {
  return page;
  }
  - /**
  - * The property _data is to store internal data,
  - * used by plugins, processors, etc to save arbitrary values
  - */
  - set _data(data: Record<string, unknown>) {
  - this.#_data = data;
  - }
  -
  - get _data() {
  - return this.#_data;
  - }
  -
  /** The content of this page */
  set content(content: Content | undefined) {
  this.#document = undefined;
  