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

mkdist

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdist - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

14

dist/index.d.ts
import { CommonOptions } from 'esbuild';
import { AcceptedPlugin, ProcessOptions } from 'postcss';
import { Options } from 'postcss-nested';
import { Options as Options$1 } from 'autoprefixer';
import { Options as Options$2 } from 'cssnano';

@@ -7,2 +11,3 @@ declare const loaders: {

sass: Loader;
postcss: Loader;
};

@@ -32,6 +37,13 @@ type LoaderName = keyof typeof loaders;

interface LoaderOptions {
ext?: "mjs" | "js" | "ts";
ext?: "js" | "mjs" | "cjs" | "ts" | "mts" | "cts";
format?: "cjs" | "esm";
declaration?: boolean;
esbuild?: CommonOptions;
postcss?: false | {
nested?: false | Options;
autoprefixer?: false | Options$1;
cssnano?: false | Options$2;
plugins?: AcceptedPlugin[];
processOptions?: Omit<ProcessOptions, "from">;
};
}

@@ -38,0 +50,0 @@ interface LoaderContext {

24

package.json
{
"name": "mkdist",
"version": "1.3.1",
"version": "1.4.0",
"description": "Lightweight file-to-file transformer",
"repository": "unjs/mkdist",
"license": "MIT",
"main": "./dist/index.cjs",
"exports": {

@@ -15,2 +14,3 @@ ".": {

},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",

@@ -33,5 +33,7 @@ "bin": {

"dependencies": {
"citty": "^0.1.4",
"autoprefixer": "^10.4.14",
"citty": "^0.1.5",
"cssnano": "^6.0.1",
"defu": "^6.1.3",
"esbuild": "^0.19.5",
"esbuild": "^0.19.7",
"fs-extra": "^11.1.1",

@@ -42,12 +44,14 @@ "globby": "^13.2.2",

"mri": "^1.2.0",
"pathe": "^1.1.1"
"pathe": "^1.1.1",
"postcss": "^8.4.26",
"postcss-nested": "^6.0.1"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mri": "^1.1.4",
"@types/node": "^20.9.0",
"@types/mri": "^1.1.5",
"@types/node": "^20.9.4",
"@vitest/coverage-v8": "^0.34.6",
"c8": "latest",
"changelogen": "^0.5.5",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"eslint-config-unjs": "^0.2.1",

@@ -57,3 +61,3 @@ "modern-normalize": "^2.0.0",

"sass": "^1.69.5",
"typescript": "^5.2.2",
"typescript": "^5.3.2",
"unbuild": "^2.0.0",

@@ -64,3 +68,3 @@ "vitest": "^0.34.6"

"sass": "^1.69.5",
"typescript": ">=5.2.2"
"typescript": ">=5.3.2"
},

@@ -67,0 +71,0 @@ "peerDependenciesMeta": {

@@ -20,2 +20,4 @@ # mkdist

✅ Support [postcss](https://postcss.org/) ([autoprefixer](https://github.com/postcss/autoprefixer), [cssnano](https://cssnano.co/) and [postcss-nested](https://www.npmjs.com/package/postcss-nested) enabled out of the box!)
## ❓ Why?

@@ -43,12 +45,10 @@

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/mkdist?style=flat-square
[npm-version-href]: https://npmjs.com/package/mkdist
[npm-downloads-src]: https://img.shields.io/npm/dm/mkdist?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/mkdist
[github-actions-src]: https://img.shields.io/github/actions/workflow/status/unjs/mkdist/ci.yml?branch=main&style=flat-square
[github-actions-href]: https://github.com/unjs/mkdist/actions?query=workflow%3Aci
[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/mkdist/main?style=flat-square
[codecov-href]: https://codecov.io/gh/unjs/mkdist

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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