@depup/i18n 0.15.3-depup.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/index.js ADDED
@@ -0,0 +1,11 @@
1
+ const i18n = require('./i18n')
2
+
3
+ /**
4
+ * defaults to singleton, backward compat
5
+ */
6
+ module.exports = i18n()
7
+
8
+ /**
9
+ * exports constructor with capital letter
10
+ */
11
+ module.exports.I18n = i18n
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@depup/i18n",
3
+ "description": "[DepUp] lightweight translation module with dynamic json storage",
4
+ "version": "0.15.3-depup.0",
5
+ "homepage": "http://github.com/mashpie/i18n-node",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "http://github.com/mashpie/i18n-node.git"
9
+ },
10
+ "author": "Marcus Spiegel <marcus.spiegel@gmail.com>",
11
+ "funding": {
12
+ "url": "https://github.com/sponsors/mashpie"
13
+ },
14
+ "main": "./index",
15
+ "files": [
16
+ "i18n.js",
17
+ "index.js",
18
+ "SECURITY.md"
19
+ ],
20
+ "keywords": [
21
+ "depup",
22
+ "dependency-bumped",
23
+ "updated-deps",
24
+ "i18n",
25
+ "template",
26
+ "l10n"
27
+ ],
28
+ "directories": {
29
+ "lib": "."
30
+ },
31
+ "dependencies": {
32
+ "@messageformat/core": "^3.4.0",
33
+ "debug": "^4.4.3",
34
+ "fast-printf": "^1.6.10",
35
+ "make-plural": "^8.1.0",
36
+ "math-interval-parser": "^2.0.1",
37
+ "mustache": "^4.2.0"
38
+ },
39
+ "devDependencies": {
40
+ "async": "^3.2.6",
41
+ "cookie-parser": "^1.4.7",
42
+ "eslint": "^8.57.1",
43
+ "eslint-config-prettier": "^8.10.2",
44
+ "eslint-config-standard": "^17.1.0",
45
+ "eslint-plugin-import": "^2.32.0",
46
+ "eslint-plugin-node": "^11.1.0",
47
+ "eslint-plugin-prettier": "^4.2.5",
48
+ "eslint-plugin-promise": "^6.6.0",
49
+ "eslint-plugin-standard": "^5.0.0",
50
+ "express": "^4.21.2",
51
+ "husky": "^8.0.3",
52
+ "lint-staged": "^12.5.0",
53
+ "mocha": "^10.8.2",
54
+ "nyc": "^15.1.0",
55
+ "prettier": "^2.8.8",
56
+ "should": "^13.2.3",
57
+ "sinon": "^14.0.2",
58
+ "yaml": "^2.8.1",
59
+ "supertest": "^6.3.4"
60
+ },
61
+ "engines": {
62
+ "node": ">=10"
63
+ },
64
+ "lint-staged": {
65
+ "*.js": "eslint --cache --fix"
66
+ },
67
+ "license": "MIT",
68
+ "husky": {
69
+ "hooks": {
70
+ "pre-commit": "lint-staged"
71
+ }
72
+ },
73
+ "scripts": {
74
+ "test": "mocha --exit",
75
+ "test-ci": "nyc mocha -- --exit",
76
+ "coverage": "nyc report --reporter=lcov"
77
+ },
78
+ "depup": {
79
+ "changes": {
80
+ "make-plural": {
81
+ "from": "^7.4.0",
82
+ "to": "^8.1.0"
83
+ }
84
+ },
85
+ "depsUpdated": 1,
86
+ "originalPackage": "i18n",
87
+ "originalVersion": "0.15.3",
88
+ "processedAt": "2026-03-09T05:08:11.002Z",
89
+ "smokeTest": "passed"
90
+ }
91
+ }