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

@batijs/features

Package Overview
Dependencies
Maintainers
2
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@batijs/features - npm Package Compare versions

Comparing version 0.0.259 to 0.0.260

1

dist/index.d.ts

@@ -37,4 +37,5 @@ import { c as categoriesGroups, F as Flags } from './features--7HDnptH.js';

get hasDatabase(): boolean;
get hasD1(): boolean;
}
export { BatiSet, type Category, type Feature, type FeatureLink, Flags, categoriesGroups };

@@ -92,2 +92,3 @@ import {

#servers;
// eslint-disable-next-line no-unused-private-class-members
#databases;

@@ -107,4 +108,7 @@ constructor(flags2, allFeatures) {

get hasDatabase() {
return this.hasOneOf(this.#databases);
return this.has("sqlite") || this.has("drizzle");
}
get hasD1() {
return this.has("cloudflare") && (this.has("sqlite") || this.has("drizzle"));
}
};

@@ -111,0 +115,0 @@ export {

@@ -65,2 +65,3 @@ import {

}),
// TODO: sqlite does not work on stackblitz either
includes(8 /* INFO_DRIZZLE_STACKBLITZ */, "drizzle")

@@ -67,0 +68,0 @@ ];

2

package.json
{
"name": "@batijs/features",
"version": "0.0.259",
"version": "0.0.260",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

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