ember-source 5.10.0-beta.1 → 5.10.0

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,6 +1,6 @@
1
1
  {
2
- "version": "5.10.0-beta.1",
2
+ "version": "5.10.0",
3
3
  "buildType": "tag",
4
- "SHA": "2ec6ed35bd34029ba5acb568d21313fefb7b1e71",
5
- "assetPath": "/tag/shas/2ec6ed35bd34029ba5acb568d21313fefb7b1e71.tgz"
4
+ "SHA": "1460f72ec0479497dd9549bb405c91757fff873d",
5
+ "assetPath": "/tag/shas/1460f72ec0479497dd9549bb405c91757fff873d.tgz"
6
6
  }
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 5.10.0-beta.1
8
+ * @version 5.10.0
9
9
  */
10
10
  /* eslint-disable no-var */
11
11
  /* globals global globalThis self */
@@ -17766,7 +17766,7 @@ var define, require;
17766
17766
  }, Symbol.toStringTag, { value: 'Module' });
17767
17767
 
17768
17768
  // this file gets replaced with the real value during the build
17769
- const version = '5.10.0-beta.1';
17769
+ const version = '5.10.0';
17770
17770
 
17771
17771
  const emberVersion = /*#__PURE__*/Object.defineProperty({
17772
17772
  __proto__: null,
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 5.10.0-beta.1
8
+ * @version 5.10.0
9
9
  */
10
10
  /* eslint-disable no-var */
11
11
  /* globals global globalThis self */
@@ -9994,7 +9994,7 @@ var define, require;
9994
9994
  }
9995
9995
 
9996
9996
  // this file gets replaced with the real value during the build
9997
- const VERSION = '5.10.0-beta.1';
9997
+ const VERSION = '5.10.0';
9998
9998
 
9999
9999
  /**
10000
10000
  @module ember
@@ -28840,6 +28840,16 @@ var define, require;
28840
28840
  available: '5.10.0',
28841
28841
  enabled: '5.10.0'
28842
28842
  }
28843
+ }),
28844
+ DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: deprecation({
28845
+ id: 'deprecate-array-prototype-extensions',
28846
+ url: 'https://deprecations.emberjs.com/id/deprecate-deprecate-array-prototype-extensions',
28847
+ until: '6.0.0',
28848
+ for: 'ember-source',
28849
+ since: {
28850
+ available: '5.10.0',
28851
+ enabled: '5.10.0'
28852
+ }
28843
28853
  })
28844
28854
  };
28845
28855
  function deprecateUntil(message, deprecation) {
@@ -28852,6 +28862,12 @@ var define, require;
28852
28862
  }
28853
28863
  (!(deprecation.test) && deprecate(message, deprecation.test, options));
28854
28864
  }
28865
+ const {
28866
+ EXTEND_PROTOTYPES
28867
+ } = ENV;
28868
+ if (EXTEND_PROTOTYPES.Array !== false) {
28869
+ deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js', DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);
28870
+ }
28855
28871
 
28856
28872
  function internalHelper(helper) {
28857
28873
  return setInternalHelperManager(helper, {});
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 5.10.0-beta.1
8
+ * @version 5.10.0
9
9
  */
10
10
  /* eslint-disable no-var */
11
11
  /* globals global globalThis self */
@@ -3497,7 +3497,7 @@ var define, require;
3497
3497
  }, Symbol.toStringTag, { value: 'Module' });
3498
3498
 
3499
3499
  // this file gets replaced with the real value during the build
3500
- const Version = '5.10.0-beta.1';
3500
+ const Version = '5.10.0';
3501
3501
 
3502
3502
  const emberVersion = /*#__PURE__*/Object.defineProperty({
3503
3503
  __proto__: null,
@@ -3720,6 +3720,16 @@ var define, require;
3720
3720
  available: '5.10.0',
3721
3721
  enabled: '5.10.0'
3722
3722
  }
3723
+ }),
3724
+ DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: deprecation({
3725
+ id: 'deprecate-array-prototype-extensions',
3726
+ url: 'https://deprecations.emberjs.com/id/deprecate-deprecate-array-prototype-extensions',
3727
+ until: '6.0.0',
3728
+ for: 'ember-source',
3729
+ since: {
3730
+ available: '5.10.0',
3731
+ enabled: '5.10.0'
3732
+ }
3723
3733
  })
3724
3734
  };
3725
3735
  function deprecateUntil(message, deprecation) {
@@ -3732,6 +3742,12 @@ var define, require;
3732
3742
  }
3733
3743
  (!(deprecation.test) && deprecate$1(message, deprecation.test, options));
3734
3744
  }
