diff --git a/lib/index.js b/lib/index.js index 92f105d7c..fc45d891c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -457,21 +457,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; }, -};