@angular/core 15.2.0-rc.0 → 16.0.0-next.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.
Files changed (33) hide show
  1. package/esm2020/src/core.mjs +2 -1
  2. package/esm2020/src/core_reactivity_export.mjs +11 -0
  3. package/esm2020/src/core_reactivity_export_internal.mjs +9 -0
  4. package/esm2020/src/di/interface/defs.mjs +4 -5
  5. package/esm2020/src/di/provider_collection.mjs +2 -2
  6. package/esm2020/src/metadata/directives.mjs +1 -1
  7. package/esm2020/src/render/api_flags.mjs +1 -1
  8. package/esm2020/src/signals/index.mjs +15 -0
  9. package/esm2020/src/signals/src/api.mjs +46 -0
  10. package/esm2020/src/signals/src/computed.mjs +142 -0
  11. package/esm2020/src/signals/src/effect.mjs +69 -0
  12. package/esm2020/src/signals/src/graph.mjs +114 -0
  13. package/esm2020/src/signals/src/signal.mjs +78 -0
  14. package/esm2020/src/signals/src/untracked.mjs +26 -0
  15. package/esm2020/src/signals/src/watch.mjs +54 -0
  16. package/esm2020/src/signals/src/weak_ref.mjs +11 -0
  17. package/esm2020/src/version.mjs +1 -1
  18. package/esm2020/testing/src/logger.mjs +3 -3
  19. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  20. package/fesm2015/core.mjs +483 -7
  21. package/fesm2015/core.mjs.map +1 -1
  22. package/fesm2015/testing.mjs +5 -6
  23. package/fesm2015/testing.mjs.map +1 -1
  24. package/fesm2020/core.mjs +481 -7
  25. package/fesm2020/core.mjs.map +1 -1
  26. package/fesm2020/testing.mjs +5 -6
  27. package/fesm2020/testing.mjs.map +1 -1
  28. package/index.d.ts +287 -3
  29. package/package.json +1 -1
  30. package/schematics/ng-generate/standalone-migration/bundle.js +608 -804
  31. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  32. package/testing/index.d.ts +1 -1
  33. package/esm2020/src/view/index.mjs +0 -9
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.0-rc.0
2
+ * @license Angular v16.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -772,10 +772,9 @@ function getInheritedInjectableDef(type) {
772
772
  const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);
773
773
  if (def) {
774
774
  const typeName = getTypeName(type);
775
- // TODO(FW-1307): Re-add ngDevMode when closure can handle it
776
- // ngDevMode &&
777
- console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
778
- `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
775
+ ngDevMode &&
776
+ console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
777
+ `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
779
778
  return def;
780
779
  }
781
780
  else {
@@ -8743,7 +8742,7 @@ class Version {
8743
8742
  /**
8744
8743
  * @publicApi
8745
8744
  */
8746
- const VERSION = new Version('15.2.0-rc.0');
8745
+ const VERSION = new Version('16.0.0-next.0');
8747
8746
 
8748
8747
  // This default value is when checking the hierarchy for a token.
8749
8748
  //