Socket
Socket
Sign inDemoInstall

stylelint

Package Overview
Dependencies
Maintainers
6
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint - npm Package Compare versions

Comparing version 16.3.1 to 16.4.0

lib/rules/no-unknown-custom-media/index.cjs

18

package.json
{
"name": "stylelint",
"version": "16.3.1",
"version": "16.4.0",
"description": "A mighty CSS linter that helps you avoid errors and enforce conventions.",

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

"@csstools/media-query-list-parser": "^2.1.9",
"@csstools/selector-specificity": "^3.0.2",
"@csstools/selector-specificity": "^3.0.3",
"@dual-bundle/import-meta-resolve": "^4.0.0",

@@ -173,3 +173,3 @@ "balanced-match": "^2.0.0",

"cosmiconfig": "^9.0.0",
"css-functions-list": "^3.2.1",
"css-functions-list": "^3.2.2",
"css-tree": "^2.3.1",

@@ -203,3 +203,3 @@ "debug": "^4.3.4",

"svg-tags": "^1.0.0",
"table": "^6.8.1",
"table": "^6.8.2",
"write-file-atomic": "^5.0.1"

@@ -220,3 +220,3 @@ },

"@types/imurmurhash": "^0.1.4",
"@types/micromatch": "^4.0.6",
"@types/micromatch": "^4.0.7",
"@types/normalize-path": "^3.0.2",

@@ -234,3 +234,3 @@ "@types/postcss-less": "^4.0.6",

"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest": "^28.2.0",
"husky": "^9.0.11",

@@ -241,3 +241,3 @@ "jest": "^29.7.0",

"lint-staged": "^15.2.2",
"np": "^10.0.2",
"np": "^10.0.5",
"npm-run-all": "^4.1.5",

@@ -251,5 +251,5 @@ "patch-package": "^8.0.0",

"remark-cli": "^12.0.0",
"rollup": "^4.13.0",
"rollup": "^4.16.3",
"sugarss": "^4.0.1",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
},

@@ -256,0 +256,0 @@ "engines": {

import type * as PostCSS from 'postcss';
import type { GlobbyOptions } from 'globby';
import type { cosmiconfig, TransformSync as CosmiconfigTransformSync } from 'cosmiconfig';
import type * as Cosmiconfig from 'cosmiconfig';

@@ -19,2 +19,4 @@ type ConfigExtends = string | string[];

type ConfigProcessors = string[];
type DisableSettings = stylelint.ConfigRuleSettings<boolean, stylelint.DisableOptions>;

@@ -119,2 +121,5 @@

customSyntax?: CustomSyntax;
processors?: ConfigProcessors;
/** @internal */
_processorFunctions?: Map<string, ReturnType<Processor>['postprocess']>;
allowEmptyInput?: boolean;

@@ -129,5 +134,3 @@ cache?: boolean;

/** @internal */
export type CosmiconfigResult =
| (ReturnType<CosmiconfigTransformSync> & { config: Config })
| null;
export type CosmiconfigResult = Cosmiconfig.CosmiconfigResult<Config>;

@@ -200,2 +203,10 @@ /** @internal */

/**
* WARNING: This is an experimental feature. The API may change in the future.
*/
export type Processor = () => {
name: string;
postprocess: (result: LintResult, root?: PostCSS.Root) => void;
};
/** @internal */

@@ -335,2 +346,3 @@ export type RuleMessage = string | RuleMessageFunc;

readonly 'no-unknown-animations': Promise<Rule>;
readonly 'no-unknown-custom-media': Promise<Rule>;
readonly 'no-unknown-custom-properties': Promise<Rule>;

@@ -764,3 +776,3 @@ readonly 'number-max-precision': Promise<Rule>;

_options: LinterOptions & { cwd: string };
_extendExplorer: ReturnType<typeof cosmiconfig>;
_extendExplorer: Cosmiconfig.PublicExplorer;
_specifiedConfigCache: Map<Config, Promise<CosmiconfigResult>>;

@@ -767,0 +779,0 @@ _postcssResultCache: Map<string, PostCSS.Result>;

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

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

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

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

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

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

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

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