Skip to content

Commit b01436f

Browse files
committed
Remove deprecated process.sass API
1 parent 15886f0 commit b01436f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

lib/index.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -457,21 +457,3 @@ module.exports.types = binding.types;
457457
module.exports.TRUE = binding.types.Boolean.TRUE;
458458
module.exports.FALSE = binding.types.Boolean.FALSE;
459459
module.exports.NULL = binding.types.Null.NULL;
460-
461-
/**
462-
* Polyfill the old API
463-
*
464-
* TODO: remove for 4.0
465-
*/
466-
467-
function processSassDeprecationMessage() {
468-
console.log('Deprecation warning: `process.sass` is an undocumented internal that will be removed in future versions of Node Sass.');
469-
}
470-
471-
process.sass = process.sass || {
472-
get versionInfo() { processSassDeprecationMessage(); return module.exports.info; },
473-
get binaryName() { processSassDeprecationMessage(); return sass.getBinaryName(); },
474-
get binaryUrl() { processSassDeprecationMessage(); return sass.getBinaryUrl(); },
475-
get binaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath(); },
476-
get getBinaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath; },
477-
};

0 commit comments

Comments
 (0)