3745
+ const {
3746
+ EXTEND_PROTOTYPES
3747
+ } = ENV;
3748
+ if (EXTEND_PROTOTYPES.Array !== false) {
3749
+ deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js', DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);
3750
+ }
3735
3751
 
3736
3752
  const emberinternalsDeprecationsIndex = /*#__PURE__*/Object.defineProperty({
3737
3753
  __proto__: null,
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 5.10.0-beta.1
8
+ * @version 5.10.0
9
9
  */
10
10
  /* eslint-disable no-var */
11
11
  /* globals global globalThis self */
@@ -2716,7 +2716,7 @@ var define, require;
2716
2716
  }, Symbol.toStringTag, { value: 'Module' });
2717
2717
 
2718
2718
  // this file gets replaced with the real value during the build
2719
- const Version = '5.10.0-beta.1';
2719
+ const Version = '5.10.0';
2720
2720
 
2721
2721
  const emberVersion = /*#__PURE__*/Object.defineProperty({
2722
2722
  __proto__: null,
@@ -2939,6 +2939,16 @@ var define, require;
2939
2939
  available: '5.10.0',
2940
2940
  enabled: '5.10.0'
2941
2941
  }
2942
+ }),
2943
+ DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: deprecation({
2944
+ id: 'deprecate-array-prototype-extensions',
2945
+ url: 'https://deprecations.emberjs.com/id/deprecate-deprecate-array-prototype-extensions',
2946
+ until: '6.0.0',
2947
+ for: 'ember-source',
2948
+ since: {
2949
+ available: '5.10.0',
2950
+ enabled: '5.10.0'
2951
+ }
2942
2952
  })
2943
2953
  };
2944
2954
  function deprecateUntil(message, deprecation) {
@@ -2949,6 +2959,12 @@ var define, require;
2949
2959
  throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);
2950
2960
  }
2951
2961
  }
2962
+ const {
2963
+ EXTEND_PROTOTYPES
2964
+ } = ENV;
2965
+ if (EXTEND_PROTOTYPES.Array !== false) {
2966
+ deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js', DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);
2967
+ }
2952
2968
 
2953
2969
  const emberinternalsDeprecationsIndex = /*#__PURE__*/Object.defineProperty({
2954
2970
  __proto__: null,
@@ -121,6 +121,16 @@ const DEPRECATIONS = {
121
121
  available: '5.10.0',
122
122
  enabled: '5.10.0'
123
123
  }
124
+ }),
125
+ DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: deprecation({
126
+ id: 'deprecate-array-prototype-extensions',
127
+ url: 'https://deprecations.emberjs.com/id/deprecate-deprecate-array-prototype-extensions',
128
+ until: '6.0.0',
129
+ for: 'ember-source',
130
+ since: {
131
+ available: '5.10.0',
132
+ enabled: '5.10.0'
133
+ }
124
134
  })
125
135
  };
126
136
  function deprecateUntil(message, deprecation) {
@@ -133,5 +143,11 @@ function deprecateUntil(message, deprecation) {
133
143
  }
134
144
  (isDevelopingApp() && !(deprecation.test) && deprecate(message, deprecation.test, options));
135
145
  }
146
+ const {
147
+ EXTEND_PROTOTYPES
148
+ } = ENV;
149
+ if (EXTEND_PROTOTYPES.Array !== false) {
150
+ deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js', DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);
151
+ }
136
152
 
137
153
  export { DEPRECATIONS, deprecateUntil, emberVersionGte, isRemoved };
@@ -1,4 +1,4 @@
1
1
  // this file gets replaced with the real value during the build
2
- const Version = '5.10.0-beta.1';
2
+ const Version = '5.10.0';
3
3
 
4
4
  export { Version as default };
package/docs/data.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "The Ember API",
4
4
  "description": "The Ember API: a framework for building ambitious web applications",
5
5
  "url": "https://emberjs.com/",
6
- "version": "5.10.0-beta.1"
6
+ "version": "5.10.0"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -15552,7 +15552,7 @@
15552
15552
  "line": 74,
15553
15553
  "description": "The current URL.",
15554
15554
  "itemtype": "property",
15555
- "name": "",
15555
+ "name": "currentURL",
15556
15556
  "type": "String",
15557
15557
  "access": "public",
15558
15558
  "tagname": "",
@@ -15563,10 +15563,10 @@
15563
15563
  "file": "packages/@ember/routing/location.ts",
15564
15564
  "line": 82,
15565
15565
  "description": "Sets the current URL. Calling `setURL` will not trigger `onUpdateURL`\ncallbacks.",
