parse 6.0.0 → 6.1.0-alpha.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Parse JavaScript SDK v6.0.0
2
+ * Parse JavaScript SDK v6.1.0-alpha.1
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -354,7 +354,7 @@ const config = {
354
354
  SERVER_AUTH_TOKEN: null,
355
355
  LIVEQUERY_SERVER_URL: null,
356
356
  ENCRYPTED_KEY: null,
357
- VERSION: 'js' + "6.0.0",
357
+ VERSION: 'js' + "6.1.0-alpha.1",
358
358
  APPLICATION_ID: null,
359
359
  JAVASCRIPT_KEY: null,
360
360
  MASTER_KEY: null,
@@ -7665,8 +7665,8 @@ class ParseObject {
7665
7665
  return new _ParseError.default(_ParseError.default.OTHER_CAUSE, 'ACL must be a Parse ACL.');
7666
7666
  }
7667
7667
  for (const key in attrs) {
7668
- if (!/^[A-Za-z][0-9A-Za-z_.]*$/.test(key)) {
7669
- return new _ParseError.default(_ParseError.default.INVALID_KEY_NAME, `Invalid key name: "${key}"`);
7668
+ if (!/^[A-Za-z_][0-9A-Za-z_.]*$/.test(key)) {
7669
+ return new _ParseError.default(_ParseError.default.INVALID_KEY_NAME, `Invalid key name: ${key}`);
7670
7670
  }
7671
7671
  }
7672
7672
  return false;