Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dlmanning/gulp-sass
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 218560fc06f6e94151fb5ec3a4e0e047415c14ed
Choose a base ref
...
head repository: dlmanning/gulp-sass
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 57750449c02792d7ea30cc7a4e0699c4646d4b9d
Choose a head ref

Commits on Dec 10, 2016

  1. Bump node-sass@v4.0.0

    xzyfer committed Dec 10, 2016
    Copy the full SHA
    251fbc8 View commit details
  2. 3.0.0

    xzyfer committed Dec 10, 2016
    Copy the full SHA
    0d2a2bf View commit details

Commits on Jan 9, 2017

  1. Bump node-sass@^4.2.0

    node-sass@4.2.0 significantly improves memory usage.
    
    Fixes #575
    xzyfer authored Jan 9, 2017
    Copy the full SHA
    3709a76 View commit details
  2. 3.1.0

    xzyfer committed Jan 9, 2017
    Copy the full SHA
    25d37e7 View commit details

Commits on Jan 29, 2018

  1. Add whitespace

    Yusril Herlian Syah authored and xzyfer committed Jan 29, 2018
    Copy the full SHA
    2b090fe View commit details

Commits on Mar 11, 2018

  1. Add Appveyor for Windows CI

    xzyfer committed Mar 11, 2018
    Copy the full SHA
    6dadb97 View commit details
  2. Simplifiy appveyor config

    xzyfer committed Mar 11, 2018
    Copy the full SHA
    e45e200 View commit details
  3. Unit tests now work on windows

    Closes #620
    phawxby authored and xzyfer committed Mar 11, 2018
    Copy the full SHA
    cc4ed2f View commit details
  4. Bump node-sass@^4.8.0

    Force update to LibSass 3.5.0.
    xzyfer committed Mar 11, 2018
    Copy the full SHA
    5fc1e30 View commit details
  5. Update CHANGELOG

    Fixes #588
    xzyfer committed Mar 11, 2018
    Copy the full SHA
    1968596 View commit details
  6. Copy the full SHA
    c0a2973 View commit details

Commits on Mar 12, 2018

  1. 3.2.0

    xzyfer committed Mar 12, 2018
    Copy the full SHA
    44256d3 View commit details

Commits on Mar 24, 2018

  1. Bump node-sass@^4.8.3

    Make the latest stable node-sass the minimum.
    xzyfer authored Mar 24, 2018
    Copy the full SHA
    ff8b225 View commit details
  2. 3.2.1

    xzyfer authored Mar 24, 2018
    Copy the full SHA
    04fb925 View commit details
  3. Copy the full SHA
    9a8a879 View commit details
  4. Drop dependency on deprecated gulp-util

    Closes #646
    demurgos authored and xzyfer committed Mar 24, 2018
    Copy the full SHA
    e615352 View commit details
  5. Bump mocha@^5.0.4

    xzyfer committed Mar 24, 2018
    Copy the full SHA
    549d7ba View commit details
  6. Bump should@^13.2.1

    xzyfer committed Mar 24, 2018
    Copy the full SHA
    a057695 View commit details
  7. Bump gulp-sourcemaps@^2.6.4

    xzyfer committed Mar 24, 2018
    Copy the full SHA
    9fa817b View commit details
  8. Copy the full SHA
    1293169 View commit details
  9. Adopt airbnb eslint preset

    xzyfer committed Mar 24, 2018
    Copy the full SHA
    7656eff View commit details

Commits on Apr 5, 2018

  1. Merge pull request #667 from dlmanning/next

    Drop support for non-Active LTS and Current releases
    xzyfer authored Apr 5, 2018
    Copy the full SHA
    44be409 View commit details
  2. Copy the full SHA
    e9b1fe8 View commit details
  3. 4.0.0

    xzyfer committed Apr 5, 2018
    Copy the full SHA
    450a7b8 View commit details

Commits on Apr 8, 2018

  1. Declaring logError as function instead of arrow function.

    Daniel Kvistgaard authored and xzyfer committed Apr 8, 2018
    Copy the full SHA
    71471c2 View commit details
  2. Merge pull request #681 from DKvistgaard/master

    Declaring logError as function instead of arrow function.
    xzyfer authored Apr 8, 2018
    Copy the full SHA
    daca90d View commit details
  3. 4.0.1

    xzyfer committed Apr 8, 2018
    Copy the full SHA
    0b3c7e7 View commit details

