Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drizzle-orm-sqlite

Package Overview
Dependencies
Maintainers
3
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm-sqlite - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0-beta.1

LICENSE

3

better-sqlite3/connector.d.ts
import { Database, RunResult } from 'better-sqlite3';
import { Logger, MigrationConfig } from 'drizzle-orm';
import { Logger } from 'drizzle-orm';
import { MigrationConfig } from 'drizzle-orm/migrator';
import { BaseSQLiteDatabase } from '../db';

@@ -4,0 +5,0 @@ import { SQLiteDialect, SQLiteSyncDialect } from '../dialect';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SQLiteConnector = void 0;
const drizzle_orm_1 = require("drizzle-orm");
const migrator_1 = require("drizzle-orm/migrator");
const db_1 = require("../db");

@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect");

migrate(config) {
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config);
const migrations = (0, migrator_1.readMigrationFiles)(config);
const session = this.getSession();

@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session);

/// <reference types="bun-types" />
import { Database } from 'bun:sqlite';
import { Logger, MigrationConfig } from 'drizzle-orm';
import { Logger } from 'drizzle-orm';
import { MigrationConfig } from 'drizzle-orm/migrator';
import { BaseSQLiteDatabase } from '../db';

@@ -5,0 +6,0 @@ import { SQLiteSyncDialect } from '../dialect';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SQLiteBunConnector = void 0;
const drizzle_orm_1 = require("drizzle-orm");
const migrator_1 = require("drizzle-orm/migrator");
const db_1 = require("../db");

@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect");

migrate(config) {
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config);
const migrations = (0, migrator_1.readMigrationFiles)(config);
const session = this.getSession();

@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session);

/// <reference types="@cloudflare/workers-types" />
import { Logger, MigrationConfig } from 'drizzle-orm';
import { Logger } from 'drizzle-orm';
import { MigrationConfig } from 'drizzle-orm/migrator';
import { BaseSQLiteDatabase } from '../db';

@@ -4,0 +5,0 @@ import { SQLiteAsyncDialect, SQLiteDialect } from '../dialect';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.D1Connector = void 0;
const drizzle_orm_1 = require("drizzle-orm");
const migrator_1 = require("drizzle-orm/migrator");
const db_1 = require("../db");

@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect");

migrate(config) {
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config);
const migrations = (0, migrator_1.readMigrationFiles)(config);
const session = this.getSession();

@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session);

@@ -1,2 +0,2 @@

import { MigrationMeta } from 'drizzle-orm';
import { MigrationMeta } from 'drizzle-orm/migrator';
import { Query, SQL } from 'drizzle-orm/sql';

@@ -3,0 +3,0 @@ import { SQLiteDeleteConfig, SQLiteInsertConfig, SQLiteUpdateConfig, SQLiteUpdateSet } from './query-builders';

{
"name": "drizzle-orm-sqlite",
"version": "0.13.0",
"version": "0.14.0-beta.1",
"description": "Drizzle ORM package for SQLite database",

@@ -30,3 +30,3 @@ "main": "index.js",

"better-sqlite3": ">=7 <9",
"drizzle-orm": ">=0.13.0 <0.14.0 || >=0.13.0-beta.0 <0.14.0-beta.0",
"drizzle-orm": ">=0.14 <0.15",
"sqlite3": ">=5 <6",

@@ -33,0 +33,0 @@ "@cloudflare/workers-types": ">=3 <4"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc