function shouldSkipVersioning(self, path) {
  const skipVersioning = self.$__schema.options.skipVersioning;
  if (!skipVersioning) return false;

  // Remove any array indexes from the path
  path = path.replace(/\.\d+\./, '.');

  return skipVersioning[path];
}
Determines whether versioning should be skipped for the given path

@param {Document} self
@param {String} path
@return {Boolean} true if versioning should be skipped for the given path
@api private