Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 91c40a0

Browse files
xzyfernschonni
authored andcommitted
Remove deprecated process.sass API
1 parent 1f6df86 commit 91c40a0

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
@@ -456,21 +456,3 @@ module.exports.types = binding.types;
456456
module.exports.TRUE = binding.types.Boolean.TRUE;
457457
module.exports.FALSE = binding.types.Boolean.FALSE;
458458
module.exports.NULL = binding.types.Null.NULL;
459-
460-
/**
461-
* Polyfill the old API
462-
*
463-
* TODO: remove for 4.0
464-
*/
465-
466-
function processSassDeprecationMessage() {
467-
console.log('Deprecation warning: `process.sass` is an undocumented internal that will be removed in future versions of Node Sass.');
468-
}
469-
470-
process.sass = process.sass || {
471-
get versionInfo() { processSassDeprecationMessage(); return module.exports.info; },
472-
get binaryName() { processSassDeprecationMessage(); return sass.getBinaryName(); },
473-
get binaryUrl() { processSassDeprecationMessage(); return sass.getBinaryUrl(); },
474-
get binaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath(); },
475-
get getBinaryPath() { processSassDeprecationMessage(); return sass.getBinaryPath; },
476-
};

0 commit comments

Comments
 (0)