**Motivations:** - Ensure all application directories have systemd services enabled at boot - Complete service installation for api-relay, filigrane-api, and clamav-api - Fix dependencies and import issues preventing clamav-api from starting **Root causes:** - Three services (api-relay, filigrane-api, clamav-api) had service files but were not installed in systemd - api-clamav had incorrect node-clamav version (0.12.1) that doesn't exist - api-clamav dependencies were not installed (node_modules missing) - ES module import syntax incompatible with CommonJS node-clamav package **Correctifs:** - Installed api-relay.service, filigrane-api.service, and clamav-api.service in /etc/systemd/system/ - Enabled all three services for automatic startup at boot - Updated api-clamav/package.json: changed node-clamav version from ^0.12.1 to ^1.0.11 - Installed npm dependencies for api-clamav - Fixed ES module import in api-clamav/src/routes/scan.js to use CommonJS-compatible syntax **Evolutions:** - All 7 application services now have systemd services enabled at boot - Complete service coverage: anchorage-api, faucet-api, signet-dashboard, userwallet, api-relay, filigrane-api, clamav-api - All services verified active and listening on their respective ports **Pages affectées:** - api-clamav/package.json - api-clamav/src/routes/scan.js - api-clamav/node_modules/ (new) - api-clamav/package-lock.json (new) - /etc/systemd/system/api-relay.service (new) - /etc/systemd/system/filigrane-api.service (new) - /etc/systemd/system/clamav-api.service (new)
106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
{
|
|
"name": "object-inspect",
|
|
"version": "1.13.4",
|
|
"description": "string representations of objects in node and the browser",
|
|
"main": "index.js",
|
|
"sideEffects": false,
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^21.1.1",
|
|
"@pkgjs/support": "^0.0.6",
|
|
"auto-changelog": "^2.5.0",
|
|
"core-js": "^2.6.12",
|
|
"error-cause": "^1.0.8",
|
|
"es-value-fixtures": "^1.7.1",
|
|
"eslint": "=8.8.0",
|
|
"for-each": "^0.3.4",
|
|
"functions-have-names": "^1.2.3",
|
|
"glob": "=10.3.7",
|
|
"globalthis": "^1.0.4",
|
|
"has-symbols": "^1.1.0",
|
|
"has-tostringtag": "^1.0.2",
|
|
"in-publish": "^2.0.1",
|
|
"jackspeak": "=2.1.1",
|
|
"make-arrow-function": "^1.2.0",
|
|
"mock-property": "^1.1.0",
|
|
"npmignore": "^0.3.1",
|
|
"nyc": "^10.3.2",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"safer-buffer": "^2.1.2",
|
|
"semver": "^6.3.1",
|
|
"string.prototype.repeat": "^1.0.0",
|
|
"tape": "^5.9.0"
|
|
},
|
|
"scripts": {
|
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
"prepublishOnly": "safe-publish-latest",
|
|
"pretest": "npm run lint",
|
|
"lint": "eslint --ext=js,mjs .",
|
|
"postlint": "npx @pkgjs/support validate",
|
|
"test": "npm run tests-only && npm run test:corejs",
|
|
"tests-only": "nyc tape 'test/*.js'",
|
|
"test:corejs": "nyc tape test-core-js.js 'test/*.js'",
|
|
"posttest": "npx npm@'>=10.2' audit --production",
|
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
},
|
|
"testling": {
|
|
"files": [
|
|
"test/*.js",
|
|
"test/browser/*.js"
|
|
],
|
|
"browsers": [
|
|
"ie/6..latest",
|
|
"chrome/latest",
|
|
"firefox/latest",
|
|
"safari/latest",
|
|
"opera/latest",
|
|
"iphone/latest",
|
|
"ipad/latest",
|
|
"android/latest"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/inspect-js/object-inspect.git"
|
|
},
|
|
"homepage": "https://github.com/inspect-js/object-inspect",
|
|
"keywords": [
|
|
"inspect",
|
|
"util.inspect",
|
|
"object",
|
|
"stringify",
|
|
"pretty"
|
|
],
|
|
"author": {
|
|
"name": "James Halliday",
|
|
"email": "mail@substack.net",
|
|
"url": "http://substack.net"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
},
|
|
"license": "MIT",
|
|
"browser": {
|
|
"./util.inspect.js": false
|
|
},
|
|
"auto-changelog": {
|
|
"output": "CHANGELOG.md",
|
|
"template": "keepachangelog",
|
|
"unreleased": false,
|
|
"commitLimit": false,
|
|
"backfillLimit": false,
|
|
"hideCredit": true
|
|
},
|
|
"publishConfig": {
|
|
"ignore": [
|
|
".github/workflows",
|
|
"./test-core-js.js"
|
|
]
|
|
},
|
|
"support": true,
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
}
|
|
}
|