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.195 to 0.0.196

3

dist/rules.d.ts

@@ -6,4 +6,3 @@ import { F as Flags, C as CategoryLabels } from './features-DQ3aZZCU.js';

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

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

@@ -10,4 +10,3 @@ import {

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

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

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

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

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

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

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