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

@windicss/config

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@windicss/config - npm Package Compare versions

Comparing version 1.5.4 to 1.6.1

26

dist/index.js

@@ -9,10 +9,9 @@ var __create = Object.create;

var __export = (target, all) => {
__markAsModule(target);
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __reExport = (target, module2, desc) => {
var __reExport = (target, module2, copyDefault, desc) => {
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
for (let key of __getOwnPropNames(module2))
if (!__hasOwnProp.call(target, key) && key !== "default")
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });

@@ -22,15 +21,21 @@ }

};
var __toModule = (module2) => {
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
var __toESM = (module2, isNodeMode) => {
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
};
var __toCommonJS = /* @__PURE__ */ ((cache) => {
return (module2, temp) => {
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
};
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
// src/index.ts
__export(exports, {
var src_exports = {};
__export(src_exports, {
defaultConfigureFiles: () => defaultConfigureFiles,
loadConfiguration: () => loadConfiguration
});
var import_fs = __toModule(require("fs"));
var import_path = __toModule(require("path"));
var import_debug = __toModule(require("debug"));
var import_jiti = __toModule(require("jiti"));
var import_fs = __toESM(require("fs"));
var import_path = __toESM(require("path"));
var import_debug = __toESM(require("debug"));
var import_jiti = __toESM(require("jiti"));
var jiti;

@@ -109,2 +114,3 @@ var defaultConfigureFiles = [

}
module.exports = __toCommonJS(src_exports);
// Annotate the CommonJS export names for ESM import in node:

@@ -111,0 +117,0 @@ 0 && (module.exports = {

{
"name": "@windicss/config",
"version": "1.5.4",
"version": "1.6.1",
"description": "Windi CSS configurations loader",

@@ -34,3 +34,3 @@ "keywords": [

"jiti": "^1.12.9",
"windicss": "^3.2.1"
"windicss": "^3.4.0"
},

@@ -40,3 +40,4 @@ "scripts": {

"dev": "npm run build -- --watch"
}
},
"readme": "# @windicss/config\n\n[Windi CSS](https://github.com/windicss/windicss) configurations loader.\n\n```ts\nimport { loadConfiguration } from '@windicss/config'\n\n// search for configuration file and load it from disk\n// supports \"{windi,windicss,tailwind}.config.{js,ts,mjs,cjs}\"\nconst { config } = loadConfiguration({ root: __dirname })\n```\n\n## Configuration\n\nSee [src/index.ts](https://github.com/windicss/vite-plugin-windicss/blob/main/packages/config/src/index.ts).\n\n## License\n\nMIT License © 2021 [Anthony Fu](https://github.com/antfu)\n\n"
}
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