@iblai/web-utils 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var React = require('react');
@@ -1224,11 +1225,6 @@ const safeRequire = (moduleName) => {
1224
1225
  if (typeof __non_webpack_require__ !== "undefined") {
1225
1226
  return __non_webpack_require__(moduleName);
1226
1227
  }
1227
- // eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
1228
- if (typeof require !== "undefined") {
1229
- // eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
1230
- return require(moduleName);
1231
- }
1232
1228
  }
1233
1229
  catch (error) {
1234
1230
  console.warn(`Failed to require ${moduleName}:`, error);