rrule-temporal 1.1.3 → 1.1.5

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/dist/totext.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RRuleTemporal
3
- } from "./chunk-BFYHWV7H.js";
3
+ } from "./chunk-KT55S4C7.js";
4
4
 
5
5
  // src/totext.ts
6
6
  var en = {
@@ -398,7 +398,7 @@ var zh = {
398
398
  ordinal: (n) => n < 0 ? "\u6700\u540E" : `\u7B2C${Math.abs(n)}`
399
399
  };
400
400
  var ALL_LOCALES = { en, es, hi, yue, ar, he, zh };
401
- var env = process.env.TOTEXT_LANGS;
401
+ var env = typeof process !== "undefined" && process.env ? process.env.TOTEXT_LANGS : void 0;
402
402
  var active = env ? env.split(",").map((s) => s.trim()).filter(Boolean) : Object.keys(ALL_LOCALES);
403
403
  var LOCALES = {};
404
404
  for (const l of active) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrule-temporal",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Recurrence rule processing using Temporal PlainDate/PlainDateTime",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",