@promptbook/website-crawler 0.78.4 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.es.js CHANGED
@@ -24,7 +24,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
24
24
  *
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- var PROMPTBOOK_ENGINE_VERSION = '0.78.3';
27
+ var PROMPTBOOK_ENGINE_VERSION = '0.78.4';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -160,6 +160,9 @@ function __spreadArray(to, from, pack) {
160
160
  */
161
161
  function $deepFreeze(objectValue) {
162
162
  var e_1, _a;
163
+ if (Array.isArray(objectValue)) {
164
+ return Object.freeze(objectValue.map(function (item) { return $deepFreeze(item); }));
165
+ }
163
166
  var propertyNames = Object.getOwnPropertyNames(objectValue);
164
167
  try {
165
168
  for (var propertyNames_1 = __values(propertyNames), propertyNames_1_1 = propertyNames_1.next(); !propertyNames_1_1.done; propertyNames_1_1 = propertyNames_1.next()) {