New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@daldalso/tailwind-base

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daldalso/tailwind-base - npm Package Compare versions

Comparing version 0.9.2-2 to 0.9.2-3

1

dist/generate-code.js

@@ -108,2 +108,3 @@ import setupContextUtils from "tailwindcss/lib/lib/setupContextUtils.js";

'import { loadTailwindBase } from "@daldalso/tailwind-base";',
'// See: https://github.com/JJoriping/tailwind-base/pull/4',
'import React from "react";',

@@ -110,0 +111,0 @@ 'import ClientTailwindBaseInitializer from "./client";',

@@ -11,2 +11,3 @@ import test from "node:test";

assert.strictEqual(c("border-b-4 border-b"), 'border-b');
assert.strictEqual(c("m-1", ["p-1", ["p-2", ["p-3"], "m-2"]]), 'p-3 m-2');
});

2

dist/transformer.js

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

const pattern = /(?<!\)\s*){(?=[^{]*?:[\S\s]+?["'][\S\s]+?})\s*([^}]+?)\s*}/g;
const pattern = /(?<![)=]\s*){(?=[^{]*?:[\S\s]+?["'][\S\s]+?})\s*([^}]+?)\s*}/g;
const g1Pattern = /(?:^|\s*,\s*)(?:(["'])(.+?)\1|(\w+))\s*:\s*((["'])[^}]+?\5)(?=\s*,|$)/g;

@@ -3,0 +3,0 @@ const valuePattern = /(["'])(.+?)\1/g;

{
"type": "module",
"name": "@daldalso/tailwind-base",
"version": "0.9.2-2",
"version": "0.9.2-3",
"description": "Let you exploit Tailwind in React more powerful",

@@ -6,0 +6,0 @@ "repository": {

@@ -17,3 +17,3 @@ /* eslint-disable @typescript-eslint/no-empty-interface, @daldalso/variable-name, @daldalso/no-unsafe-unquoted-key */

type CValueBase = string|undefined|null|0|0n|false;
export type CValue = ArrayOr<CValueBase|Readonly<Record<string, ArrayOr<CValueBase>>>>;
export type CValue = ArrayOr<CValueBase|Readonly<Record<string, ArrayOr<CValueBase>>>>|CValue[];

@@ -20,0 +20,0 @@ type Augmented<T, O> = {

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