@ditojs/utils 2.91.0 → 2.93.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/utils",
3
- "version": "2.91.0",
3
+ "version": "2.93.0",
4
4
  "type": "module",
5
5
  "description": "Dito.js Utility Functions – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/main/packages/utils",
@@ -23,7 +23,7 @@
23
23
  "types": "tsc --noEmit types/index.d.ts"
24
24
  },
25
25
  "engines": {
26
- "node": ">= 20.0.0"
26
+ "node": ">= 24.0.0"
27
27
  },
28
28
  "browserslist": [
29
29
  "node >= 18",
@@ -36,7 +36,7 @@
36
36
  "punycode": "^2.3.1"
37
37
  },
38
38
  "devDependencies": {
39
- "typescript": "^5.9.3"
39
+ "typescript": "^6.0.2"
40
40
  },
41
- "gitHead": "cc64039676a475376ae68b11ad1760dde5fe789c"
41
+ "gitHead": "360bd6a84c617b7f9b3750c50865380be3dbde8e"
42
42
  }
@@ -97,7 +97,7 @@ describe('format()', () => {
97
97
  currency: 'CHF'
98
98
  }
99
99
  })
100
- ).toMatch(/^CHF\s123’456’789\.00$/)
100
+ ).toMatch(/^CHF\s123['\u2019]456['\u2019]789\.00$/)
101
101
  expect(
102
102
  format(float, {
103
103
  locale: 'de-DE',
@@ -115,7 +115,7 @@ describe('format()', () => {
115
115
  currency: 'CHF'
116
116
  }
117
117
  })
118
- ).toMatch(/^CHF\s123’456\.79$/)
118
+ ).toMatch(/^CHF\s123['\u2019]456\.79$/)
119
119
  })
120
120
 
121
121
  it('should support fine-grained control of `options.date`', () => {