Deprecations.js 2.8 KB

123456789101112131415161718192021222324
  1. "use strict";
  2. /**
  3. * The deprecations.
  4. *
  5. * Add deprecations to the array using the following keys:
  6. * - `optionKey` {String}: The option key incl. its path, e.g. `security.enableCheck`.
  7. * - `envKey` {String}: The environment key, e.g. `PARSE_SERVER_SECURITY`.
  8. * - `changeNewKey` {String}: Set the new key name if the current key will be replaced,
  9. * or set to an empty string if the current key will be removed without replacement.
  10. * - `changeNewDefault` {String}: Set the new default value if the key's default value
  11. * will change in a future version.
  12. * - `solution`: The instruction to resolve this deprecation warning. Optional. This
  13. * instruction must not include the deprecation warning which is auto-generated.
  14. * It should only contain additional instruction regarding the deprecation if
  15. * necessary.
  16. *
  17. * If there are no deprecations, this must return an empty array.
  18. */
  19. module.exports = [{
  20. optionKey: 'encodeParseObjectInCloudFunction',
  21. changeNewDefault: 'true'
  22. }];
  23. //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwib3B0aW9uS2V5IiwiY2hhbmdlTmV3RGVmYXVsdCJdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9EZXByZWNhdG9yL0RlcHJlY2F0aW9ucy5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRoZSBkZXByZWNhdGlvbnMuXG4gKlxuICogQWRkIGRlcHJlY2F0aW9ucyB0byB0aGUgYXJyYXkgdXNpbmcgdGhlIGZvbGxvd2luZyBrZXlzOlxuICogLSBgb3B0aW9uS2V5YCB7U3RyaW5nfTogVGhlIG9wdGlvbiBrZXkgaW5jbC4gaXRzIHBhdGgsIGUuZy4gYHNlY3VyaXR5LmVuYWJsZUNoZWNrYC5cbiAqIC0gYGVudktleWAge1N0cmluZ306IFRoZSBlbnZpcm9ubWVudCBrZXksIGUuZy4gYFBBUlNFX1NFUlZFUl9TRUNVUklUWWAuXG4gKiAtIGBjaGFuZ2VOZXdLZXlgIHtTdHJpbmd9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