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.184 to 0.0.186

dist/chunk-F5ETT5VO.js

4

dist/index.d.ts

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

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

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

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

flags
} from "./chunk-JNL4SOUP.js";
} from "./chunk-F5ETT5VO.js";

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

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

import { F as Flags, C as CategoryLabels } from './features-pXkQVZ7T.js';
import { F as Flags, C as CategoryLabels } from './features-DjbmDsRH.js';

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

ERROR_COMPILED_R_REACT = 1,
INFO_HATTIP = 2
ERROR_AUTH0_E_HONO = 2,
INFO_HATTIP = 3
}

@@ -9,0 +10,0 @@

import {
features,
flags
} from "./chunk-JNL4SOUP.js";
} from "./chunk-F5ETT5VO.js";

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

RulesMessage2[RulesMessage2["ERROR_COMPILED_R_REACT"] = 1] = "ERROR_COMPILED_R_REACT";
RulesMessage2[RulesMessage2["INFO_HATTIP"] = 2] = "INFO_HATTIP";
RulesMessage2[RulesMessage2["ERROR_AUTH0_E_HONO"] = 2] = "ERROR_AUTH0_E_HONO";
RulesMessage2[RulesMessage2["INFO_HATTIP"] = 3] = "INFO_HATTIP";
return RulesMessage2;

@@ -16,2 +17,5 @@ })(RulesMessage || {});

// src/rules/utils.ts
function exclusive(message, rules) {
return (fts) => rules.every((r) => fts.has(r)) && message;
}
function requires(message, ifPresent, mustAlsoInclude) {

@@ -39,3 +43,4 @@ const m = Array.from(prepare(mustAlsoInclude));

requires(1 /* ERROR_COMPILED_R_REACT */, "compiled-css", ["react"]),
includes(2 /* INFO_HATTIP */, "hattip")
includes(3 /* INFO_HATTIP */, "hattip"),
exclusive(2 /* ERROR_AUTH0_E_HONO */, ["auth0", "hono"])
];

@@ -42,0 +47,0 @@

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