entitlement-provider 2.9.83 → 2.9.87

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": "entitlement-provider",
3
- "version": "2.9.83",
3
+ "version": "2.9.87",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,28 +23,29 @@
23
23
  "scripts": {
24
24
  "test": "npm run test:ava",
25
25
  "test:ava": "ava --timeout 2m tests/*.mjs",
26
- "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp"
26
+ "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
27
+ "pkg": "npm-pkgbuild --verbose -D version=0.0.0 --publish dist"
27
28
  },
28
29
  "dependencies": {
29
- "@kronos-integration/interceptor-decode-json": "^2.1.52",
30
- "@kronos-integration/service": "^10.4.11",
31
- "@kronos-integration/service-admin": "^3.4.42",
32
- "@kronos-integration/service-authenticator": "^1.6.2",
33
- "@kronos-integration/service-health": "^5.0.129",
34
- "@kronos-integration/service-http": "^10.6.83",
35
- "@kronos-integration/service-ldap": "^4.0.67",
36
- "@kronos-integration/service-smtp": "^1.0.55",
37
- "model-attributes": "^4.1.12"
30
+ "@kronos-integration/interceptor-decode-json": "^2.1.56",
31
+ "@kronos-integration/service": "^10.4.15",
32
+ "@kronos-integration/service-admin": "^3.4.45",
33
+ "@kronos-integration/service-authenticator": "^1.6.8",
34
+ "@kronos-integration/service-health": "^5.0.134",
35
+ "@kronos-integration/service-http": "^10.6.91",
36
+ "@kronos-integration/service-ldap": "^4.0.71",
37
+ "@kronos-integration/service-smtp": "^1.0.60",
38
+ "model-attributes": "^4.1.13"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@semantic-release/commit-analyzer": "^9.0.2",
41
42
  "@semantic-release/exec": "^6.0.3",
42
- "@semantic-release/release-notes-generator": "^10.0.2",
43
- "ava": "^3.15.0",
43
+ "@semantic-release/release-notes-generator": "^10.0.3",
44
+ "ava": "^4.0.1",
44
45
  "c8": "^7.1.0",
45
- "got": "12.0.0",
46
- "npm-pkgbuild": "^6.12.83",
47
- "semantic-release": "^18.0.1"
46
+ "got": "12.0.1",
47
+ "npm-pkgbuild": "^7.23.5",
48
+ "semantic-release": "^19.0.2"
48
49
  },
49
50
  "optionalDependencies": {
50
51
  "@kronos-integration/service-systemd": "^2.5.3"
@@ -72,40 +73,37 @@
72
73
  "base": "/services/entitlements/api",
73
74
  "socket": "/run/${name}/http/socket"
74
75
  },
75
- "systemd": {
76
- "units": {
77
- "${name}": "systemd/${name}*"
78
- }
79
- },
80
- "pacman": {
81
- "arch": [
82
- "aarch64",
83
- "armv7h",
84
- "x86_64"
85
- ],
76
+ "pkg": {
86
77
  "backup": "etc/${name}/config.json",
87
78
  "content": {
88
- "/usr/lib/tmpfiles.d/${name}.conf": "pacman/tmpfiles.conf",
79
+ "/usr/lib/systemd/system/": {
80
+ "base": "systemd"
81
+ },
82
+ "/usr/lib/tmpfiles.d/${name}.conf": "pkg/tmpfiles.conf",
89
83
  "/etc/${name}/config.json": "config/config.json",
90
- "/etc/nginx/sites/common/${name}.conf": "pacman/nginx.conf",
84
+ "/etc/nginx/sites/common/${name}.conf": "pkg/nginx.conf",
91
85
  "/srv/http/.well-known/openid-configuration": "config/openid-configuration",
92
- "/usr/lib/sysusers.d/${name}.conf": "pacman/sysusers.conf"
86
+ "/usr/lib/sysusers.d/${name}.conf": "pkg/sysusers.conf",
87
+ "${installdir}/": [
88
+ {
89
+ "type": "npm-pack"
90
+ },
91
+ {
92
+ "type": "node-modules"
93
+ }
94
+ ]
95
+ },
96
+ "output": {
97
+ "arch": {}
93
98
  },
94
99
  "depends": {
95
- "systemd": ">=250",
96
- "nginx-mainline": ">=1.21.1"
100
+ "systemd": ">=250.3",
101
+ "nginx-mainline": ">=1.21.4"
97
102
  },
98
103
  "groups": "user admin",
99
- "hooks": "pacman/hooks.sh",
104
+ "hooks": "pkg/hooks.sh",
100
105
  "installdir": "/services/${name}",
101
- "group": "services",
102
- "content-provider": {
103
- "systemd": {
104
- "units": {
105
- "${name}": "systemd/${name}*"
106
- }
107
- }
108
- }
106
+ "group": "services"
109
107
  },
110
108
  "release": {
111
109
  "plugins": [
@@ -115,8 +113,7 @@
115
113
  [
116
114
  "@semantic-release/exec",
117
115
  {
118
- "verifyConditionsCmd": "which makepkg",
119
- "publishCmd": "npx npm-pkgbuild --pkgver ${nextRelease.version} --npm-dist --npm-modules pkgbuild pacman makepkg"
116
+ "publishCmd": "npx npm-pkgbuild"
120
117
  }
121
118
  ],
122
119
  "@semantic-release/npm"
@@ -125,7 +122,7 @@
125
122
  "template": {
126
123
  "inheritFrom": [
127
124
  "arlac77/template-arlac77-github",
128
- "arlac77/template-kronos-app"
125
+ "arlac77/template-kronos-app#next"
129
126
  ]
130
127
  }
131
128
  }
File without changes
File without changes
File without changes
File without changes
@@ -19,6 +19,7 @@ OOMPolicy=stop
19
19
  User={{name}}
20
20
  Group={{name}}
21
21
  SupplementaryGroups=http
22
+ CapabilityBoundingSet=~CAP_SYS_BOOT
22
23
  NoNewPrivileges=true
23
24
  UMask=0077
24
25
  ProtectSystem=full
@@ -39,6 +40,7 @@ ProtectKernelModules=true
39
40
  ProtectKernelLogs=true
40
41
  ProtectControlGroups=true
41
42
  LockPersonality=true
43
+ RestrictRealtime=true
42
44
  RestrictSUIDSGID=true
43
45
  CPUWeight=10
44
46
  IOWeight=10
@@ -48,5 +50,7 @@ MemoryMax=60M
48
50
  ProtectProc=noaccess
49
51
  SystemCallErrorNumber=EPERM
50
52
 
53
+ CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_ADMIN CAP_NET_ADMIN CAP_SYS_NICE CAP_SYS_RESOURCE CAP_KILLC AP_IPC_LOCK CAP_CHOWN CAP_FSETID CAP_SETFCAP CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_WAKE_ALARM CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_KILL
54
+
51
55
  [Install]
52
56
  WantedBy=multi-user.target