Spec-Zone.ru › Sass

Deprecations

All of the deprecation types currently used by Sass.

Any of these IDs or the deprecation objects they point to can be passed to fatalDeprecations, futureDeprecations, or silenceDeprecations.

Hierarchy

  • Deprecations
  • Defined in js-api-doc/deprecations.d.ts:7
Index

Properties

abs-percent adjacent-compounds bogus-combinators call-string color-4-api color-functions color-module-compat compile-string-relative-url css-function-mixin duplicate-var-flags elseif feature-exists fs-importer-cwd function-name function-units global-builtin if-function import legacy-js-api misplaced-rest mixed-decls moz-document new-global null-alpha relative-canonical slash-div strict-unary type-function user-authored with-private

Properties

abs-percent

abs-percent: Deprecation<"abs-percent", DeprecationStatus>

Deprecation for passing percentages to the Sass abs() function.

This deprecation became active in Dart Sass 1.65.0.

  • Defined in js-api-doc/deprecations.d.ts:100

adjacent-compounds

adjacent-compounds: Deprecation<"adjacent-compounds", DeprecationStatus>

Deprecation for adjacent compound selectors like [class]a.

This deprecation became active in Dart Sass 1.100.0.

  • Defined in js-api-doc/deprecations.d.ts:215

bogus-combinators

bogus-combinators: Deprecation<"bogus-combinators", DeprecationStatus>

Deprecation for leading, trailing, and repeated combinators.

This deprecation became active in Dart Sass 1.54.0.

  • Defined in js-api-doc/deprecations.d.ts:65

call-string

call-string: Deprecation<"call-string", DeprecationStatus>

Deprecation for passing a string directly to meta.call().

This deprecation was active in the first version of Dart Sass.

  • Defined in js-api-doc/deprecations.d.ts:16

color-4-api

color-4-api: Deprecation<"color-4-api", DeprecationStatus>

Deprecation for certain uses of built-in sass:color functions.

This deprecation became active in Dart Sass 1.79.0.

  • Defined in js-api-doc/deprecations.d.ts:137

color-functions

color-functions: Deprecation<"color-functions", DeprecationStatus>

Deprecation for using global color functions instead of sass:color.

This deprecation became active in Dart Sass 1.79.0.

  • Defined in js-api-doc/deprecations.d.ts:144

color-module-compat

color-module-compat: Deprecation<"color-module-compat", DeprecationStatus>

Deprecation for using color module functions in place of plain CSS functions.

This deprecation became active in Dart Sass 1.23.0.

  • Defined in js-api-doc/deprecations.d.ts:51

compile-string-relative-url

compile-string-relative-url: Deprecation<"compile-string-relative-url", DeprecationStatus>

Deprecation for passing a relative url to compileString().

This deprecation became active in Dart Sass 1.88.0.

  • Defined in js-api-doc/deprecations.d.ts:180

css-function-mixin

css-function-mixin: Deprecation<"css-function-mixin", DeprecationStatus>

Deprecation for function and mixin names beginning with –.

This deprecation became active in Dart Sass 1.76.0. It became obsolete in Dart Sass 1.94.0.

  • Defined in js-api-doc/deprecations.d.ts:115

duplicate-var-flags

duplicate-var-flags: Deprecation<"duplicate-var-flags", DeprecationStatus>

Deprecation for using !default or !global multiple times for one variable.

This deprecation became active in Dart Sass 1.62.0.

  • Defined in js-api-doc/deprecations.d.ts:86

elseif

elseif: Deprecation<"elseif", DeprecationStatus>

Deprecation for @elseif.

This deprecation became active in Dart Sass 1.3.2.

  • Defined in js-api-doc/deprecations.d.ts:23

feature-exists

feature-exists: Deprecation<"feature-exists", DeprecationStatus>

Deprecation for meta.feature-exists

This deprecation became active in Dart Sass 1.78.0.

  • Defined in js-api-doc/deprecations.d.ts:130

fs-importer-cwd

fs-importer-cwd: Deprecation<"fs-importer-cwd", DeprecationStatus>

Deprecation for using the current working directory as an implicit load path.

This deprecation became active in Dart Sass 1.73.0.

  • Defined in js-api-doc/deprecations.d.ts:107

function-name

function-name: Deprecation<"function-name", DeprecationStatus>

Deprecation for uppercase reserved function names.

This deprecation became active in Dart Sass 1.98.0.

  • Defined in js-api-doc/deprecations.d.ts:208

function-units

function-units: Deprecation<"function-units", DeprecationStatus>

Deprecation for passing invalid units to built-in functions.

This deprecation became active in Dart Sass 1.56.0.

  • Defined in js-api-doc/deprecations.d.ts:79

global-builtin

global-builtin: Deprecation<"global-builtin", DeprecationStatus>

Deprecation for global built-in functions that are available in sass: modules.

This deprecation became active in Dart Sass 1.80.0.

  • Defined in js-api-doc/deprecations.d.ts:165

if-function

if-function: Deprecation<"if-function", DeprecationStatus>

Deprecation for the Sass if($condition, $if-true, $if-false) function.

This deprecation became active in Dart Sass 1.95.0.

  • Defined in js-api-doc/deprecations.d.ts:201

import

import: Deprecation<"import", DeprecationStatus>

Deprecation for

Import

rules.

This deprecation became active in Dart Sass 1.80.0.

  • Defined in js-api-doc/deprecations.d.ts:158

legacy-js-api

legacy-js-api: Deprecation<"legacy-js-api", DeprecationStatus>

