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

@batijs/features

Package Overview
Dependencies
Maintainers
0
Versions
220
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.212 to 0.0.213

dist/chunk-SAJIMA44.js

4

dist/index.d.ts

@@ -1,3 +0,3 @@

import { c as categoriesGroups } from './features-BDLTeJs_.js';
export { C as CategoryLabels, F as Flags, a as categories, d as cliFlags, f as features, b as flags } from './features-BDLTeJs_.js';
import { c as categoriesGroups } from './features-CICjZ-Bv.js';
export { C as CategoryLabels, F as Flags, a as categories, d as cliFlags, f as features, b as flags } from './features-CICjZ-Bv.js';

@@ -4,0 +4,0 @@ interface Feature<C = string> {

@@ -5,3 +5,3 @@ import {

flags
} from "./chunk-IMWCNX2X.js";
} from "./chunk-SAJIMA44.js";

@@ -8,0 +8,0 @@ // src/groups.ts

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

import { F as Flags, C as CategoryLabels } from './features-BDLTeJs_.js';
import { F as Flags, C as CategoryLabels } from './features-CICjZ-Bv.js';

@@ -8,3 +8,4 @@ declare enum RulesMessage {

ERROR_DATA_R_SERVER = 3,
INFO_HATTIP = 4
ERROR_CLOUDFLARE_R_COMPAT_SERVER = 4,
INFO_HATTIP = 5
}

@@ -11,0 +12,0 @@

import {
features,
flags
} from "./chunk-IMWCNX2X.js";
} from "./chunk-SAJIMA44.js";

@@ -12,3 +12,4 @@ // src/rules/enum.ts

RulesMessage2[RulesMessage2["ERROR_DATA_R_SERVER"] = 3] = "ERROR_DATA_R_SERVER";
RulesMessage2[RulesMessage2["INFO_HATTIP"] = 4] = "INFO_HATTIP";
RulesMessage2[RulesMessage2["ERROR_CLOUDFLARE_R_COMPAT_SERVER"] = 4] = "ERROR_CLOUDFLARE_R_COMPAT_SERVER";
RulesMessage2[RulesMessage2["INFO_HATTIP"] = 5] = "INFO_HATTIP";
return RulesMessage2;

@@ -25,2 +26,5 @@ })(RulesMessage || {});

}
function filter(message, callback) {
return (fts) => callback(fts) && message;
}
function prepare(fts) {

@@ -41,5 +45,14 @@ const s = /* @__PURE__ */ new Set();

requires(1 /* ERROR_COMPILED_R_REACT */, "compiled-css", ["react"]),
includes(4 /* INFO_HATTIP */, "hattip"),
includes(5 /* INFO_HATTIP */, "hattip"),
requires(2 /* ERROR_DRIZZLE_R_SERVER */, "drizzle", ["Server"]),
requires(3 /* ERROR_DATA_R_SERVER */, "Data fetching", ["Server"])
requires(3 /* ERROR_DATA_R_SERVER */, "Data fetching", ["Server"]),
filter(4 /* ERROR_CLOUDFLARE_R_COMPAT_SERVER */, (fts) => {
if (fts.has("cloudflare")) {
if (fts.has("hono") || fts.has("hattip")) {
return false;
}
return fts.has("Server");
}
return false;
})
];

@@ -46,0 +59,0 @@

{
"name": "@batijs/features",
"version": "0.0.212",
"version": "0.0.213",
"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