Commits on May 23, 2018

  1. Add documentation for synchronous code options

    It's not clearly documented how to add options to sass.sync, and this is implemented inconsistently across other code infrastructures, so it's not safe to assume whether it's `sass(options).sync()` or `sass.sync(options)` please accept the pull request if the proposed documentation is correct, or otherwise accept it anyways and provide a follow up merge as an update fix.
    Announcement authored and xzyfer committed May 23, 2018
    Copy the full SHA
    643f73b View commit details

Commits on Oct 16, 2018

  1. Make this package implementation-agnostic

    Rather than always loading Node Sass, this now requires users to pass
    in either Dart Sass or Node Sass to the require() call.
    
    Closes #672
    nex3 authored and xzyfer committed Oct 16, 2018
    Copy the full SHA
    7cc2db1 View commit details
  2. Copy the full SHA
    938afbe View commit details
  3. Continue loading Node Sass by default

    This documents the option to use Dart Sass, and encourages users to
    explicitly choose their implementation, but it doesn't change the
    existing behavior.
    nex3 authored and xzyfer committed Oct 16, 2018
    1
    Copy the full SHA
    8a14419 View commit details
  4. Fix README typos

    nex3 authored and xzyfer committed Oct 16, 2018
    Copy the full SHA
    98254d2 View commit details
  5. Copy the full SHA
    fefa00e View commit details
  6. 4.0.2

    xzyfer committed Oct 16, 2018
    Copy the full SHA
    fa670c6 View commit details

Commits on Aug 5, 2019

  1. Migrate to the lodash package

    The modularized lodash packages are unmaintained since 2 years, lagging a lot
    behind the main lodash package. Partial imports of lodash are the preferred
    way.
    stof authored and xzyfer committed Aug 5, 2019
    1
    Copy the full SHA
    7ab018e View commit details

