We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5eedf4 commit 216b288Copy full SHA for 216b288
lib/punycode.js
@@ -1,14 +1,11 @@
1
'use strict';
2
3
-const { getOptionValue } = require('internal/options');
4
-if (getOptionValue('--pending-deprecation')){
5
- process.emitWarning(
6
- 'The `punycode` module is deprecated. Please use a userland ' +
7
- 'alternative instead.',
8
- 'DeprecationWarning',
9
- 'DEP0040',
10
- );
11
-}
+process.emitWarning(
+ 'The `punycode` module is deprecated. Please use a userland ' +
+ 'alternative instead.',
+ 'DeprecationWarning',
+ 'DEP0040',
+);
12
13
/** Highest positive signed 32-bit float value */
14
const maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
0 commit comments