diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index f2327c8..8f3898f 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/package.json b/package.json index e5143a2..730ffa8 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,8 @@ "dependencies": { "@nuxt/kit": "^3.6.1", "@vuestic/nuxt": "^1.0.14", - "pg": "^8.11.1", - "pg-hstore": "^2.3.4", - "sequelize": "^6.32.1" + "sequelize": "^6.32.1", + "sqlite3": "^5.1.6" }, "packageManager": "yarn@3.6.0" } diff --git a/server/db/sequelize.ts b/server/db/sequelize.ts index c63d9eb..1488a0e 100644 --- a/server/db/sequelize.ts +++ b/server/db/sequelize.ts @@ -1,4 +1,3 @@ -import * as pg from "pg"; import { CreationOptional, DataTypes, @@ -10,11 +9,10 @@ import { Sequelize, } from "sequelize"; -console.log(Object.keys(pg.default)); -console.log(pg.default); -const sequelize = new Sequelize(process.env.POSTGRES_URL ? process.env.POSTGRES_URL + "?sslmode=require" : "postgres://vshacks2023:crabland2@localhost:5432/vshacks2023", { +const sequelize = new Sequelize({ + dialect: "sqlite", + storage: "./.db/data.sqlite", logging: false, - dialectModule: pg.default, }); sequelize.authenticate(); export interface UserModel extends Model, InferCreationAttributes> { @@ -35,7 +33,7 @@ export const User = sequelize.define( allowNull: false, }, }, - { freezeTableName: true } + {} ); export interface TeacherModel extends Model, InferCreationAttributes> { id: CreationOptional; @@ -65,7 +63,7 @@ export const Teacher = sequelize.define( allowNull: false, }, }, - { freezeTableName: true } + {} ); export interface CourseModel extends Model, InferCreationAttributes> { id: string; @@ -88,7 +86,7 @@ export const Course = sequelize.define( allowNull: false, }, description: { - type: DataTypes.TEXT, + type: DataTypes.STRING, allowNull: false, }, image: { @@ -101,7 +99,7 @@ export const Course = sequelize.define( type: DataTypes.INTEGER, }, }, - { freezeTableName: true } + {} ); Course.belongsTo(Teacher); @@ -114,39 +112,35 @@ export interface UserCourseModel extends Model, courseId: ForeignKey; } -export const UserCourse = sequelize.define( - "usercourse", - { - id: { - type: DataTypes.INTEGER, - autoIncrement: true, - primaryKey: true, - }, - semester: { - type: DataTypes.INTEGER, - allowNull: false, - }, - block: { - type: DataTypes.INTEGER, - allowNull: false, - }, - userId: { - type: DataTypes.INTEGER, - references: { - model: User, - key: "id", - }, +export const UserCourse = sequelize.define("usercourse", { + id: { + type: DataTypes.INTEGER, + autoIncrement: true, + primaryKey: true, + }, + semester: { + type: DataTypes.INTEGER, + allowNull: false, + }, + block: { + type: DataTypes.INTEGER, + allowNull: false, + }, + userId: { + type: DataTypes.INTEGER, + references: { + model: User, + key: "id", }, - courseId: { - type: DataTypes.STRING, - references: { - model: Course, - key: "id", - }, + }, + courseId: { + type: DataTypes.STRING, + references: { + model: Course, + key: "id", }, }, - { freezeTableName: true } -); +}); Course.hasMany(UserCourse); UserCourse.belongsTo(Course); @@ -189,7 +183,7 @@ export const Assignment = sequelize.define( type: DataTypes.INTEGER, }, }, - { freezeTableName: true } + {} ); Assignment.belongsTo(User); Assignment.belongsTo(Course); @@ -324,36 +318,32 @@ sequelize.sync({ force: true }).then(async x => { name: "Composition 10", room: 2033, teacher: "Mr. Smith", - description: - "Composition 10 is designed to support students in their development of written communication through a critical process of questioning, exploring, and sampling. Within a supportive community of writers, students will work individually and collaboratively to explore and create coherent, purposeful compositions. Students will read and study compositions by other writers and consider a variety of styles as models for the development of their writing.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Austria_-_G%C3%B6ttweig_Abbey_-_2015.jpg/640px-Austria_-_G%C3%B6ttweig_Abbey_-_2015.jpg", + description: "Composition 10 is designed to support students in their development of written communication through a critical process of questioning, exploring, and sampling. Within a supportive community of writers, students will work individually and collaboratively to explore and create coherent, purposeful compositions. Students will read and study compositions by other writers and consider a variety of styles as models for the development of their writing.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Austria_-_G%C3%B6ttweig_Abbey_-_2015.jpg/640px-Austria_-_G%C3%B6ttweig_Abbey_-_2015.jpg" }, { id: "GEFA-7676", name: "Precalculus 10", room: 1144, teacher: "Ms. Kinley", - description: - "Through ten distinct units, students explore principles of algebra, geometry, and trigonometry and reinforce skills introduced in prior grades.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/L%C3%BCbeck%2C_Wissenschaftspfad%2C_Abakus_--_2017_--_0372.jpg/640px-L%C3%BCbeck%2C_Wissenschaftspfad%2C_Abakus_--_2017_--_0372.jpg", + description: "Through ten distinct units, students explore principles of algebra, geometry, and trigonometry and reinforce skills introduced in prior grades.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/L%C3%BCbeck%2C_Wissenschaftspfad%2C_Abakus_--_2017_--_0372.jpg/640px-L%C3%BCbeck%2C_Wissenschaftspfad%2C_Abakus_--_2017_--_0372.jpg" }, { id: "FMNE-4443", name: "CLE 10", room: 3322, teacher: "Ms. Roberts", - description: - "Today’s graduates must be able to adapt to ongoing change in many aspects of their lives. Purposeful career-life development, in which students learn how to set personally meaningful goals, recognize and cultivate relevant opportunities and supportive relationships, and continually re-evaluate and revise their plans, is a necessity for educated citizens in an ever-changing world.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Architecture_Classroom_in_the_Carnegie_Mellon_College_of_Fine_Arts.jpg/640px-Architecture_Classroom_in_the_Carnegie_Mellon_College_of_Fine_Arts.jpg", + description: "Today’s graduates must be able to adapt to ongoing change in many aspects of their lives. Purposeful career-life development, in which students learn how to set personally meaningful goals, recognize and cultivate relevant opportunities and supportive relationships, and continually re-evaluate and revise their plans, is a necessity for educated citizens in an ever-changing world.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Architecture_Classroom_in_the_Carnegie_Mellon_College_of_Fine_Arts.jpg/640px-Architecture_Classroom_in_the_Carnegie_Mellon_College_of_Fine_Arts.jpg" }, { id: "FAFJ-3423", name: "Science 10", room: 2123, teacher: "Ms. Mann", - description: - "Science 10 is designed to support students in their development of scientific literacy. Students will study a variety of topics that address the big ideas of science. They will develop their scientific inquiry skills as they explore the relationships between science, technology, society, and the environment, and become aware of how science-related careers and research affect their lives.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Openluchtmuseum_Arnhem_-_Laboratorium_Zuivelfabriek_Freia.jpg/639px-Openluchtmuseum_Arnhem_-_Laboratorium_Zuivelfabriek_Freia.jpg", + description: "Science 10 is designed to support students in their development of scientific literacy. Students will study a variety of topics that address the big ideas of science. They will develop their scientific inquiry skills as they explore the relationships between science, technology, society, and the environment, and become aware of how science-related careers and research affect their lives.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Openluchtmuseum_Arnhem_-_Laboratorium_Zuivelfabriek_Freia.jpg/639px-Openluchtmuseum_Arnhem_-_Laboratorium_Zuivelfabriek_Freia.jpg" }, ].map(async (x, i) => { const ph = Math.tan(x.teacher.charCodeAt(4)) + Math.tan(x.teacher.charCodeAt(5)); @@ -373,7 +363,7 @@ sequelize.sync({ force: true }).then(async x => { room: x.room, teacherId: teacher.id, description: x.description, - image: x.image, + image: x.image }) )[0]; }) @@ -385,7 +375,7 @@ sequelize.sync({ force: true }).then(async x => { courseId: x.id, userId: user.id, semester: 1, - block: i + 1, + block: i + 1 }); }) ); @@ -396,28 +386,25 @@ sequelize.sync({ force: true }).then(async x => { name: "Intermediate Band 10", room: 3000, teacher: "Mr. Wilson", - description: - "This course is designed to provide students with the opportunity to develop their musical skills through the study and performance of a variety of band music. Students will develop their technical skills, rhythmic skills, and musicality through the study of scales, technical exercises, and band repertoire. Students will also develop their ability to work collaboratively with others as they rehearse and perform with the band.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Israel_Philharmonic_Orchestra.jpg/640px-Israel_Philharmonic_Orchestra.jpg", + description: "This course is designed to provide students with the opportunity to develop their musical skills through the study and performance of a variety of band music. Students will develop their technical skills, rhythmic skills, and musicality through the study of scales, technical exercises, and band repertoire. Students will also develop their ability to work collaboratively with others as they rehearse and perform with the band.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Israel_Philharmonic_Orchestra.jpg/640px-Israel_Philharmonic_Orchestra.jpg" }, { id: "EKFE-7354", name: "Woodworking 10", room: 3322, teacher: "Ms. Reid", - description: - "Woodworking 10 provides students with the opportunity to develop their woodworking skills through the study and construction of a variety of projects. Students will develop their technical skills, safety skills, and creativity through the study of woodworking techniques and the construction of projects. Students will also develop their ability to work collaboratively with others as they work in the shop.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Puy_du_Fou.-_La_Cit%C3%A9_M%C3%A9di%C3%A9vale_%281%29.JPG/640px-Puy_du_Fou.-_La_Cit%C3%A9_M%C3%A9di%C3%A9vale_%281%29.JPG", + description: "Woodworking 10 provides students with the opportunity to develop their woodworking skills through the study and construction of a variety of projects. Students will develop their technical skills, safety skills, and creativity through the study of woodworking techniques and the construction of projects. Students will also develop their ability to work collaboratively with others as they work in the shop.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Puy_du_Fou.-_La_Cit%C3%A9_M%C3%A9di%C3%A9vale_%281%29.JPG/640px-Puy_du_Fou.-_La_Cit%C3%A9_M%C3%A9di%C3%A9vale_%281%29.JPG" }, { id: "DFAA-6765", name: "Computer Science 10", room: 2003, teacher: "Mr. Figgs", - description: - "Computer Science 10 is designed to provide students with the opportunity to develop their computational thinking skills through the study of computer science. Students will develop their ability to solve problems, design algorithms, write programs, and complete programming projects, using a variety of programming languages. Students will also develop their ability to work collaboratively with others as they develop and present their projects.", - image: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/CERN_Server_03.jpg/640px-CERN_Server_03.jpg", - }, + description: "Computer Science 10 is designed to provide students with the opportunity to develop their computational thinking skills through the study of computer science. Students will develop their ability to solve problems, design algorithms, write programs, and complete programming projects, using a variety of programming languages. Students will also develop their ability to work collaboratively with others as they develop and present their projects.", + image: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/CERN_Server_03.jpg/640px-CERN_Server_03.jpg" + } ].map(async (x, i) => { const ph = Math.tan(x.teacher.charCodeAt(4)) + Math.tan(x.teacher.charCodeAt(5)); const phone = ((ph < 100000000 ? ph * 100000000 : ph) % 10000000000).toString(); @@ -436,7 +423,7 @@ sequelize.sync({ force: true }).then(async x => { room: x.room, teacherId: teacher.id, description: x.description, - image: x.image, + image: x.image }) )[0]; }) @@ -448,8 +435,8 @@ sequelize.sync({ force: true }).then(async x => { courseId: x.id, userId: user.id, semester: 2, - block: i === 2 ? 4 : i + 1, + block: i === 2 ? 4 : i + 1 }); }) ); -}); \ No newline at end of file +}); diff --git a/yarn.lock b/yarn.lock index 89136c3..eb18f03 100644 --- a/yarn.lock +++ b/yarn.lock @@ -752,6 +752,13 @@ __metadata: languageName: node linkType: hard +"@gar/promisify@npm:^1.0.1": + version: 1.1.3 + resolution: "@gar/promisify@npm:1.1.3" + checksum: 4059f790e2d07bf3c3ff3e0fec0daa8144fe35c1f6e0111c9921bd32106adaa97a4ab096ad7dab1e28ee6a9060083c4d1a4ada42a7f5f3f7a96b8812e2b757c1 + languageName: node + linkType: hard + "@hapi/hoek@npm:^9.0.0": version: 9.3.0 resolution: "@hapi/hoek@npm:9.3.0" @@ -848,7 +855,7 @@ __metadata: languageName: node linkType: hard -"@mapbox/node-pre-gyp@npm:^1.0.5": +"@mapbox/node-pre-gyp@npm:^1.0.0, @mapbox/node-pre-gyp@npm:^1.0.5": version: 1.0.10 resolution: "@mapbox/node-pre-gyp@npm:1.0.10" dependencies: @@ -903,6 +910,16 @@ __metadata: languageName: node linkType: hard +"@npmcli/fs@npm:^1.0.0": + version: 1.1.1 + resolution: "@npmcli/fs@npm:1.1.1" + dependencies: + "@gar/promisify": ^1.0.1 + semver: ^7.3.5 + checksum: f5ad92f157ed222e4e31c352333d0901df02c7c04311e42a81d8eb555d4ec4276ea9c635011757de20cc476755af33e91622838de573b17e52e2e7703f0a9965 + languageName: node + linkType: hard + "@npmcli/fs@npm:^3.1.0": version: 3.1.0 resolution: "@npmcli/fs@npm:3.1.0" @@ -940,6 +957,16 @@ __metadata: languageName: node linkType: hard +"@npmcli/move-file@npm:^1.0.1": + version: 1.1.2 + resolution: "@npmcli/move-file@npm:1.1.2" + dependencies: + mkdirp: ^1.0.4 + rimraf: ^3.0.2 + checksum: c96381d4a37448ea280951e46233f7e541058cf57a57d4094dd4bdcaae43fa5872b5f2eb6bfb004591a68e29c5877abe3cdc210cb3588cbf20ab2877f31a7de7 + languageName: node + linkType: hard + "@npmcli/node-gyp@npm:^3.0.0": version: 3.0.0 resolution: "@npmcli/node-gyp@npm:3.0.0" @@ -1387,6 +1414,13 @@ __metadata: languageName: node linkType: hard +"@tootallnate/once@npm:1": + version: 1.1.2 + resolution: "@tootallnate/once@npm:1.1.2" + checksum: e1fb1bbbc12089a0cb9433dc290f97bddd062deadb6178ce9bcb93bb7c1aecde5e60184bc7065aec42fe1663622a213493c48bbd4972d931aae48315f18e1be9 + languageName: node + linkType: hard + "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -1787,7 +1821,7 @@ __metadata: languageName: node linkType: hard -"agentkeepalive@npm:^4.2.1": +"agentkeepalive@npm:^4.1.3, agentkeepalive@npm:^4.2.1": version: 4.3.0 resolution: "agentkeepalive@npm:4.3.0" dependencies: @@ -2231,13 +2265,6 @@ __metadata: languageName: node linkType: hard -"buffer-writer@npm:2.0.0": - version: 2.0.0 - resolution: "buffer-writer@npm:2.0.0" - checksum: 11736b48bb75106c52ca8ec9f025e7c1b3b25ce31875f469d7210eabd5c576c329e34f6b805d4a8d605ff3f0db1e16342328802c4c963e9c826b0e43a4e631c2 - languageName: node - linkType: hard - "buffer@npm:^5.2.1, buffer@npm:^5.5.0": version: 5.7.1 resolution: "buffer@npm:5.7.1" @@ -2308,6 +2335,32 @@ __metadata: languageName: node linkType: hard +"cacache@npm:^15.2.0": + version: 15.3.0 + resolution: "cacache@npm:15.3.0" + dependencies: + "@npmcli/fs": ^1.0.0 + "@npmcli/move-file": ^1.0.1 + chownr: ^2.0.0 + fs-minipass: ^2.0.0 + glob: ^7.1.4 + infer-owner: ^1.0.4 + lru-cache: ^6.0.0 + minipass: ^3.1.1 + minipass-collect: ^1.0.2 + minipass-flush: ^1.0.5 + minipass-pipeline: ^1.2.2 + mkdirp: ^1.0.3 + p-map: ^4.0.0 + promise-inflight: ^1.0.1 + rimraf: ^3.0.2 + ssri: ^8.0.1 + tar: ^6.0.2 + unique-filename: ^1.1.1 + checksum: a07327c27a4152c04eb0a831c63c00390d90f94d51bb80624a66f4e14a6b6360bbf02a84421267bd4d00ca73ac9773287d8d7169e8d2eafe378d2ce140579db8 + languageName: node + linkType: hard + "cacache@npm:^17.0.0": version: 17.1.3 resolution: "cacache@npm:17.1.3" @@ -3213,7 +3266,7 @@ __metadata: languageName: node linkType: hard -"encoding@npm:^0.1.13": +"encoding@npm:^0.1.12, encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" dependencies: @@ -4187,7 +4240,7 @@ __metadata: languageName: node linkType: hard -"http-cache-semantics@npm:^4.1.1": +"http-cache-semantics@npm:^4.1.0, http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: 83ac0bc60b17a3a36f9953e7be55e5c8f41acc61b22583060e8dedc9dd5e3607c823a88d0926f9150e571f90946835c7fe150732801010845c72cd8bbff1a236 @@ -4216,6 +4269,17 @@ __metadata: languageName: node linkType: hard +"http-proxy-agent@npm:^4.0.1": + version: 4.0.1 + resolution: "http-proxy-agent@npm:4.0.1" + dependencies: + "@tootallnate/once": 1 + agent-base: 6 + debug: 4 + checksum: c6a5da5a1929416b6bbdf77b1aca13888013fe7eb9d59fc292e25d18e041bb154a8dfada58e223fc7b76b9b2d155a87e92e608235201f77d34aa258707963a82 + languageName: node + linkType: hard + "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -4357,6 +4421,13 @@ __metadata: languageName: node linkType: hard +"infer-owner@npm:^1.0.4": + version: 1.0.4 + resolution: "infer-owner@npm:1.0.4" + checksum: 181e732764e4a0611576466b4b87dac338972b839920b2a8cde43642e4ed6bd54dc1fb0b40874728f2a2df9a1b097b8ff83b56d5f8f8e3927f837fdcb47d8a89 + languageName: node + linkType: hard + "inflection@npm:^1.13.4": version: 1.13.4 resolution: "inflection@npm:1.13.4" @@ -5106,6 +5177,30 @@ __metadata: languageName: node linkType: hard +"make-fetch-happen@npm:^9.1.0": + version: 9.1.0 + resolution: "make-fetch-happen@npm:9.1.0" + dependencies: + agentkeepalive: ^4.1.3 + cacache: ^15.2.0 + http-cache-semantics: ^4.1.0 + http-proxy-agent: ^4.0.1 + https-proxy-agent: ^5.0.0 + is-lambda: ^1.0.1 + lru-cache: ^6.0.0 + minipass: ^3.1.3 + minipass-collect: ^1.0.2 + minipass-fetch: ^1.3.2 + minipass-flush: ^1.0.5 + minipass-pipeline: ^1.2.4 + negotiator: ^0.6.2 + promise-retry: ^2.0.1 + socks-proxy-agent: ^6.0.0 + ssri: ^8.0.0 + checksum: 0eb371c85fdd0b1584fcfdf3dc3c62395761b3c14658be02620c310305a9a7ecf1617a5e6fb30c1d081c5c8aaf177fa133ee225024313afabb7aa6a10f1e3d04 + languageName: node + linkType: hard + "mdn-data@npm:2.0.28": version: 2.0.28 resolution: "mdn-data@npm:2.0.28" @@ -5263,6 +5358,21 @@ __metadata: languageName: node linkType: hard +"minipass-fetch@npm:^1.3.2": + version: 1.4.1 + resolution: "minipass-fetch@npm:1.4.1" + dependencies: + encoding: ^0.1.12 + minipass: ^3.1.0 + minipass-sized: ^1.0.3 + minizlib: ^2.0.0 + dependenciesMeta: + encoding: + optional: true + checksum: ec93697bdb62129c4e6c0104138e681e30efef8c15d9429dd172f776f83898471bc76521b539ff913248cc2aa6d2b37b652c993504a51cc53282563640f29216 + languageName: node + linkType: hard + "minipass-fetch@npm:^3.0.0": version: 3.0.3 resolution: "minipass-fetch@npm:3.0.3" @@ -5297,7 +5407,7 @@ __metadata: languageName: node linkType: hard -"minipass-pipeline@npm:^1.2.4": +"minipass-pipeline@npm:^1.2.2, minipass-pipeline@npm:^1.2.4": version: 1.2.4 resolution: "minipass-pipeline@npm:1.2.4" dependencies: @@ -5315,7 +5425,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^3.0.0": +"minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3": version: 3.3.6 resolution: "minipass@npm:3.3.6" dependencies: @@ -5338,7 +5448,7 @@ __metadata: languageName: node linkType: hard -"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": +"minizlib@npm:^2.0.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" dependencies: @@ -5348,7 +5458,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3": +"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -5445,7 +5555,7 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:^0.6.3": +"negotiator@npm:^0.6.2, negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 @@ -5527,6 +5637,15 @@ __metadata: languageName: node linkType: hard +"node-addon-api@npm:^4.2.0": + version: 4.3.0 + resolution: "node-addon-api@npm:4.3.0" + dependencies: + node-gyp: latest + checksum: 3de396e23cc209f539c704583e8e99c148850226f6e389a641b92e8967953713228109f919765abc1f4355e801e8f41842f96210b8d61c7dcc10a477002dcf00 + languageName: node + linkType: hard + "node-domexception@npm:^1.0.0": version: 1.0.0 resolution: "node-domexception@npm:1.0.0" @@ -5584,6 +5703,26 @@ __metadata: languageName: node linkType: hard +"node-gyp@npm:8.x": + version: 8.4.1 + resolution: "node-gyp@npm:8.4.1" + dependencies: + env-paths: ^2.2.0 + glob: ^7.1.4 + graceful-fs: ^4.2.6 + make-fetch-happen: ^9.1.0 + nopt: ^5.0.0 + npmlog: ^6.0.0 + rimraf: ^3.0.2 + semver: ^7.3.5 + tar: ^6.1.2 + which: ^2.0.2 + bin: + node-gyp: bin/node-gyp.js + checksum: 341710b5da39d3660e6a886b37e210d33f8282047405c2e62c277bcc744c7552c5b8b972ebc3a7d5c2813794e60cc48c3ebd142c46d6e0321db4db6c92dd0355 + languageName: node + linkType: hard + "node-gyp@npm:^9.0.0, node-gyp@npm:latest": version: 9.4.0 resolution: "node-gyp@npm:9.4.0" @@ -5807,11 +5946,10 @@ __metadata: "@types/node": ^20.3.1 "@vuestic/nuxt": ^1.0.14 nuxt: ^3.6.0 - pg: ^8.11.1 - pg-hstore: ^2.3.4 sass: ^1.63.6 scss-reset: ^1.4.2 sequelize: ^6.32.1 + sqlite3: ^5.1.6 typescript: latest languageName: unknown linkType: soft @@ -6044,13 +6182,6 @@ __metadata: languageName: node linkType: hard -"packet-reader@npm:1.0.0": - version: 1.0.0 - resolution: "packet-reader@npm:1.0.0" - checksum: 0b7516f0cbf3e322aad591bed29ba544220088c53943145c0d9121a6f59182ad811f7fd6785a8979a34356aca69d97653689029964c5998dc02645633d88ffd7 - languageName: node - linkType: hard - "pacote@npm:^15.2.0": version: 15.2.0 resolution: "pacote@npm:15.2.0" @@ -6187,98 +6318,13 @@ __metadata: languageName: node linkType: hard -"pg-cloudflare@npm:^1.1.1": - version: 1.1.1 - resolution: "pg-cloudflare@npm:1.1.1" - checksum: 32aac06b5dc4588bbf78801b6267781bc7e13be672009df949d08e9627ba9fdc26924916665d4de99d47f9b0495301930547488dad889d826856976c7b3f3731 - languageName: node - linkType: hard - -"pg-connection-string@npm:^2.6.0, pg-connection-string@npm:^2.6.1": +"pg-connection-string@npm:^2.6.0": version: 2.6.1 resolution: "pg-connection-string@npm:2.6.1" checksum: 882344a47e1ecf3a91383e0809bf2ac48facea97fcec0358d6e060e1cbcb8737acde419b4c86f05da4ce4a16634ee50fff1d2bb787d73b52ccbfde697243ad8a languageName: node linkType: hard -"pg-hstore@npm:^2.3.4": - version: 2.3.4 - resolution: "pg-hstore@npm:2.3.4" - dependencies: - underscore: ^1.13.1 - checksum: bb370d1086f2a726b40e892e03677f4d37cd9ec8e8a00d64cb32be422f1487badb20268894aca8683879ed4d96c556502a00c5da28aca88d01098bf61606c7c9 - languageName: node - linkType: hard - -"pg-int8@npm:1.0.1": - version: 1.0.1 - resolution: "pg-int8@npm:1.0.1" - checksum: a1e3a05a69005ddb73e5f324b6b4e689868a447c5fa280b44cd4d04e6916a344ac289e0b8d2695d66e8e89a7fba023affb9e0e94778770ada5df43f003d664c9 - languageName: node - linkType: hard - -"pg-pool@npm:^3.6.1": - version: 3.6.1 - resolution: "pg-pool@npm:3.6.1" - peerDependencies: - pg: ">=8.0" - checksum: 8a6513e6f74a794708c9dd16d2ccda0debadc56435ec2582de2b2e35b01315550c5dab8a0a9a2a16f4adce45523228f5739940fb7687ec7e9c300f284eb08fd1 - languageName: node - linkType: hard - -"pg-protocol@npm:^1.6.0": - version: 1.6.0 - resolution: "pg-protocol@npm:1.6.0" - checksum: e12662d2de2011e0c3a03f6a09f435beb1025acdc860f181f18a600a5495dc38a69d753bbde1ace279c8c442536af9c1a7c11e1d0fe3fad3aa1348b28d9d2683 - languageName: node - linkType: hard - -"pg-types@npm:^2.1.0": - version: 2.2.0 - resolution: "pg-types@npm:2.2.0" - dependencies: - pg-int8: 1.0.1 - postgres-array: ~2.0.0 - postgres-bytea: ~1.0.0 - postgres-date: ~1.0.4 - postgres-interval: ^1.1.0 - checksum: bf4ec3f594743442857fb3a8dfe5d2478a04c98f96a0a47365014557cbc0b4b0cee01462c79adca863b93befbf88f876299b75b72c665b5fb84a2c94fbd10316 - languageName: node - linkType: hard - -"pg@npm:^8.11.1": - version: 8.11.1 - resolution: "pg@npm:8.11.1" - dependencies: - buffer-writer: 2.0.0 - packet-reader: 1.0.0 - pg-cloudflare: ^1.1.1 - pg-connection-string: ^2.6.1 - pg-pool: ^3.6.1 - pg-protocol: ^1.6.0 - pg-types: ^2.1.0 - pgpass: 1.x - peerDependencies: - pg-native: ">=3.0.1" - dependenciesMeta: - pg-cloudflare: - optional: true - peerDependenciesMeta: - pg-native: - optional: true - checksum: e608fe1c52725e1c0c4cbdf97e29df8f41b9fd21aed821866e3488b3a0622be1c19801d8d8eb31f0de35f040c4f69163c211358e7df8c48d15ee8f660d2bd4cc - languageName: node - linkType: hard - -"pgpass@npm:1.x": - version: 1.0.5 - resolution: "pgpass@npm:1.0.5" - dependencies: - split2: ^4.1.0 - checksum: 947ac096c031eebdf08d989de2e9f6f156b8133d6858c7c2c06c041e1e71dda6f5f3bad3c0ec1e96a09497bbc6ef89e762eefe703b5ef9cb2804392ec52ec400 - languageName: node - linkType: hard - "picocolors@npm:^1.0.0": version: 1.0.0 resolution: "picocolors@npm:1.0.0" @@ -6702,36 +6748,6 @@ __metadata: languageName: node linkType: hard -"postgres-array@npm:~2.0.0": - version: 2.0.0 - resolution: "postgres-array@npm:2.0.0" - checksum: 0e1e659888147c5de579d229a2d95c0d83ebdbffc2b9396d890a123557708c3b758a0a97ed305ce7f58edfa961fa9f0bbcd1ea9f08b6e5df73322e683883c464 - languageName: node - linkType: hard - -"postgres-bytea@npm:~1.0.0": - version: 1.0.0 - resolution: "postgres-bytea@npm:1.0.0" - checksum: d844ae4ca7a941b70e45cac1261a73ee8ed39d72d3d74ab1d645248185a1b7f0ac91a3c63d6159441020f4e1f7fe64689ac56536a307b31cef361e5187335090 - languageName: node - linkType: hard - -"postgres-date@npm:~1.0.4": - version: 1.0.7 - resolution: "postgres-date@npm:1.0.7" - checksum: 5745001d47e51cd767e46bcb1710649cd705d91a24d42fa661c454b6dcbb7353c066a5047983c90a626cd3bbfea9e626cc6fa84a35ec57e5bbb28b49f78e13ed - languageName: node - linkType: hard - -"postgres-interval@npm:^1.1.0": - version: 1.2.0 - resolution: "postgres-interval@npm:1.2.0" - dependencies: - xtend: ^4.0.0 - checksum: 746b71f93805ae33b03528e429dc624706d1f9b20ee81bf743263efb6a0cd79ae02a642a8a480dbc0f09547b4315ab7df6ce5ec0be77ed700bac42730f5c76b2 - languageName: node - linkType: hard - "pretty-bytes@npm:^6.1.0": version: 6.1.0 resolution: "pretty-bytes@npm:6.1.0" @@ -7387,6 +7403,17 @@ __metadata: languageName: node linkType: hard +"socks-proxy-agent@npm:^6.0.0": + version: 6.2.1 + resolution: "socks-proxy-agent@npm:6.2.1" + dependencies: + agent-base: ^6.0.2 + debug: ^4.3.3 + socks: ^2.6.2 + checksum: 9ca089d489e5ee84af06741135c4b0d2022977dad27ac8d649478a114cdce87849e8d82b7c22b51501a4116e231241592946fc7fae0afc93b65030ee57084f58 + languageName: node + linkType: hard + "socks-proxy-agent@npm:^7.0.0": version: 7.0.0 resolution: "socks-proxy-agent@npm:7.0.0" @@ -7473,10 +7500,23 @@ __metadata: languageName: node linkType: hard -"split2@npm:^4.1.0": - version: 4.2.0 - resolution: "split2@npm:4.2.0" - checksum: 05d54102546549fe4d2455900699056580cca006c0275c334611420f854da30ac999230857a85fdd9914dc2109ae50f80fda43d2a445f2aa86eccdc1dfce779d +"sqlite3@npm:^5.1.6": + version: 5.1.6 + resolution: "sqlite3@npm:5.1.6" + dependencies: + "@mapbox/node-pre-gyp": ^1.0.0 + node-addon-api: ^4.2.0 + node-gyp: 8.x + tar: ^6.1.11 + peerDependencies: + node-gyp: 8.x + dependenciesMeta: + node-gyp: + optional: true + peerDependenciesMeta: + node-gyp: + optional: true + checksum: ea640628843e37a63dfb4bd2c8429dbd7aab845c1a8204574dca3aac61486ab65bc0abfd99b48f1cead1f783171c6111c0cc4115335d5b95bb0b4eb44db162d5 languageName: node linkType: hard @@ -7489,6 +7529,15 @@ __metadata: languageName: node linkType: hard +"ssri@npm:^8.0.0, ssri@npm:^8.0.1": + version: 8.0.1 + resolution: "ssri@npm:8.0.1" + dependencies: + minipass: ^3.1.1 + checksum: bc447f5af814fa9713aa201ec2522208ae0f4d8f3bda7a1f445a797c7b929a02720436ff7c478fb5edc4045adb02b1b88d2341b436a80798734e2494f1067b36 + languageName: node + linkType: hard + "standard-as-callback@npm:^2.1.0": version: 2.1.0 resolution: "standard-as-callback@npm:2.1.0" @@ -7716,7 +7765,7 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.1.11, tar@npm:^6.1.13, tar@npm:^6.1.2": +"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.13, tar@npm:^6.1.2": version: 6.1.15 resolution: "tar@npm:6.1.15" dependencies: @@ -7937,13 +7986,6 @@ __metadata: languageName: node linkType: hard -"underscore@npm:^1.13.1": - version: 1.13.6 - resolution: "underscore@npm:1.13.6" - checksum: d5cedd14a9d0d91dd38c1ce6169e4455bb931f0aaf354108e47bd46d3f2da7464d49b2171a5cf786d61963204a42d01ea1332a903b7342ad428deaafaf70ec36 - languageName: node - linkType: hard - "undici@npm:^5.22.1": version: 5.22.1 resolution: "undici@npm:5.22.1" @@ -7997,6 +8039,15 @@ __metadata: languageName: node linkType: hard +"unique-filename@npm:^1.1.1": + version: 1.1.1 + resolution: "unique-filename@npm:1.1.1" + dependencies: + unique-slug: ^2.0.0 + checksum: cf4998c9228cc7647ba7814e255dec51be43673903897b1786eff2ac2d670f54d4d733357eb08dea969aa5e6875d0e1bd391d668fbdb5a179744e7c7551a6f80 + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -8006,6 +8057,15 @@ __metadata: languageName: node linkType: hard +"unique-slug@npm:^2.0.0": + version: 2.0.2 + resolution: "unique-slug@npm:2.0.2" + dependencies: + imurmurhash: ^0.1.4 + checksum: 5b6876a645da08d505dedb970d1571f6cebdf87044cb6b740c8dbb24f0d6e1dc8bdbf46825fd09f994d7cf50760e6f6e063cfa197d51c5902c00a861702eb75a + languageName: node + linkType: hard + "unique-slug@npm:^4.0.0": version: 4.0.0 resolution: "unique-slug@npm:4.0.0"