From 0e4b406d738898ab383cf3718cb11f21eaad65f8 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 24 Sep 2016 22:17:16 -0400 Subject: [PATCH] Remove process.sass for v4 We depricate this previously to be removed in v4 --- lib/index.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/index.js b/lib/index.js index 4d880a8f5..fc726c049 100644 --- a/lib/index.js +++ b/lib/index.js @@ -450,21 +450,3 @@ module.exports.types = binding.types; module.exports.TRUE = binding.types.Boolean.TRUE; module.exports.FALSE = binding.types.Boolean.FALSE; module.exports.NULL = binding.types.Null.NULL; - -/** - * Polyfill the old API - * - * TODO: remove for 4.0 - */ - -function processSassDeprecationMessage() { - console.log('Deprecation warning: `process.sass` is an undocumented internal that will be removed in future versions of Node Sass.'); -} - -process.sass = process.sass || { - get versionInfo() { processSassDeprecationMessage(); return module.exports.info; }, - get binaryName() { processSassDeprecationMessage(); return sass.getBinaryName(); }, - get binaryUrl() { processSassDeprecationMessage(); return sass.getBinaryUrl(); }, - get binaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath(); }, - get getBinaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath; }, -};