Closed AdriiiPRodri closed 2 years ago
In this PR we have updated the version of "moment", here it can be seen that the new version "2.29.3" is fully functional:
[root@wazuh wazuh-api]# curl -k -u foo:bar "[https://localhost:55000?pretty](https://localhost:55000/?pretty)" { "error": 0, "data": { "msg": "Welcome to Wazuh HIDS API", "api_version": "v3.13.5", "hostname": "860a89683b59", "timestamp": "Mon Jun 06 2022 13:55:52 GMT+0000 (UTC)" } } [root@wazuh wazuh-api]# head -n3 /var/ossec/api/node_modules/moment/package.json { "_from": "moment@~2.29.2", "_id": "moment@2.29.3", [root@c7d8128c14e3 wazuh-api]# head /var/ossec/api/node_modules/moment/src/moment.js //! moment.js //! version : 2.29.3 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com import { hooks as moment, setHookCallback } from './lib/utils/hooks'; moment.version = '2.29.3';
In this PR we have updated the version of "moment", here it can be seen that the new version "2.29.3" is fully functional: