node_modules/es-abstract/2017/UTF16Decode.js in immosquare-cleaner-0.1.32 vs node_modules/es-abstract/2017/UTF16Decode.js in immosquare-cleaner-0.1.38
- old
+ new
@@ -1,9 +1,9 @@
'use strict';
var GetIntrinsic = require('get-intrinsic');
-var $TypeError = GetIntrinsic('%TypeError%');
+var $TypeError = require('es-errors/type');
var $fromCharCode = GetIntrinsic('%String.fromCharCode%');
// https://262.ecma-international.org/7.0/#sec-utf16decode
var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');