46 Commits

Author SHA1 Message Date
mategergely33 6720375fa1 [#48] Git testhttps://project.mdnd-it.cc/work_packages/48 2025-07-22 18:07:40 +02:00
mategergely33 1893d0006d [#48] Git testhttps://project.mdnd-it.cc/work_packages/48 2025-07-22 18:06:01 +02:00
Donat aba7a506ad Merge pull request 'Backend half' (#17) from task/40-backend-user-company into main
Reviewed-on: #17
2025-07-12 17:35:14 +00:00
Donat 585e7c96fb Merge pull request 'navbarral footerrel mindennel egyutt' (#16) from walkehaladas into main
Reviewed-on: #16
2025-07-12 17:33:14 +00:00
Walke 4bf667a1ac navbarral footerrel mindennel egyutt 2025-07-11 21:57:39 +02:00
Donat 8600fa7c1d Backend half 2025-07-11 19:56:28 +02:00
Donat 270bb79451 Merge pull request '[#77] LandingPage https://project.mdnd-it.cc/work_packages/77' (#15) from task/56-landing-page into main
Reviewed-on: #15
2025-07-09 10:02:29 +00:00
Donat b10143ba1a Merge pull request '[#54] kártya komponens' (#14) from task/54-k-rtya-komponens into main
Reviewed-on: #14
2025-07-09 09:59:28 +00:00
Walke 19c762fe67 [#56] Landing Pagehttps://project.mdnd-it.cc/work_packages/56 2025-07-07 10:11:41 +02:00
Donat 9296782fc1 Merge pull request '[#40] BACKEND USER, Company' (#13) from task/40-backend-user-company into main
Reviewed-on: #13
2025-06-14 23:14:29 +00:00
Donat fa868e7c1d [#40] BACKEND USER, Company
https://project.mdnd-it.cc/work_packages/40
2025-06-15 01:12:46 +02:00
Buus 724162b9c9 https://project.mdnd-it.cc/work_packages/54 2025-06-03 21:30:03 +02:00
Walke 85e188b5e2 Merge pull request 'task/52-pop-up' (#12) from task/52-pop-up into main
Reviewed-on: #12
2025-05-26 16:31:13 +00:00
Walke fe08dd3603 [#52] pop uphttps://project.mdnd-it.cc/work_packages/52 2025-05-22 11:06:29 +02:00
Walke 370dc9934b [#52] pop uphttps://project.mdnd-it.cc/work_packages/52 2025-05-22 11:05:21 +02:00
Walke 3012707ba8 Merge pull request 'linuxdocker-komponensekupdate' (#11) from linuxdocker-komponensekupdate into main
Reviewed-on: #11
2025-05-22 08:27:18 +00:00
Walke 48c29d81d0 komponensek frissitese 2025-05-22 03:54:28 +02:00
Walke c4b86143bf linuxra docker auto inditasa 2025-05-22 03:54:02 +02:00
Walke 8948751bbc Merge pull request '[#50] AUTH UI Frissítés https://project.mdnd-it.cc/work_packages/50' (#10) from task/50-auth-ui-friss-t-s into main
Reviewed-on: #10
2025-05-21 22:51:02 +00:00
Walke e5b601e483 [#50] AUTH UI Frissítés https://project.mdnd-it.cc/work_packages/50 2025-05-22 02:07:00 +02:00
Donat 76c513d8fb Merge pull request '[#39] ADATB USER' (#9) from task/39-adatb-user into main
Reviewed-on: #9
2025-05-20 22:27:11 +00:00
Donat f68540f511 [#39] ADATB USERhttps://project.mdnd-it.cc/work_packages/39 2025-05-21 00:26:24 +02:00
Donat 2bc2138d0e Merge pull request 'task/49-docker' (#8) from task/49-docker into main
Reviewed-on: #8
2025-05-20 21:51:27 +00:00
Donat 87c790aa05 [#49] Dockerhttps://project.mdnd-it.cc/work_packages/49 2025-05-20 23:49:50 +02:00
Donat 38a54f9005 [#49] Dockerhttps://project.mdnd-it.cc/work_packages/49 2025-05-20 23:48:52 +02:00
Donat 7fa4150b3a Merge pull request '[#49] Docker' (#7) from task/49-docker into main
Reviewed-on: #7
2025-05-20 21:31:08 +00:00
Donat ea83034e9a [#49] Dockerhttps://project.mdnd-it.cc/work_packages/49 2025-05-20 23:29:53 +02:00
Donat 298c31597f [#49] Dockerhttps://project.mdnd-it.cc/work_packages/49 2025-05-20 23:29:27 +02:00
Donat 59160cbbcb Merge pull request '[#48] Git test' (#6) from task/48-git-test into main
Reviewed-on: #6
2025-05-20 16:52:15 +00:00
Donat 6d452ab71f [#48] Git testhttps://project.mdnd-it.cc/work_packages/48 2025-05-20 18:48:02 +02:00
Donat 4765d14123 Merge pull request '[#46] Emial Verification https://project.mdnd-it.cc/work_packages/46' (#5) from task/46-emial-verification into main
Reviewed-on: #5
2025-05-17 20:25:05 +00:00
Donat f65696ce32 Merge pull request '[#42] FORGOT PASS https://project.mdnd-it.cc/work_packages/42' (#4) from task/42-forgot-pass into main
Reviewed-on: #4
2025-05-17 20:24:12 +00:00
Donat eb696d9d27 Merge pull request '[#37] Login & Register Page UI https://project.mdnd-it.cc/work_packages/37' (#3) from task/37-login-and-register-page-ui into main
Reviewed-on: #3
2025-05-17 20:23:05 +00:00
Walke 8acc7d30fc [#42] FORGOT PASS
https://project.mdnd-it.cc/work_packages/42
2025-05-17 10:41:13 +02:00
Walke 8a7500eb69 [#37] Login & Register Page UI
https://project.mdnd-it.cc/work_packages/37
2025-05-17 10:38:50 +02:00
Walke f398183332 [#46] Emial Verification
https://project.mdnd-it.cc/work_packages/46
2025-05-17 10:37:47 +02:00
Walke 94702a33aa [#46] Emial Verification
https://project.mdnd-it.cc/work_packages/46
2025-05-16 20:12:31 +00:00
Walke f089d314ca [#37] Login & Register Page UI
https://project.mdnd-it.cc/work_packages/37
2025-05-16 20:08:24 +00:00
Donat 7eaf2408a1 Merge pull request '[#47] Tailwind init https://project.mdnd-it.cc/work_packages/47' (#2) from task/47-tailwind-init into main
Reviewed-on: #2
2025-05-16 17:26:31 +00:00
Walke a231fa4b5e [#47] Tailwind init https://project.mdnd-it.cc/work_packages/47 2025-05-16 17:02:00 +00:00
Donat 68cec47d09 Update README.md 2025-05-14 17:34:44 +00:00
Donat b93363330f Update README.md 2025-05-14 17:34:16 +00:00
Donat 175db04ec6 Merge pull request 'develop' (#1) from develop into main
Reviewed-on: #1
2025-05-14 17:33:09 +00:00
Donat d5cddb186d Merge branch 'main' of https://git.mdnd-it.cc/Donat/SerpentRace into develop 2025-05-14 19:32:10 +02:00
Donat 28ced1c764 initialize 2025-05-14 19:27:36 +02:00
Donat ceeab2647d Initial commit 2025-05-14 09:31:03 +00:00
20185 changed files with 3846645 additions and 841 deletions
+4
View File
@@ -0,0 +1,4 @@
#ignore each file in folder that starts with Archive_
Archive_*
#ignore each folder that starts with Archive_
Archive_*/**
+18
View File
@@ -0,0 +1,18 @@
DB_PASSWORD=QwEr12345.
Default_User=Admin
Default_Password=Admin.Admin
# Database configuration
DB_1=Default
DB_2=QUESTIONS
DB_3=STATISTICS
DB_4=USERS
DB_PSWD_1=42vM2ftPy1YetSz9AdAHkayxKvQHuV9Wh0nT8c5DKYt
DB_PSWD_2=3cYzPBoLtPindO53Eh3cA80DqqjYvq7CJOzA2Eik00k
DB_PSWD_3=HyJcDLDW3ZYXbMLzlkL4zWqWwyhExQ4XvVCuT8ihld0
DB_PSWD_4=965o6d3Mz7YlgI8GkJkiZD6PIpTZfaBzIheZX3nIpY3
# Ports configuration
BACKEND_PORT=3000
FRONTEND_PORT=5173
DATABASE_PORT=80
+30
View File
@@ -0,0 +1,30 @@
FROM node:18 AS base
WORKDIR /usr/local/app
################ FRONTEND BUILD #################
FROM base AS client-build
WORKDIR /usr/local/app/frontend
COPY SerpentRace_Frontend/package.json SerpentRace_Frontend/package-lock.json ./
RUN npm ci
COPY SerpentRace_Frontend/ ./
RUN npm run build
################ BACKEND BUILD #################
FROM base AS backend-build
WORKDIR /usr/local/app/backend
COPY SerpentRace_Backend/package.json SerpentRace_Backend/package-lock.json ./
RUN npm ci
COPY SerpentRace_Backend/ ./
# Copy frontend build output to backend static directory
COPY --from=client-build /usr/local/app/frontend/dist ./src/static
# generate js files from ts files
RUN npm run build
################ PRODUCTION IMAGE #################
FROM backend-build AS prod
WORKDIR /usr/local/app/backend
ENV NODE_ENV=development
RUN npm ci
EXPOSE 3000
CMD ["node", "dist/index.js"]
+91
View File
@@ -0,0 +1,91 @@
services:
proxy:
image: traefik:v2.11
command: --providers.docker
ports:
- 80:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
backend:
build:
context: ..
dockerfile: SerpentRace_Docker/Dockerfile
target: prod
environment:
NODE_ENV: "development"
DB_HOST: "db"
DB_PORT: "3306"
DATABASE_NAME_1: "${DB_1}"
DATABASE_PSWD_1: "${DB_PSWD_1}"
# DATABASE_URL_2: "mysql://${DB_2}:${DB_PSWD_2}@db:3306/${DB_2}"
# DATABASE_URL_3: "mysql://${DB_3}:${DB_PSWD_3}@db:3306/${DB_3}"
# DATABASE_URL_4: "mysql://${DB_4}:${DB_PSWD_4}@db:3306/${DB_4}"
command: ["npx", "nodemon", "src/index.ts", "--watch", "src", "--ext", "ts"]
develop:
watch:
- path: ../SerpentRace_Backend/src
action: sync
target: /usr/local/app/backend/src
- path: ../SerpentRace_Backend/prisma
action: sync
target: /usr/local/app/backend/prisma
actions:
- migrate:all
- path: ../SerpentRace_Backend/package.json
action: rebuild
labels:
traefik.http.routers.backend.rule: Host(`api.localhost`)
traefik.http.services.backend.loadbalancer.server.port: 3000
depends_on:
- db
frontend:
build:
context: ..
dockerfile: SerpentRace_Docker/Dockerfile
target: client-build
command: ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "5173"]
working_dir: /usr/local/app/frontend
develop:
watch:
- path: ../SerpentRace_Frontend/src
action: sync
target: /usr/local/app/frontend/src
- path: ../SerpentRace_Frontend/package.json
action: rebuild
labels:
traefik.http.routers.frontend.rule: Host(`localhost`)
traefik.http.services.frontend.loadbalancer.server.port: 5173
db:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
MYSQL_DATABASE: ${DB_1}
MYSQL_USER: ${Default_User}
MYSQL_PASSWORD: ${Default_Password}
DB_1: ${DB_1}
DB_2: ${DB_2}
DB_3: ${DB_3}
DB_4: ${DB_4}
PSWD_1: ${DB_PSWD_1}
PSWD_2: ${DB_PSWD_2}
PSWD_3: ${DB_PSWD_3}
PSWD_4: ${DB_PSWD_4}
volumes:
# - ./init-multi-db.sh:/docker-entrypoint-initdb.d/init-multi-db.sh:ro
# - ./init-db-users.sh:/docker-entrypoint-initdb.d/init-db-users.sh:ro
- db_data:/var/lib/mysql
adminer:
image: adminer
restart: always
labels:
traefik.http.routers.adminer.rule: Host(`db.localhost`)
traefik.http.services.adminer.loadbalancer.server.port: 8080
volumes:
db_data:
@@ -0,0 +1,17 @@
#!/bin/bash
set -e
mariadb -uroot -p"$MYSQL_ROOT_PASSWORD" <<EOSQL
CREATE USER IF NOT EXISTS '$DB_1'@'%' IDENTIFIED BY '$PSWD_1';
GRANT ALL PRIVILEGES ON \`$DB_1\`.* TO '$DB_1'@'%';
CREATE USER IF NOT EXISTS '$DB_2'@'%' IDENTIFIED BY '$PSWD_2';
GRANT ALL PRIVILEGES ON \`$DB_2\`.* TO '$DB_2'@'%';
CREATE USER IF NOT EXISTS '$DB_3'@'%' IDENTIFIED BY '$PSWD_3';
GRANT ALL PRIVILEGES ON \`$DB_3\`.* TO '$DB_3'@'%';
CREATE USER IF NOT EXISTS '$DB_4'@'%' IDENTIFIED BY '$PSWD_4';
GRANT ALL PRIVILEGES ON \`$DB_4\`.* TO '$DB_4'@'%';
FLUSH PRIVILEGES;
EOSQL
@@ -0,0 +1,7 @@
#!/bin/bash
set -e
mariadb -uroot -p"$MYSQL_ROOT_PASSWORD" <<EOSQL
CREATE DATABASE IF NOT EXISTS \`${DB_2}\`;
CREATE DATABASE IF NOT EXISTS \`${DB_3}\`;
CREATE DATABASE IF NOT EXISTS \`${DB_4}\`;
EOSQL
+2
View File
@@ -0,0 +1,2 @@
docker compose down -v
pause
+4
View File
@@ -0,0 +1,4 @@
# SerpentRace
- Frontend: React (Vite)
- Backend: Node.js (Express.js)
+490
View File
@@ -0,0 +1,490 @@
{"environment":"development","level":"info","message":"Middlewares initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:51:02.889Z"}
{"environment":"development","level":"info","message":"Routes initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:51:02.891Z"}
{"environment":"development","level":"info","message":"Error handling initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:51:02.892Z"}
{"environment":"development","level":"info","message":"Application started successfully","nodeVersion":"v22.9.0","platform":"win32","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T17:51:02.896Z"}
{"environment":"development","level":"info","message":"MinIO logging system initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:51:02.906Z"}
{"environment":"development","level":"info","message":"Database connection established successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:51:03.233Z"}
{"database":"Connected","environment":"development","level":"info","message":"Health check requested","service":"serpentrace-backend","status":"OK","timestamp":"2025-07-06T17:52:01.091Z"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T17:52:01.092Z","url":"/health"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:01.127Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:01.128Z","url":"/favicon.ico"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:05.278Z","url":"/asd","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:05.279Z","url":"/asd"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:05.292Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:05.293Z","url":"/favicon.ico"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:13.209Z","url":"/api/users","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:13.210Z","url":"/api/users"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:13.224Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:13.224Z","url":"/favicon.ico"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:36.811Z","url":"/api/users/logout","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:36.812Z","url":"/api/users/logout"}
{"environment":"development","ip":"::ffff:127.0.0.1","level":"warn","message":"Route not found","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T17:52:36.837Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"HTTP Request","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T17:52:36.838Z","url":"/favicon.ico"}
{"environment":"development","level":"info","message":"Middlewares initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:58:14.890Z"}
{"environment":"development","level":"info","message":"Routes initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:58:14.892Z"}
{"environment":"development","level":"info","message":"Error handling initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:58:14.892Z"}
{"environment":"development","level":"info","message":"Application started successfully","nodeVersion":"v22.9.0","platform":"win32","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T17:58:14.896Z"}
{"environment":"development","level":"info","message":"MinIO logging system initialized successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:58:14.913Z"}
{"environment":"development","level":"info","message":"Database connection established successfully","service":"serpentrace-backend","timestamp":"2025-07-06T17:58:15.176Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend Application","nodeVersion":"v22.9.0","platform":"win32","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.586Z","version":"1.0.0"}
{"category":"STARTUP","environment":"development","level":"info","message":"Initializing MinIO logging system...","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.589Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server is now running and ready to accept connections","minIO":{"bucket":"logs","endpoint":"http://127.0.0.1:9000"},"nodeVersion":"v22.9.0","platform":"win32","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.598Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/api/users"}}
{"bucket":"logs","category":"STARTUP","endpoint":"http://127.0.0.1:9000","environment":"development","level":"info","message":"✅ MinIO logging system initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.609Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Connecting to database...","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.609Z"}
{"category":"DATABASE","database":"SerpentRace","environment":"development","host":"localhost","level":"info","message":"Database: Connection established","operation":"Connection established","port":"3306","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.952Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Database connection established","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.952Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Initializing middlewares...","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.953Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: helmet loaded","name":"helmet","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.954Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: cors loaded","name":"cors","origin":"http://localhost:3000","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.954Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","limit":"10mb","message":"Middleware: body-parser loaded","name":"body-parser","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.955Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: cookie-parser loaded","name":"cookie-parser","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.955Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: compression loaded","name":"compression","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: request-logger loaded","name":"request-logger","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ All middlewares initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Initializing routes...","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"action":"registered","category":"ROUTE","environment":"development","level":"info","message":"Route: GET /health registered","method":"GET","path":"/health","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"action":"registered","category":"ROUTE","environment":"development","level":"info","message":"Route: GET /api registered","method":"GET","path":"/api","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.956Z"}
{"action":"router mounted","category":"ROUTE","environment":"development","level":"info","message":"Route: ALL /api/users router mounted","method":"ALL","path":"/api/users","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"action":"404 handler registered","category":"ROUTE","environment":"development","level":"info","message":"Route: ALL * 404 handler registered","method":"ALL","path":"*","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ All routes initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Initializing error handling...","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"action":"loaded","category":"MIDDLEWARE","environment":"development","level":"info","message":"Middleware: auth-error-handler loaded","name":"auth-error-handler","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Error handling initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application initialization completed successfully","service":"serpentrace-backend","timestamp":"2025-07-06T18:03:24.957Z"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:04:04.732Z","url":"/api/users/logout","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"category":"API","duration":"2ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /api/users/logout","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:04:04.733Z","url":"/api/users/logout"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:04:04.748Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /favicon.ico","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:04:04.748Z","url":"/favicon.ico"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:04:08.239Z","url":"/","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:04:08.239Z","url":"/"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:04:08.255Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /favicon.ico","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:04:08.256Z","url":"/favicon.ico"}
{"category":"SYSTEM","database":"Connected","environment":"development","level":"info","message":"Health check requested","service":"serpentrace-backend","status":"OK","timestamp":"2025-07-06T18:04:14.721Z"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /health","method":"GET","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T18:04:14.722Z","url":"/health"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:04:14.739Z","url":"/favicon.ico","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /favicon.ico","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:04:14.740Z","url":"/favicon.ico"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:07:58.361Z","url":"/api/user/create","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /api/user/create","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:07:58.361Z","url":"/api/user/create"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:48.717Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:12:48.728Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:48.738Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:49.038Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:49.040Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:49.041Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:49.041Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:49.041Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:53.934Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:12:53.946Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:53.956Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:54.313Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:54.316Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:54.316Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:54.317Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:12:54.317Z"}
{"category":"SYSTEM","environment":"development","level":"info","message":"Application interrupted via SIGINT","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:41.748Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.309Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.320Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.327Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.615Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.617Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.618Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.618Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:13:52.618Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.637Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.648Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.655Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.947Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.949Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.950Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.950Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:00.950Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:08.941Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:18:08.952Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:08.961Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:09.302Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:09.305Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:09.306Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:09.307Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:09.307Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.231Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.244Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.254Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.590Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.593Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.594Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.594Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:19.594Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:29.976Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:18:29.987Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:29.994Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:30.296Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:30.298Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:30.299Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:30.300Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:30.300Z"}
{"category":"SYSTEM","environment":"development","level":"info","message":"Application interrupted via SIGINT","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:39.442Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.572Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.582Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","users":"http://localhost:3000/users"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.589Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.866Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.868Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.870Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.870Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:18:46.870Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.151Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.163Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.171Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.467Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.470Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.471Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.471Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:20:38.471Z"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:20:52.197Z","url":"/test-user-create","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /test-user-create","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:20:52.198Z","url":"/test-user-create"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:21:04.526Z","url":"/test","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /test","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:21:04.527Z","url":"/test"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:21:13.832Z","url":"/users","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:21:13.833Z","url":"/users"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:21:21.615Z","url":"/api/user","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /api/user","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:21:21.615Z","url":"/api/user"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.606Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.616Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.624Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.920Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.923Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.924Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.924Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:24:27.925Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.183Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.194Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.201Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.480Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.482Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.483Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.484Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:25:15.484Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:45.905Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:26:45.915Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:45.923Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:46.206Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:46.208Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:46.210Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:46.210Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:26:46.210Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:09.790Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:28:09.800Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:09.807Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:10.089Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:10.091Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:10.093Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:10.093Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:10.093Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.269Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.279Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.286Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.551Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.553Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.555Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.555Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:28:46.555Z"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T18:29:18.784Z","url":"/users","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","duration":"2ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /users","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T18:29:18.786Z","url":"/users"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.271Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.282Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.290Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.577Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.580Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.581Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.581Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:20.581Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.512Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.522Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.529Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.807Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.809Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.810Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.810Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:31:40.810Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.428Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.439Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.449Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.745Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.748Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.749Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.749Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:25.749Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.441Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.451Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.459Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.744Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.746Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.748Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.748Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:35:47.748Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.623Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.636Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.645Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.966Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.969Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.971Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.971Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:37:58.971Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.638Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.648Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.655Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.925Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.928Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.929Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.929Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:38:06.929Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.070Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.083Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.092Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.397Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.400Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.401Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.402Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:39:53.402Z"}
{"category":"API","duration":"81ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/create","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T18:39:58.567Z","url":"/users/create"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:10.703Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:41:10.714Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:10.721Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:11.000Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:11.003Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:11.004Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:11.004Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:41:11.004Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.331Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.342Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.353Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.709Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.712Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.714Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.714Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:42:14.715Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:33.928Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:46:33.939Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:33.949Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:34.235Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:34.238Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:34.239Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:34.240Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:46:34.240Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.432Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.442Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.448Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.719Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.721Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.722Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.723Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:47:25.723Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.524Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.534Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.541Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.811Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.814Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.815Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.815Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:07.815Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.148Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.159Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.168Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.437Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.439Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.441Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.441Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:48:32.442Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.850Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.861Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.869Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.924Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.926Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.928Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.928Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:04.928Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:39.742Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:49:39.754Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:39.761Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:40.085Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:40.087Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:40.089Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:40.089Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:49:40.090Z"}
{"category":"API","duration":"74ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/create","method":"POST","service":"serpentrace-backend","statusCode":201,"timestamp":"2025-07-06T18:49:47.038Z","url":"/users/create"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:50:42.705Z","url":"/users/authenticate"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.396Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.407Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.416Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.713Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.716Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.717Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.717Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:53:20.717Z"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:21.159Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:23.358Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:23.906Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:24.106Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:24.293Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:24.470Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:24.652Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:24.822Z","url":"/users/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.005Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.188Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.366Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.546Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.719Z","url":"/users/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:25.900Z","url":"/users/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:53:26.077Z","url":"/users/authenticate"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:08.890Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:56:08.901Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:08.909Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:09.220Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:09.223Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:09.224Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:09.224Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:56:09.224Z"}
{"category":"ERROR","context":"express","environment":"development","error":"Application error","ip":"::ffff:127.0.0.1","level":"error","message":"Error in express: Application error Expected property name or '}' in JSON at position 5 (line 2 column 3)","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:02.784Z","url":"/users/authenticate"}
{"category":"API","duration":"2ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:57:28.448Z","url":"/users/authenticate"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:58.706Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:57:58.716Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:58.723Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:59.002Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:59.004Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:59.005Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:59.005Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:59.005Z"}
{"category":"API","duration":"2ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:58:43.203Z","url":"/users/authenticate"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.666Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.676Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.683Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.957Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.960Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.961Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.961Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T18:59:08.961Z"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T18:59:11.377Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:02:15.872Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:02:26.111Z","url":"/users/authenticate"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::ffff:127.0.0.1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:02:30.922Z","url":"/users/authenticate","userAgent":"Thunder Client (https://www.thunderclient.com)"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: GET /users/authenticate","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:02:30.923Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:02:36.283Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:16.921Z","url":"/users/authenticate"}
{"category":"API","duration":"2ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/create","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:22.128Z","url":"/users/create"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:29.507Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:36.051Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:40.626Z","url":"/users/authenticate"}
{"category":"API","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:41.282Z","url":"/users/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:41.457Z","url":"/users/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::ffff:127.0.0.1","level":"info","message":"Request: POST /users/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:03:41.617Z","url":"/users/authenticate"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:05:37.976Z","url":"/users/authenticate","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /users/authenticate","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:05:37.976Z","url":"/users/authenticate"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:05:57.585Z","url":"/users/authenticate","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: GET /users/authenticate","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:05:57.585Z","url":"/users/authenticate"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:06:09.686Z","url":"/api/user/authenticate","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/authenticate","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:06:09.686Z","url":"/api/user/authenticate"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:06:18.070Z","url":"/api/user/authenticate"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:07:00.305Z","url":"/api/user/authenticate"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:07:07.331Z","url":"/api/user/authenticate"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:07:12.791Z","url":"/api/user/authenticate"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":500,"timestamp":"2025-07-06T19:07:32.249Z","url":"/api/user/authenticate"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.603Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.615Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.626Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.941Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.943Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.944Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.945Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:08:56.945Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.020Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.031Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.039Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.335Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.337Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.339Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.339Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:09:07.339Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.572Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.585Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.593Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.933Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.936Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.937Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.938Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:06.938Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.132Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.142Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.150Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.439Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.441Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.442Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.442Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:12:12.442Z"}
{"category":"API","duration":"68ms","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:12:19.180Z","url":"/api/user/authenticate"}
{"category":"API","duration":"2ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/current","method":"GET","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:13:11.892Z","url":"/api/user/current","userId":1}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/details","method":"GET","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:13:22.686Z","url":"/api/user/details","userId":1}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.307Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.318Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.326Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.631Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.633Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.634Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.635Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:16:15.635Z"}
{"category":"API","duration":"9ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/details","method":"GET","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:16:39.475Z","url":"/api/user/details","userId":1}
{"category":"API","duration":"3ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/all","method":"GET","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:17:03.816Z","url":"/api/user/all","userId":1}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:17:43.990Z","url":"/api/user/update","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/update","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:17:43.991Z","url":"/api/user/update"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"GET","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:17:55.736Z","url":"/api/user/update","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: GET /api/user/update","method":"GET","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:17:55.736Z","url":"/api/user/update"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:18:00.432Z","url":"/api/user/update","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/update","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:18:00.432Z","url":"/api/user/update"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: PUT /api/user/update","method":"PUT","service":"serpentrace-backend","statusCode":400,"timestamp":"2025-07-06T19:18:07.666Z","url":"/api/user/update","userId":1}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.057Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.067Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.075Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.354Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.356Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.357Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.357Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:18:45.357Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.586Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.597Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.605Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.895Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.897Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.898Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.899Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:04.899Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.568Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.578Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.586Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.869Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.872Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.873Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.873Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:26.873Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.552Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.562Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.569Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.915Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.917Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.919Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.919Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:48.919Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🚀 Starting SerpentRace Backend","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:57.788Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"🎉 Server running on port 3000","port":3000,"service":"serpentrace-backend","timestamp":"2025-07-06T19:19:57.799Z","urls":{"api":"http://localhost:3000/api","health":"http://localhost:3000/health","testRoute":"http://localhost:3000/test","testUserCreate":"http://localhost:3000/test-user-create","usersAlt":"http://localhost:3000/users","usersPrimary":"http://localhost:3000/api/user"}}
{"category":"STARTUP","environment":"development","level":"info","message":"MinIO initialized","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:57.806Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Database connected","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:58.113Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Middlewares loaded","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:58.115Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Routes configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:58.116Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"Error handling configured","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:58.116Z"}
{"category":"STARTUP","environment":"development","level":"info","message":"✅ Application ready","service":"serpentrace-backend","timestamp":"2025-07-06T19:19:58.116Z"}
{"category":"API","duration":"86ms","environment":"development","ip":"::1","level":"info","message":"Request: PUT /api/user/update","method":"PUT","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:20:04.766Z","url":"/api/user/update","userId":1}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"PUT","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:20:17.102Z","url":"/api/user/logout","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: PUT /api/user/logout","method":"PUT","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:20:17.102Z","url":"/api/user/logout"}
{"category":"API","duration":"1ms","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/logout","method":"POST","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:20:25.273Z","url":"/api/user/logout","userId":1}
{"category":"API","duration":"61ms","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/authenticate","method":"POST","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:20:52.741Z","url":"/api/user/authenticate"}
{"category":"SECURITY","environment":"development","event":"Route not found","ip":"::1","level":"warn","message":"Security: Route not found","method":"POST","service":"serpentrace-backend","severity":"low","timestamp":"2025-07-06T19:21:00.673Z","url":"/api/user/delete","userAgent":"PostmanRuntime/7.44.1"}
{"category":"API","environment":"development","ip":"::1","level":"info","message":"Request: POST /api/user/delete","method":"POST","service":"serpentrace-backend","statusCode":404,"timestamp":"2025-07-06T19:21:00.673Z","url":"/api/user/delete"}
{"category":"API","duration":"9ms","environment":"development","ip":"::1","level":"info","message":"Request: DELETE /api/user/delete","method":"DELETE","service":"serpentrace-backend","statusCode":200,"timestamp":"2025-07-06T19:21:04.627Z","url":"/api/user/delete","userId":1}
{"category":"SYSTEM","environment":"development","level":"info","message":"Application interrupted via SIGINT","service":"serpentrace-backend","timestamp":"2025-07-07T17:50:53.930Z"}
+1
View File
@@ -0,0 +1 @@
{"category":"ERROR","context":"express","environment":"development","error":"Application error","ip":"::ffff:127.0.0.1","level":"error","message":"Error in express: Application error Expected property name or '}' in JSON at position 5 (line 2 column 3)","method":"GET","service":"serpentrace-backend","timestamp":"2025-07-06T18:57:02.784Z","url":"/users/authenticate"}
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
else
exec node "$basedir/../acorn/bin/acorn" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../fast-xml-parser/src/cli/cli.js" "$@"
else
exec node "$basedir/../fast-xml-parser/src/cli/cli.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\fast-xml-parser\src\cli\cli.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
} else {
& "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../glob/dist/esm/bin.mjs" "$@"
else
exec node "$basedir/../glob/dist/esm/bin.mjs" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\glob\dist\esm\bin.mjs" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
} else {
& "$basedir/node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
} else {
& "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
else
exec node "$basedir/../json5/lib/cli.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
else
exec node "$basedir/../mime/cli.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../mime/cli.js" $args
} else {
& "node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
else
exec node "$basedir/../which/bin/node-which" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nodemon/bin/nodemon.js" "$@"
else
exec node "$basedir/../nodemon/bin/nodemon.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nodemon\bin\nodemon.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
} else {
& "$basedir/node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
} else {
& "node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../touch/bin/nodetouch.js" "$@"
else
exec node "$basedir/../touch/bin/nodetouch.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\touch\bin\nodetouch.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../touch/bin/nodetouch.js" $args
} else {
& "$basedir/node$exe" "$basedir/../touch/bin/nodetouch.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../touch/bin/nodetouch.js" $args
} else {
& "node$exe" "$basedir/../touch/bin/nodetouch.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
else
exec node "$basedir/../semver/bin/semver.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../sha.js/bin.js" "$@"
else
exec node "$basedir/../sha.js/bin.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\sha.js\bin.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../sha.js/bin.js" $args
} else {
& "$basedir/node$exe" "$basedir/../sha.js/bin.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../sha.js/bin.js" $args
} else {
& "node$exe" "$basedir/../sha.js/bin.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin.js" "$@"
fi
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin-cwd.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin-cwd.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-cwd.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-cwd.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin-cwd.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin-cwd.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin-cwd.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin-esm.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin-esm.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-esm.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-esm.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin-esm.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin-esm.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin-esm.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin-script.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin-script.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-script.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin-script.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin-script.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin-transpile.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin-transpile.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-transpile.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin-transpile.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ts-node/dist/bin-script-deprecated.js" "$@"
else
exec node "$basedir/../ts-node/dist/bin-script-deprecated.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ts-node\dist\bin-script-deprecated.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args
} else {
& "$basedir/node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args
} else {
& "node$exe" "$basedir/../ts-node/dist/bin-script-deprecated.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
else
exec node "$basedir/../typescript/bin/tsc" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
} else {
& "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typescript/bin/tsc" $args
} else {
& "node$exe" "$basedir/../typescript/bin/tsc" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
else
exec node "$basedir/../typescript/bin/tsserver" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsserver" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
} else {
& "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args
} else {
& "node$exe" "$basedir/../typescript/bin/tsserver" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typeorm/cli.js" "$@"
else
exec node "$basedir/../typeorm/cli.js" "$@"
fi
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typeorm/cli-ts-node-commonjs.js" "$@"
else
exec node "$basedir/../typeorm/cli-ts-node-commonjs.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typeorm\cli-ts-node-commonjs.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typeorm/cli-ts-node-commonjs.js" $args
} else {
& "$basedir/node$exe" "$basedir/../typeorm/cli-ts-node-commonjs.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typeorm/cli-ts-node-commonjs.js" $args
} else {
& "node$exe" "$basedir/../typeorm/cli-ts-node-commonjs.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typeorm/cli-ts-node-esm.js" "$@"
else
exec node "$basedir/../typeorm/cli-ts-node-esm.js" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typeorm\cli-ts-node-esm.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typeorm/cli-ts-node-esm.js" $args
} else {
& "$basedir/node$exe" "$basedir/../typeorm/cli-ts-node-esm.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typeorm/cli-ts-node-esm.js" $args
} else {
& "node$exe" "$basedir/../typeorm/cli-ts-node-esm.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typeorm\cli.js" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typeorm/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../typeorm/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typeorm/cli.js" $args
} else {
& "node$exe" "$basedir/../typeorm/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../uuid/dist/esm/bin/uuid" "$@"
else
exec node "$basedir/../uuid/dist/esm/bin/uuid" "$@"
fi
+17
View File
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist\esm\bin\uuid" %*
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../uuid/dist/esm/bin/uuid" $args
} else {
& "$basedir/node$exe" "$basedir/../uuid/dist/esm/bin/uuid" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../uuid/dist/esm/bin/uuid" $args
} else {
& "node$exe" "$basedir/../uuid/dist/esm/bin/uuid" $args
}
$ret=$LASTEXITCODE
}
exit $ret
File diff suppressed because it is too large Load Diff
+100
View File
@@ -0,0 +1,100 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16)
### Features
- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b))
# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22)
### Bug Fixes
- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c))
### Features
- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699)
# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13)
**Note:** Version bump only for package @aws-crypto/crc32
# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20)
**Note:** Version bump only for package @aws-crypto/crc32
# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12)
- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492)
### BREAKING CHANGES
- All classes that implemented `Hash` now implement `Checksum`.
## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
### Bug Fixes
- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
**Note:** Version bump only for package @aws-crypto/crc32
# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
**Note:** Version bump only for package @aws-crypto/crc32
## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
### Bug Fixes
- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60))
## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
**Note:** Version bump only for package @aws-crypto/crc32
# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
### Features
- Add AwsCrc32 Hash ([f5d7e81](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/f5d7e815fcbe0f8da1edb855fea3bd33eb1edc15))
# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0...@aws-crypto/crc32@1.1.0) (2021-08-11)
### Features
- Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6))
# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0-alpha.0...@aws-crypto/crc32@1.0.0) (2020-10-22)
**Note:** Version bump only for package @aws-crypto/crc32
# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.4...@aws-crypto/crc32@1.0.0-alpha.0) (2020-02-07)
**Note:** Version bump only for package @aws-crypto/crc32
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.4) (2020-01-16)
### Bug Fixes
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.3) (2019-11-15)
### Bug Fixes
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.1...@aws-crypto/crc32@0.1.0-preview.2) (2019-10-30)
### Bug Fixes
- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056))
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+16
View File
@@ -0,0 +1,16 @@
# @aws-crypto/crc32
Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check
## Usage
```
import { Crc32 } from '@aws-crypto/crc32';
const crc32Digest = (new Crc32).update(buffer).digest()
```
## Test
`npm test`
@@ -0,0 +1,7 @@
import { SourceData, Checksum } from "@aws-sdk/types";
export declare class AwsCrc32 implements Checksum {
private crc32;
update(toHash: SourceData): void;
digest(): Promise<Uint8Array>;
reset(): void;
}
@@ -0,0 +1,31 @@
"use strict";
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.AwsCrc32 = void 0;
var tslib_1 = require("tslib");
var util_1 = require("@aws-crypto/util");
var index_1 = require("./index");
var AwsCrc32 = /** @class */ (function () {
function AwsCrc32() {
this.crc32 = new index_1.Crc32();
}
AwsCrc32.prototype.update = function (toHash) {
if ((0, util_1.isEmptyData)(toHash))
return;
this.crc32.update((0, util_1.convertToBuffer)(toHash));
};
AwsCrc32.prototype.digest = function () {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
return [2 /*return*/, (0, util_1.numToUint8)(this.crc32.digest())];
});
});
};
AwsCrc32.prototype.reset = function () {
this.crc32 = new index_1.Crc32();
};
return AwsCrc32;
}());
exports.AwsCrc32 = AwsCrc32;
//# sourceMappingURL=aws_crc32.js.map
@@ -0,0 +1 @@
{"version":3,"file":"aws_crc32.js","sourceRoot":"","sources":["../../src/aws_crc32.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;;AAGtC,yCAA4E;AAC5E,iCAAgC;AAEhC;IAAA;QACU,UAAK,GAAG,IAAI,aAAK,EAAE,CAAC;IAe9B,CAAC;IAbC,yBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEK,yBAAM,GAAZ;;;gBACE,sBAAO,IAAA,iBAAU,EAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACxC;IAED,wBAAK,GAAL;QACE,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;IAC3B,CAAC;IACH,eAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,4BAAQ"}
@@ -0,0 +1,7 @@
export declare function crc32(data: Uint8Array): number;
export declare class Crc32 {
private checksum;
update(data: Uint8Array): this;
digest(): number;
}
export { AwsCrc32 } from "./aws_crc32";
+108
View File
@@ -0,0 +1,108 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;
var tslib_1 = require("tslib");
var util_1 = require("@aws-crypto/util");
function crc32(data) {
return new Crc32().update(data).digest();
}
exports.crc32 = crc32;
var Crc32 = /** @class */ (function () {
function Crc32() {
this.checksum = 0xffffffff;
}
Crc32.prototype.update = function (data) {
var e_1, _a;
try {
for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
var byte = data_1_1.value;
this.checksum =
(this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);
}
finally { if (e_1) throw e_1.error; }
}
return this;
};
Crc32.prototype.digest = function () {
return (this.checksum ^ 0xffffffff) >>> 0;
};
return Crc32;
}());
exports.Crc32 = Crc32;
// prettier-ignore
var a_lookUpTable = [
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
];
var lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable);
var aws_crc32_1 = require("./aws_crc32");
Object.defineProperty(exports, "AwsCrc32", { enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } });
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,yCAAiD;AAEjD,SAAgB,KAAK,CAAC,IAAgB;IACpC,OAAO,IAAI,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,CAAC;AAFD,sBAEC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,sBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,iBAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,sBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,YAAC;AAAD,CAAC,AAfD,IAeC;AAfY,sBAAK;AAiBlB,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/C,CAAC;AACF,IAAM,WAAW,GAAgB,IAAA,sBAAe,EAAC,aAAa,CAAC,CAAA;AAC/D,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA"}
@@ -0,0 +1,7 @@
import { SourceData, Checksum } from "@aws-sdk/types";
export declare class AwsCrc32 implements Checksum {
private crc32;
update(toHash: SourceData): void;
digest(): Promise<Uint8Array>;
reset(): void;
}
@@ -0,0 +1,28 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { __awaiter, __generator } from "tslib";
import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util";
import { Crc32 } from "./index";
var AwsCrc32 = /** @class */ (function () {
function AwsCrc32() {
this.crc32 = new Crc32();
}
AwsCrc32.prototype.update = function (toHash) {
if (isEmptyData(toHash))
return;
this.crc32.update(convertToBuffer(toHash));
};
AwsCrc32.prototype.digest = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, numToUint8(this.crc32.digest())];
});
});
};
AwsCrc32.prototype.reset = function () {
this.crc32 = new Crc32();
};
return AwsCrc32;
}());
export { AwsCrc32 };
//# sourceMappingURL=aws_crc32.js.map
@@ -0,0 +1 @@
{"version":3,"file":"aws_crc32.js","sourceRoot":"","sources":["../../src/aws_crc32.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;;AAGtC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;IAAA;QACU,UAAK,GAAG,IAAI,KAAK,EAAE,CAAC;IAe9B,CAAC;IAbC,yBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,WAAW,CAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEK,yBAAM,GAAZ;;;gBACE,sBAAO,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACxC;IAED,wBAAK,GAAL;QACE,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;IAC3B,CAAC;IACH,eAAC;AAAD,CAAC,AAhBD,IAgBC"}
@@ -0,0 +1,7 @@
export declare function crc32(data: Uint8Array): number;
export declare class Crc32 {
private checksum;
update(data: Uint8Array): this;
digest(): number;
}
export { AwsCrc32 } from "./aws_crc32";
@@ -0,0 +1,103 @@
import { __values } from "tslib";
import { uint32ArrayFrom } from "@aws-crypto/util";
export function crc32(data) {
return new Crc32().update(data).digest();
}
var Crc32 = /** @class */ (function () {
function Crc32() {
this.checksum = 0xffffffff;
}
Crc32.prototype.update = function (data) {
var e_1, _a;
try {
for (var data_1 = __values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
var byte = data_1_1.value;
this.checksum =
(this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);
}
finally { if (e_1) throw e_1.error; }
}
return this;
};
Crc32.prototype.digest = function () {
return (this.checksum ^ 0xffffffff) >>> 0;
};
return Crc32;
}());
export { Crc32 };
// prettier-ignore
var a_lookUpTable = [
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
];
var lookupTable = uint32ArrayFrom(a_lookUpTable);
export { AwsCrc32 } from "./aws_crc32";
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,MAAM,UAAU,KAAK,CAAC,IAAgB;IACpC,OAAO,IAAI,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,CAAC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,sBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,SAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,sBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,YAAC;AAAD,CAAC,AAfD,IAeC;;AAED,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/C,CAAC;AACF,IAAM,WAAW,GAAgB,eAAe,CAAC,aAAa,CAAC,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
+32
View File
@@ -0,0 +1,32 @@
{
"name": "@aws-crypto/crc32",
"version": "5.2.0",
"scripts": {
"prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json",
"pretest": "tsc -p tsconfig.test.json",
"test": "mocha --require ts-node/register test/**/*test.ts"
},
"main": "./build/main/index.js",
"module": "./build/module/index.js",
"types": "./build/main/index.d.ts",
"repository": {
"type": "git",
"url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git"
},
"author": {
"name": "AWS Crypto Tools Team",
"email": "aws-cryptools@amazon.com",
"url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"
},
"homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/crc32",
"license": "Apache-2.0",
"dependencies": {
"@aws-crypto/util": "^5.2.0",
"@aws-sdk/types": "^3.222.0",
"tslib": "^2.6.2"
},
"engines": {
"node": ">=16.0.0"
},
"gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748"
}
+24
View File
@@ -0,0 +1,24 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { SourceData, Checksum } from "@aws-sdk/types";
import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util";
import { Crc32 } from "./index";
export class AwsCrc32 implements Checksum {
private crc32 = new Crc32();
update(toHash: SourceData) {
if (isEmptyData(toHash)) return;
this.crc32.update(convertToBuffer(toHash));
}
async digest(): Promise<Uint8Array> {
return numToUint8(this.crc32.digest());
}
reset(): void {
this.crc32 = new Crc32();
}
}
+92
View File
@@ -0,0 +1,92 @@
import {uint32ArrayFrom} from "@aws-crypto/util";
export function crc32(data: Uint8Array): number {
return new Crc32().update(data).digest();
}
export class Crc32 {
private checksum = 0xffffffff;
update(data: Uint8Array): this {
for (const byte of data) {
this.checksum =
(this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];
}
return this;
}
digest(): number {
return (this.checksum ^ 0xffffffff) >>> 0;
}
}
// prettier-ignore
const a_lookUpTable = [
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
];
const lookupTable: Uint32Array = uint32ArrayFrom(a_lookUpTable)
export { AwsCrc32 } from "./aws_crc32";
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./build/main",
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules/**"]
}
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"outDir": "build/module",
"module": "esnext",
}
}
+76
View File
@@ -0,0 +1,76 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16)
### Features
- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b))
# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22)
### Bug Fixes
- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c))
### Features
- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699)
# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13)
**Note:** Version bump only for package @aws-crypto/crc32c
# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20)
**Note:** Version bump only for package @aws-crypto/crc32c
# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12)
- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492)
### BREAKING CHANGES
- All classes that implemented `Hash` now implement `Checksum`.
## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
### Bug Fixes
- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
**Note:** Version bump only for package @aws-crypto/crc32c
# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
**Note:** Version bump only for package @aws-crypto/crc32c
## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
### Bug Fixes
- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60))
## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
**Note:** Version bump only for package @aws-crypto/crc32c
# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
### Features
- Add AwsCrc32C Hash ([4840c83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/4840c83bdd7c461dded777ebc45a8f99258ba21c))
## [0.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32c@0.2.0...@aws-crypto/crc32c@0.2.1) (2021-08-24)
**Note:** Version bump only for package @aws-crypto/crc32c
# 0.2.0 (2021-08-11)
### Features
- Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6))
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+16
View File
@@ -0,0 +1,16 @@
# @aws-crypto/crc32c
Pure JS implementation of CRC32-C https://en.wikipedia.org/wiki/Cyclic_redundancy_check
## Usage
```
import { Crc32c } from '@aws-crypto/crc32c';
const crc32Digest = (new Crc32c).update(buffer).digest()
```
## Test
`npm test`

Some files were not shown because too many files have changed in this diff Show More