node_modules/@analytics/core/lib/analytics.es.js
/**
 * Verify plugin is not calling itself with whatever:myPluginName self refs
 */
Verify plugin is not calling itself with whatever:myPluginName self refs
Verify plugin is not calling itself with whatever : myPluginName self refs
function validateMethod(actionName, pluginName) {
  var text = getNameSpacedAction(actionName);
  var methodCallMatchesPluginNamespace = text && text.name === pluginName;
  if (methodCallMatchesPluginNamespace) {
    var sub = getNameSpacedAction(text.method);
    var subText = sub ? 'or ' + sub.method : '';
    throw new Error([pluginName + ' plugin is calling method ' + actionName, 'Plugins cant call self', "Use ".concat(text.method, " ").concat(subText, " in ").concat(pluginName, " plugin insteadof ").concat(actionName)].join('\n'));
  }
}
function validateMethod ( actionName , pluginName ) { var text = getNameSpacedAction ( actionName ) ; var methodCallMatchesPluginNamespace = text && text . name === pluginName ; if ( methodCallMatchesPluginNamespace ) { var sub = getNameSpacedAction ( text . method ) ; var subText = sub ? 'or ' + sub . method : '' ; throw new Error ( [ pluginName + ' plugin is calling method ' + actionName , 'Plugins cant call self' , "Use " . concat ( text . method , " " ) . concat ( subText , " in " ) . concat ( pluginName , " plugin insteadof " ) . concat ( actionName ) ] . join ( '\n' ) ) ; } }
Verify plugin is not calling itself with whatever:myPluginName self refs
Verify plugin is not calling itself with whatever : myPluginName self refs