@batijs/features
Advanced tools
Comparing version 0.0.212 to 0.0.213
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
174824
1685
1