Deprecation for legacy JS API.

This deprecation became active in Dart Sass 1.79.0.

  • Defined in js-api-doc/deprecations.d.ts:151

misplaced-rest

misplaced-rest: Deprecation<"misplaced-rest", DeprecationStatus>

Deprecation for a rest parameter before a positional or named parameter.

This deprecation became active in Dart Sass 1.91.0.

  • Defined in js-api-doc/deprecations.d.ts:187

mixed-decls

mixed-decls: Deprecation<"mixed-decls", DeprecationStatus>

Deprecation for declarations after or between nested rules.

This deprecation became active in Dart Sass 1.77.7. It became obsolete in Dart Sass 1.92.0.

  • Defined in js-api-doc/deprecations.d.ts:123

moz-document

moz-document: Deprecation<"moz-document", DeprecationStatus>

Deprecation for @-moz-document.

This deprecation became active in Dart Sass 1.7.2.

  • Defined in js-api-doc/deprecations.d.ts:30

new-global

new-global: Deprecation<"new-global", DeprecationStatus>

Deprecation for declaring new variables with !global.

This deprecation became active in Dart Sass 1.17.2.

  • Defined in js-api-doc/deprecations.d.ts:44

null-alpha

null-alpha: Deprecation<"null-alpha", DeprecationStatus>

Deprecation for passing null as alpha in the JS API.

This deprecation became active in Dart Sass 1.62.3.

  • Defined in js-api-doc/deprecations.d.ts:93

relative-canonical

relative-canonical: Deprecation<"relative-canonical", DeprecationStatus>

Deprecation for imports using relative canonical URLs.

This deprecation became active in Dart Sass 1.14.2.

  • Defined in js-api-doc/deprecations.d.ts:37

slash-div

slash-div: Deprecation<"slash-div", DeprecationStatus>

Deprecation for / operator for division.

This deprecation became active in Dart Sass 1.33.0.

  • Defined in js-api-doc/deprecations.d.ts:58

strict-unary

strict-unary: Deprecation<"strict-unary", DeprecationStatus>

Deprecation for ambiguous + and - operators.

This deprecation became active in Dart Sass 1.55.0.

  • Defined in js-api-doc/deprecations.d.ts:72

type-function

type-function: Deprecation<"type-function", DeprecationStatus>

Deprecation for functions named "type".

This deprecation became active in Dart Sass 1.86.0. It became obsolete in Dart Sass 1.92.0.

  • Defined in js-api-doc/deprecations.d.ts:173

user-authored

user-authored: Deprecation<"user-authored", "user">

Used for any user-emitted deprecation warnings.

  • Defined in js-api-doc/deprecations.d.ts:222

with-private

with-private: Deprecation<"with-private", DeprecationStatus>

Deprecation for configuring private variables in @use, @forward, or load-css().

This deprecation became active in Dart Sass 1.92.0.

  • Defined in js-api-doc/deprecations.d.ts:194
sass
  • Compile
    • AsyncCompiler
    • Compiler
    • CompileResult
    • compile
    • compileAsync
    • compileString
    • compileStringAsync
    • initAsyncCompiler
    • initCompiler
  • Options
    • Options
    • StringOptions
    • OutputStyle
    • StringOptionsWithImporter
    • StringOptionsWithoutImporter
    • Syntax
  • Logger
    • Logger
      • silent
    • Logger
    • SourceLocation
    • SourceSpan
    • LoggerWarnOptions
  • Importer
    • NodePackageImporter
    • FileImporter
    • Importer
    • ImporterResult
  • Custom Function
    • CalculationInterpolation
    • CalculationOperation
    • SassArgumentList
    • SassBoolean
    • SassCalculation
    • SassColor
    • SassFunction
    • SassList
    • SassMap
    • SassMixin
    • SassNumber
    • SassString
    • Value
    • CalculationOperator
    • CalculationValue
    • CustomFunction
    • ListSeparator
    • sassFalse
    • sassNull
    • sassTrue
  • Other
    • Exception
    • CanonicalizeContext
    • Deprecations
    • LegacyFileOptions
    • ChannelName
    • ChannelNameHsl
    • ChannelNameHwb
    • ChannelNameLab
    • ChannelNameLch
    • ChannelNameRgb
    • ChannelNameXyz
    • ColorSpaceHsl
    • ColorSpaceHwb
    • ColorSpaceLab
    • ColorSpaceLch
    • ColorSpaceRgb
    • ColorSpaceXyz
    • GamutMapMethod
    • HueInterpolationMethod
    • KnownColorSpace
    • PolarColorSpace
    • PromiseOr
    • RectangularColorSpace
    • info
  • Legacy
    • types
      • Boolean
      • Color
      • Error
      • List
      • Map
      • Null
      • Number
      • String
    • LegacyException
    • LegacyImporterThis
    • LegacyPluginThis
    • LegacyResult
    • LegacySharedOptions
    • LegacyStringOptions
    • LegacyAsyncFunction
    • LegacyAsyncFunctionDone
    • LegacyAsyncImporter
    • LegacyFunction
    • LegacyImporter
    • LegacyImporterResult
    • LegacyOptions
    • LegacySyncFunction
    • LegacySyncImporter
    • LegacyValue
    • FALSE
    • NULL
    • TRUE
    • render
    • renderSync
  • Messages
    • Version
    • Deprecation
    • DeprecationOrId
    • DeprecationStatus
    • deprecations

© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/interfaces/Deprecations

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API