Commits on Apr 23, 2020

  1. Set appropriate file stat times (#763)

    * Set appropriate file stat times
    
    Since we are creating the destination file, it's our responsibility to set the file stat times.
    
    * fix code style
    WraithKenny authored Apr 23, 2020
    Copy the full SHA
    ebe3ec6 View commit details
  2. 4.1.0

    xzyfer committed Apr 23, 2020
    Copy the full SHA
    43c0547 View commit details
  3. Update changelog

    xzyfer committed Apr 23, 2020
    Copy the full SHA
    8d6ac29 View commit details

Commits on Jun 24, 2021

  1. Upgrade lodash to fix a security issue (#776)

    Co-authored-by: Douglas <douglas.dowie@skyscanner.net>
    Douglas Dowie and Douglas authored Jun 24, 2021
    Copy the full SHA
    947b26c View commit details
  2. Update changelog for 4.1.1

    xzyfer committed Jun 24, 2021
    Copy the full SHA
    10eae93 View commit details

Commits on Jun 25, 2021

  1. Update to major version 5 (#802)

    * Update node-sass to 6.0.0
    
    Also moves node-sass to devDependencies and peerDependencies. This helps prevent dupes and conflicts in packages using gulp-sass
    
    * Make mocha test compatible with gulp@4
    
    * Update package version, engines
    
    * Remove node-sass as peer dependency
    
    * Replace through2 with transfob
    
    * Uninstall through2
    
    * Throw error if compiler not set
    
    * Fix casing of Sass
    
    Co-authored-by: Michael Mifsud <xzyfer@gmail.com>
    
    * Use function arg to set compiler, use transfob package
    
    * Update test to new API signature
    
    * Update package versions
    
    * Fix eslint errors
    
    * Incorporate previously proposed documentation changes
    
    Copied from #694
    
    * Update document outline, apply copyedits
    
    * Copyedit: overall clarifications
    
    * Call out migration guide, update badges
    
    * Document Gulp 4 usage
    
    * smol clarification
    
    * Copyedit some headings
    
    * Yet Another Copyedit™
    
    * Update README.md
    
    Co-authored-by: Michael Mifsud <xzyfer@gmail.com>
    mxmason and xzyfer authored Jun 25, 2021
    Copy the full SHA
    978b8f6 View commit details
  2. Update CHANGELOG.md

    xzyfer authored Jun 25, 2021
    Copy the full SHA
    5775044 View commit details
Showing with 708 additions and 670 deletions.
  1. +3 −153 .eslintrc
  2. +6 −4 .travis.yml
  3. +78 −0 CHANGELOG.md
  4. +8 −3 CONTRIBUTING.md
  5. +119 −53 README.md
  6. +25 −0 appveyor.yml
  7. +159 −168 index.js
  8. +27 −17 package.json
  9. +17 −20 test/lint.js
  10. +266 −252 test/main.js
156 changes: 3 additions & 153 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -4,159 +4,9 @@ env:
mocha: true
node: true

# globals:
#########################
## Only add globals if you're absolutely certain they need to be globals
##########################
# console: true

#########################
## set to 0 to allow
## set to 1 to disallow as warning
## set to 2 to disallow as error
#########################
rules:
#########################
## Optional Rules
#########################
# Disallow use of `console`
no-console: 2

# Disallow warning comments
no-warning-comments:
- 1
- terms:
- todo
- fixme
location: anywhere

# Warns when variables are defined but never used
no-unused-vars: 1

# Enforces comma style (first or last)
comma-style:
- 2
- last

# Enforces one true `this` variable
consistent-this:
max-len:
- 2
- self
# Allows dangling underscores in identifiers
no-underscore-dangle: 2

# Enforces function expressions to have a name
func-names: 0

# Set maximum depth of nested callbacks
max-nested-callbacks:
- 1
- 3

#########################
## Core Rules
##########################
# Enforces camel case names
camelcase: 2

# Prohibit use of == and != in favor of === and !==
eqeqeq: 2

# Suppresses warnings about == null comparisons
no-eq-null: 2

# No mixing tabs and spaces, with 2 spaces only
no-mixed-spaces-and-tabs: 2

# Prohibits use of a variable before it is defined
no-use-before-define: 2

# Requires capitalized names for constructor functions
new-cap: 2

# Prohibits use of explicitly undeclared variables
no-undef: 2

# Enforces Use Strict at the top of function scope
strict:
- 2
- global

# Requires variable declarations to be at the top
vars-on-top: 2

# Enforce curly braces around blocks in loops and conditionals
curly: 2

# Prohibits the use of immediate function invocations w/o wrapping in parentheses
wrap-iife: 2

# Prohibits `argument.caller` and `argument.callee`
no-caller: 2

# Requires all `for in` loops to filter object's items
guard-for-in: 2

# Prohibits comparing a variable against itself
no-self-compare: 2
- 120

# Prohibits use of `undefined` variable
no-undefined: 0

# Prohibits nested ternaries
no-nested-ternary: 2

# Enforces a space before blocks
space-before-blocks:
- 2
- always

# Enforces spaces following keywords
keyword-spacing:
- 2
- after: true

# Enforces quoted property names
quote-props:
- 2
- always

# Enforces padded blocks
padded-blocks:
- 1
- never

# Enforce functions as expressions
func-style:
- 2
- expression

# Require brace style
brace-style:
- 2
- stroustrup

# Prohibits Yoda conditions
yoda:
- 2
- never

# Enforce use of single quotation marks for strings.
quotes:
- 2
- single

# Disallow or enforce spaces inside of curly braces in objects.
object-curly-spacing:
- 2
- always

# Disallow or enforce spaces inside of brackets.
array-bracket-spacing:
- 2
- never

# Disallow or enforce spaces inside of computed properties.
computed-property-spacing:
- 2
- never
extends: "airbnb-base"
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
sudo: false

language: node_js

node_js:
- "0.10"
- node
- iojs
sudo: false
- lts/boron
- lts/carbon
- current
78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,83 @@
# Gulp Sass Changelog

## v5.0.0
**June 25, 2021**
https://github.com/dlmanning/gulp-sass/releases/tag/v5.0.0

## v4.1.1
**June 24, 2021**
https://github.com/dlmanning/gulp-sass/releases/tag/v4.1.1

## v4.1.0
**April 23, 2020**

https://github.com/dlmanning/gulp-sass/releases/tag/v4.1.0

## v4.0.2
**October 16, 2018**

https://github.com/dlmanning/gulp-sass/releases/tag/v4.0.2

## v4.0.1
**Apr 8, 2018**

https://github.com/dlmanning/gulp-sass/releases/tag/v4.0.1

## v4.0.0
**April 5, 2018**

https://github.com/dlmanning/gulp-sass/releases/tag/v4.0.0

## v3.2.1
**March 24, 2018**

https://github.com/dlmanning/gulp-sass/releases/tag/v3.2.1

## v3.2.0
**March 12, 2018**

https://github.com/dlmanning/gulp-sass/releases/tag/v3.2.0

## v3.1.0
**January 9, 2017**

https://github.com/dlmanning/gulp-sass/releases/tag/v3.1.0

## v3.0.0
**January 9, 2017**

https://github.com/dlmanning/gulp-sass/releases/tag/v3.0.0

## v2.3.2
**June 15, 2016**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.3.2

## v2.3.1
**April 22, 2016**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.3.1

## v2.3.0
**April 21, 2016**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.3.0

## v2.3.0-beta.1
**February 4, 2016**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.3.0-beta.1

## v2.2.0
**February 4, 2016**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.2.0

## v2.1.0
**November 2, 2015**

https://github.com/dlmanning/gulp-sass/releases/tag/v2.1.0

## v2.1.0-beta
**September 21, 2015**

11 changes: 8 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Contributing to Gulp Sass

Gulp Sass is a very light-weight [Gulp](https://github.com/gulpjs/gulp) wrapper for [`node-sass`](https://github.com/sass/node-sass), which in turn is a Node binding for [`libsass`](https://github.com/sass/libsass), which in turn is a port of [`Sass`](https://github.com/sass/sass).
`gulp-sass` is a very light-weight wrapper around either [Dart Sass][] or [Node Sass][] (which in turn is a Node binding for [LibSass][]. All of these are implementations of the [Sass][] language.

[Dart Sass]: http://sass-lang.com/dart-sass
[Node Sass]: https://github.com/sass/node-sass
[LibSass]: https://sass-lang.com/libsass
[Sass]: https://sass-lang.com

## Submitting Issues

* Before creating a new issue, perform a [cursory search](https://github.com/issues?utf8=%E2%9C%93&q=repo%3Adlmanning%2Fgulp-sass+repo%3Asass%2Fnode-sass+repo%3Asass%2Flibsass+repo%3Asass%2Fsass+repo%3Asass-eyeglass%2Feyeglass) in the Gulp Sass, Node Sass, Libsass, and main Sass repos to see if a similar issue has already been submitted. Please also refer to our [Common Issues and Their Fixes](https://github.com/dlmanning/gulp-sass/wiki/Common-Issues-and-Their-Fixes) page for some basic troubleshooting.
* Before creating a new issue, perform a [cursory search](https://github.com/issues?utf8=%E2%9C%93&q=repo%3Adlmanning%2Fgulp-sass+repo%3Asass%2Fdart-sass+repo%3Asass%2Fnode-sass+repo%3Asass%2Flibsass+repo%3Asass%2Fsass+repo%3Asass-eyeglass%2Feyeglass) in the Gulp Sass, Dart Sass, Node Sass, Libsass, and main Sass repos to see if a similar issue has already been submitted. Please also refer to our [Common Issues and Their Fixes](https://github.com/dlmanning/gulp-sass/wiki/Common-Issues-and-Their-Fixes) page for some basic troubleshooting.
* You can create an issue [here](https://github.com/dlmanning/gulp-sass/issues). Please include as many details as possible in your report.
* Issue titles should be descriptive, explaining at the high level what it is about.
* Please include the version of `gulp-sass`, Node, and NPM you are using, as well as what operating system you are having a problem on.
@@ -60,4 +65,4 @@ When creating creating commits or updating the CHANGELOG, please **start** the c
* :arrow_up: `:arrow_up:` when upgrading dependencies
* :arrow_down: `:arrow_down:` when downgrading dependencies
* :shirt: `:shirt:` when removing linter warnings
* :shipit: `:shipit:` when creating a new release
* :shipit: `:shipit:` when creating a new release
Loading