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

@trackunit/css-tailwind-custom-properties-plugin

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trackunit/css-tailwind-custom-properties-plugin - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

56

index.js

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

import plugin from 'tailwindcss/plugin';
var createPlugin$2 = {};
var createPlugin$1 = {};
(function (exports) {
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: ()=>_default
});
function createPlugin(plugin, config) {
return {
handler: plugin,
config
};
}
createPlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {
const optionsFunction = function(options) {
return {
__options: options,
handler: pluginFunction(options),
config: configFunction(options)
};
};
optionsFunction.__isOptionsFunction = true;
// Expose plugin dependencies so that `object-hash` returns a different
// value if anything here changes, to ensure a rebuild is triggered.
optionsFunction.__pluginFunction = pluginFunction;
optionsFunction.__configFunction = configFunction;
return optionsFunction;
};
const _default = createPlugin;
}(createPlugin$1));
(function (exports) {
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: ()=>_default
});
const _createPlugin = /*#__PURE__*/ _interopRequireDefault(createPlugin$1);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
const _default = _createPlugin.default;
}(createPlugin$2));
let createPlugin = createPlugin$2;
var plugin = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
/**

@@ -4,0 +58,0 @@ * Converts an array of keys to a valid CSS custom property name.

2

package.json
{
"name": "@trackunit/css-tailwind-custom-properties-plugin",
"version": "0.0.22",
"version": "0.0.23",
"main": "./index.cjs",

@@ -5,0 +5,0 @@ "repository": "https://github.com/Trackunit/manager",

export * from "./plugin";
export * from "./variablesToCSSRules";

@@ -0,0 +0,0 @@ export declare const CssTailwindCustomPropertiesPlugin: {

@@ -0,0 +0,0 @@ import { CSSRuleObject } from "tailwindcss/types/config";

Sorry, the diff of this file is not supported yet

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