15566
- "access": "public",
15567
- "tagname": "",
15568
15566
  "itemtype": "method",
15569
15567
  "name": "",
15568
+ "access": "public",
15569
+ "tagname": "",
15570
15570
  "params": [
15571
15571
  {
15572
15572
  "name": "url",
@@ -15579,12 +15579,12 @@
15579
15579
  },
15580
15580
  {
15581
15581
  "file": "packages/@ember/routing/location.ts",
15582
- "line": 92,
15582
+ "line": 93,
15583
15583
  "description": "Replace the current URL (optional). Calling `replaceURL` will not trigger\n`onUpdateURL` callbacks.",
15584
- "access": "public",
15585
- "tagname": "",
15586
15584
  "itemtype": "method",
15587
15585
  "name": "",
15586
+ "access": "public",
15587
+ "tagname": "",
15588
15588
  "params": [
15589
15589
  {
15590
15590
  "name": "url",
@@ -15597,7 +15597,7 @@
15597
15597
  },
15598
15598
  {
15599
15599
  "file": "packages/@ember/routing/location.ts",
15600
- "line": 102,
15600
+ "line": 104,
15601
15601
  "description": "triggers the callback when the URL changes.",
15602
15602
  "params": [
15603
15603
  {
@@ -15611,12 +15611,12 @@
15611
15611
  },
15612
15612
  {
15613
15613
  "file": "packages/@ember/routing/location.ts",
15614
- "line": 109,
15614
+ "line": 111,
15615
15615
  "description": "Formats url to be placed into href attribute.",
15616
- "access": "public",
15617
- "tagname": "",
15618
15616
  "itemtype": "method",
15619
15617
  "name": "",
15618
+ "access": "public",
15619
+ "tagname": "",
15620
15620
  "params": [
15621
15621
  {
15622
15622
  "name": "url",
@@ -19822,7 +19822,7 @@
19822
19822
  },
19823
19823
  {
19824
19824
  "message": "Missing item type\ntriggers the callback when the URL changes.",
19825
- "line": " packages/@ember/routing/location.ts:102"
19825
+ "line": " packages/@ember/routing/location.ts:104"
19826
19826
  },
19827
19827
  {
19828
19828
  "message": "Missing item type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-source",
3
- "version": "5.10.0-beta.1",
3
+ "version": "5.10.0",
4
4
  "description": "A JavaScript framework for creating ambitious web applications",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -190,9 +190,6 @@
190
190
  "node": "16.20.0",
191
191
  "pnpm": "8.10.0"
192
192
  },
193
- "_originalVersion": "5.10.0-beta.1",
194
- "_versionPreviouslyCalculated": true,
195
- "publishConfig": {
196
- "tag": "beta"
197
- }
198
- }
193
+ "_originalVersion": "5.10.0",
194
+ "_versionPreviouslyCalculated": true
195
+ }
@@ -33,6 +33,12 @@ declare module '@ember/-internals/deprecations' {
33
33
  isEnabled: boolean;
34
34
  isRemoved: boolean;
35
35
  };
36
+ DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: {
37
+ options: DeprecationOptions;
38
+ test: boolean;
39
+ isEnabled: boolean;
40
+ isRemoved: boolean;
41
+ };
36
42
  };
37
43
  export function deprecateUntil(message: string, deprecation: DeprecationObject): void;
38
44
  export {};
@@ -72,7 +72,7 @@ declare module '@ember/routing/location' {
72
72
  cancelRouterSetup?: boolean;
73
73
  /**
74
74
  * The current URL.
75
- * @property
75
+ * @property currentURL
76
76
  * @type String
77
77
  * @public
78
78
  */
@@ -81,6 +81,7 @@ declare module '@ember/routing/location' {
81
81
  * Sets the current URL. Calling `setURL` will not trigger `onUpdateURL`
82
82
  * callbacks.
83
83
  *
84
+ * @property setURL
84
85
  * @public
85
86
  * @method
86
87
  * @param {String} url the new URL to update to.
@@ -90,6 +91,7 @@ declare module '@ember/routing/location' {
90
91
  * Replace the current URL (optional). Calling `replaceURL` will not trigger
91
92
  * `onUpdateURL` callbacks.
92
93
  *
94
+ * @property replaceURL
93
95
  * @public
94
96
  * @method
95
97
  * @param {String} url the new URL to replace the current URL with.
@@ -104,6 +106,7 @@ declare module '@ember/routing/location' {
104
106
  /**
105
107
  * Formats url to be placed into href attribute.
106
108
  *
109
+ * @property formatURL
107
110
  * @public
108
111
  * @method
109
112
  * @param {String} url the url to format