Socket
Socket
Sign inDemoInstall

sass

Package Overview
Dependencies
17
Maintainers
4
Versions
250
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
21222325Next

1.3.1

Diff

Changelog

Source

1.3.1

Node API

  • Fix loading imports relative to stylesheets that were themselves imported though relative include paths.
sassbot
published 1.3.0 •

Changelog

Source

1.3.0

Command-Line Interface

  • Generate source map files by default when writing to disk. This can be disabled by passing --no-source-map.

  • Add a --source-map-urls option to control whether the source file URLs in the generated source map are relative or absolute.

  • Add an --embed-sources option to embed the contents of all source files in the generated source map.

  • Add an --embed-source-map option to embed the generated source map as a data: URL in the generated CSS.

Dart API

  • Add a sourceMap parameter to compile(), compileString(), compileAsync(), and compileStringAsync(). This takes a callback that's called with a [SingleMapping][] that contains the source map information for the compiled CSS file.

Node API

  • Added support for the sourceMap, omitSourceMapUrl, outFile, sourceMapContents, sourceMapEmbed, and sourceMapRoot options to render() and renderSync().

  • Fix a bug where passing a relative path to render() or renderSync() would cause relative imports to break.

  • Fix a crash when printing warnings in stylesheets compiled using render() or renderSync().

  • Fix a bug where format errors were reported badly on Windows.

sassbot
published 1.2.1 •

Changelog

Source

1.2.1

  • Always emit units in compressed mode for 0 dimensions other than lengths and angles.
sassbot
published 1.2.0 •

Changelog

Source

1.2.0

  • The command-line executable will now create the directory for the resulting CSS if that directory doesn't exist.

  • Properly parse #{$var} -#{$var} as two separate values in a list rather than one value being subtracted from another.

  • Improve the error message for extending compound selectors.

sassbot
published 1.1.1 •

Changelog

Source

1.1.1

  • Add a commit that was accidentally left out of 1.1.0.
sassbot
published 1.1.0 •

Changelog

Source

1.1.0

  • The command-line executable can now be used to write an output file to disk using sass input.scss output.css.

  • Use a POSIX-shell-compatible means of finding the location of the sass shell script.

sassbot
published 1.0.0 •

Changelog

Source

1.0.0

Initial stable release.

sassbot
published 1.0.0-rc.1 •

Changelog

Source

Changes Since 1.0.0-rc.1

  • Allow ! in custom property values ([#260][]).
Dart API
  • Remove the deprecated render() function.
Node API
  • Errors are now subtypes of the Error type.

  • Allow both the data and file options to be passed to render() and renderSync() at once. The data option will be used as the contents of the stylesheet, and the file option will be used as the path for error reporting and relative imports. This matches Node Sass's behavior.

sassbot
published 1.0.0-beta.5.3 •

Changelog

Source

1.0.0-beta.5.3

  • Support hard tabs in the indented syntax.

  • Improve the formatting of comments that don't start on the same line as the opening /*.

  • Preserve whitespace after and in media queries in compressed mode.

Indented Syntax

  • Properly parse multi-line selectors.

  • Don't deadlock on /* comments.

  • Don't add an extra */ to comments that already have it.

  • Preserve empty lines in /* comments.

nex3
published 1.0.0-beta.5.2 •

Changelog

Source

1.0.0-beta.5.2

  • Fix a bug where some colors would crash compressed mode.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc