node_modules/es-abstract/2015/CharacterRange.js in immosquare-cleaner-0.1.32 vs node_modules/es-abstract/2015/CharacterRange.js in immosquare-cleaner-0.1.38
- old
+ new
@@ -2,10 +2,10 @@
var GetIntrinsic = require('get-intrinsic');
var callBound = require('call-bind/callBound');
var $fromCharCode = GetIntrinsic('%String.fromCharCode%');
-var $TypeError = GetIntrinsic('%TypeError%');
+var $TypeError = require('es-errors/type');
var $charCodeAt = callBound('String.prototype.charCodeAt');
var $push = callBound('Array.prototype.push');
module.exports = function CharacterRange(A, B) {
if (A.length !== 1 || B.length !== 1) {