Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/emberjs/ember.js

Ember.js - A JavaScript framework for creating ambitious web applications
https://github.com/emberjs/ember.js

Provide type safe get and set in ObjectProxy

While people should generally move away from this and to native `Proxy`
this makes it possible f...

294e4010d21292fa86cd4bdc0feffbe98d4cc4a7 authored over 1 year ago by Chris Krycho <[email protected]>
Handle optionality of `Ember.Test` in type tests

b94db2cbdc18da5bde612719cc11eb8c45e07366 authored over 1 year ago by Chris Krycho <[email protected]>
The type of `objectsAt` is `Array`, not `Ember.Array`

3b320c04513d1be84e31b2d74b3fc1bb8fefe12b authored over 1 year ago by Chris Krycho <[email protected]>
Remove extranes `extends` from `EmberObject` interface

Again, this already correctly `extends CoreObject` because the class
itself does so; we only nee...

35251ec77f47a8ec981a9c21a30b188cd8dc27de authored over 1 year ago by Chris Krycho <[email protected]>
Accept re-mappings in Controller QP type definitions

b3af3480dd1fe48edd4b290300d616151347f3b8 authored over 1 year ago by Chris Krycho <[email protected]>
Remove now-defunct types for `(add|remove)Listener`

Ember's own types are now less generous about `evented`'s `addListener`
and `removeListener` fun...

284f6db8f7256484112d36a9937d2af605f6eb46 authored over 1 year ago by Chris Krycho <[email protected]>
Update engine type tests now that types catch more errors

f70771da130d5e3de53ca9f1d59fe7db91f89ef3 authored over 1 year ago by Chris Krycho <[email protected]>
Fix/simplify types of `create`, `reopen`, and `reopenClass`

As described in the RFC, we do not want to attempt to provide the type-
modifying capabilities o...

341e3565ce66ad82c50b326e220b959289adca7b authored over 1 year ago by Chris Krycho <[email protected]>
Eliminate cycle in definition of (Ember) `Component`

`Component` uses `ViewSupport`, but `ViewSupport` defined its `this` as
`Component`. This was a ...

a2e42e11c2c96a418830400f35379f6ef8844208 authored over 1 year ago by Chris Krycho <[email protected]>
Account for optionality of `assertDestroyablesDestroyed`

5d875251e985fea90aafe8f0b980133bc19ed83f authored over 1 year ago by Chris Krycho <[email protected]>
Simplify types for `(get|set)Properties`

This fixes many of the incompatibilities from our type tests, and makes
the resulting code *much...

11f1ecfaa59fb44ba2b99ca5cf1dae429d4599d7 authored over 1 year ago by Chris Krycho <[email protected]>
Update types and type tests for CP macros

- Correctly capture deprecation options.
- Flag CP syntax we do not expect to work.
- Make `@sor...

2a1dd3e9f64faf874286047be3d1c0bac9eb82d7 authored over 1 year ago by Chris Krycho <[email protected]>
Update the Ember NS `debug` tests to match modules

de0f67a5107168298bc332706a04ff1e09c7092c authored over 1 year ago by Chris Krycho <[email protected]>
Handle edge case in types publishing path mapping

Without this, some TS-generated `import()` types naming a given item
where the runtime code simp...

0c2058d15aebb86c2616c9ec3b75751e8bc5e890 authored over 1 year ago by Chris Krycho <[email protected]>
Supply correct internal types for `precompileTemplate`

Although this is a build-time-only API, which is ultimately removed
from the distributed build, ...

9923c7a7b5628aad3f329fa6b48c4af8f08b7138 authored over 1 year ago by Chris Krycho <[email protected]>
Add a required `as const` for Controller QPs type test

TS helpfully tries to infer a mutually-compatible type when passed more
than one object in an ar...

fde1a80278d03d7df4ee30c9d5a399c49d78268e authored over 1 year ago by Chris Krycho <[email protected]>
Allow `ember-testing`'s `Promise` not to have labels

c9b410a1bdd1b6e54f28124e83a27fb378b7a040 authored over 1 year ago by Chris Krycho <[email protected]>
Set correct types for QUnit test adapter

284ea816e4ed60486c1ce7e49b10d97b612797df authored over 1 year ago by Chris Krycho <[email protected]>
Explicitly name an indexed type in router.ts

23da1ea83d0e97d7d4ac42a395e548302b5f0eb1 authored over 1 year ago by Chris Krycho <[email protected]>
Fix types for `assert` and `(get|set)DebugFunction`

- Update prod `noop` bindings to cast away safety.
- Update type tests to expect `assert` to `as...

1d2e048c76e5b31ef3ac2b7280cf48acae6b2682 authored over 1 year ago by Chris Krycho <[email protected]>
Improve local types for component-managers

c20334989295d89493534e9387860657c38b0538 authored over 1 year ago by Chris Krycho <[email protected]>
Fix types and type tests for @ember/debug

- `deprecate` and `warn` can be called without args (this is not the
intended behavior, but it...

5649f39a9cda75cc97697b36ca877df2ffafe924 authored over 1 year ago by Chris Krycho <[email protected]>
Update type tests to match RouterService implementation

cd9117252fee8bb9d07d484bace13e90c17ec239 authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20430 from emberjs/dependabot/npm_and_yarn/recast-0.22.0

3a790fb231e80319a5d72d4ebd8f5132d1f6738d authored over 1 year ago by Matthew Beale <[email protected]>
Fix types and type tests for `@ember/debug/data-adapter`

- Introduce `Column` type and use it as appropriate.
- Update type tests for the *actual* API: a...

09f3b3685ffd5679818f9e6aeb10aaddb957a421 authored over 1 year ago by Chris Krycho <[email protected]>
Correctly capture the overload semantics of `warn`

9f293e53eaffdacf564354463df95ad0e02bfc87 authored over 1 year ago by Chris Krycho <[email protected]>
Fix type errors (by using simpler types!) for utils

ccb1afa8715af06ba48a59bdd1f1a9a32d86f8a3 authored over 1 year ago by Chris Krycho <[email protected]>
Update types and tests for Ember namespace

- Give onerror a useful type (the one it has always had).
- Mark some exported items as private....

436d583373f2ce0ff6b99b6bc5efd443683886b7 authored over 1 year ago by Chris Krycho <[email protected]>
Make the `compare` utility more type safe

afa3d9707355faa3db81782fbd792b1d711bc482 authored over 1 year ago by Chris Krycho <[email protected]>
Remove extraneous type parameter from ArrayProxy

229eb14993560cdb0cc9a80e5acc9f702610a9a0 authored over 1 year ago by Chris Krycho <[email protected]>
Make cache-for slightly type-safer

Add an overload which correctly handles keyof lookups.

bdf9fcf1a74b346b1298d9dcddde45bb8ee6a479 authored over 1 year ago by Chris Krycho <[email protected]>
Dramatically simplify routing types, fix its type tests

Since we have no ability to connect or check, within Ember itself or in
the things it provides t...

d48f51e258a079a7a29aecc3d62a4f1ded627259 authored over 1 year ago by Chris Krycho <[email protected]>
Extract owner and location side effect modules for routing/location

As with our service registry, we need these to live in separate files
so they can be copied over...

abc0c4eacf8dab3a552711bb078a24021d7d362d authored over 1 year ago by Chris Krycho <[email protected]>
Provide a useful type for `@computed.meta()`

Useful and *hopefully* accurate, but the implementation is a bit murky
as to what the intended s...

6385ceac95d6294c435ccb1a2495a55a66e86f89 authored over 1 year ago by Chris Krycho <[email protected]>
Add top-level safe key list for `getProperties`

This already works in the variant where the caller passes in an array,
but we did not have the o...

7e5cc1af70a7b426526f2df93e70ee82e5a25586 authored over 1 year ago by Chris Krycho <[email protected]>
Refactor `Ember` namespace to be a TS `namespace`

While the `namespace` construct is very much to be avoided for new
code, it is *exactly* correct...

2fdb3f577416d476751fea4833c54babdd75736a authored over 1 year ago by Chris Krycho <[email protected]>
Handle `declare namespace` in types publishing script

`namespace` and `module` both introduce TS `ModuleDeclaration` types,
so we distinguish between ...

e5960025a4d98aae0b1cc2ad81c51239c6d46ee4 authored over 1 year ago by Chris Krycho <[email protected]>
Handle type (un)safety of some runloop `bind`

We can safely type *almost* all variants, but not using Ember's `bind`
with `this` and a string ...

5d2db7ea153a0a759751cc0d7aec2f44664a96cb authored over 1 year ago by Chris Krycho <[email protected]>
Update `@ember/application` type tests for DI registry

Now that the service registry provides a constraint of `object` for the
entries, rather than no ...

ee423311aafb4a43ec28f1813d56c65a5f644f5f authored over 1 year ago by Chris Krycho <[email protected]>
Correct `@ember/object` type tests given improved safety

Previously (i.e. on earlier versions of TS) we did not consistently get
the type params preservi...

6dedf8bef2ecaeed2f4deb817fa961a6be94b8c9 authored over 1 year ago by Chris Krycho <[email protected]>
Fix types and type tests for `@ember/array`

- `sortBy()` can accept multiple keys to sort on
- Type tests should not name `EmberArray` as `A...

6e1472e602a9e24cc03ea234baa07c6aae2fdd66 authored over 1 year ago by Chris Krycho <[email protected]>
Substantially refactor `publish.mjs`

Introduce the ability to copy over hand-authored `.d.ts` files; Ember
has a number of these for ...

4408557dc22991f59503f49f25dd2fe4e0ae48bb authored over 1 year ago by Chris Krycho <[email protected]>
Loosen restriction on service registry

Services can be any object, both in practice for today and in a future
where Ember services don'...

64737576ce2d6285e87432779d08932d5e5a69e8 authored over 1 year ago by Chris Krycho <[email protected]>
Name the return type of (internal) controllerFor

This prevents us from needing to emit (rewritten) relative paths for
the return type.

632cb35e97742274ac60a10122a2630d153d827e authored over 1 year ago by Chris Krycho <[email protected]>
Correctly handle router registration into service registry

Use the same pattern for this as for extending the DIRegistry with the
service registry: create ...

31cef6f2f9bd94322057f873048ab5db6392f1fb authored over 1 year ago by Chris Krycho <[email protected]>
Emit named items for built-in components

The `Input` and `Textarea` components were previously being emitted as
the direct result of the ...

3940d67c880c9f91ba99a018402716a05b9287c5 authored over 1 year ago by Chris Krycho <[email protected]>
Use `keyof this` in `Observable`'s `get`, `set`, etc.

This makes `this.get('foo')` and friends work in roughly the same cases
where `get(this, 'foo')`...

3917d20ab49f872fe3860493b8bd75cdd82becc8 authored over 1 year ago by Chris Krycho <[email protected]>
Do not special-case ember-template-compiler/lib/types

These can go through the normal pipeline by being a `.ts` files instead
of a `.d.ts` file in the...

edbb76872ff71be3aafdf3e3b64abcef808ac83f authored over 1 year ago by Chris Krycho <[email protected]>
Correct the `@ember/application` type test

The previous test was overly generous, allowing users to pass anything
into the `buildInstance()...

4e15f8b6c4f0bb4d44c192b7597472d65597e0a7 authored over 1 year ago by Chris Krycho <[email protected]>
Publishing script: do not wrap passthrough copies

This makes it so we can write code for things like the `DIRegistry`
which works correctly at bot...

c1f00735e805ce57281972d57af77de3bd1e0708 authored over 1 year ago by Chris Krycho <[email protected]>
Update how we compile backburner.js' types

Use the full package name in both the broccoli build and all imports
which reference it, so that...

80b738d2a04b66bb778ec98c7cc9b1f7fca3edf4 authored over 1 year ago by Chris Krycho <[email protected]>
The router service presently takes a generic

We should, separately, fix that: it doesn't actually make sense for the
`RouterService` to be ge...

e034e72707d59e43863472cf8e72fd508cd81d25 authored over 1 year ago by Chris Krycho <[email protected]>
Import a root without `/index` in `ember-template-compiler`

Instead of working around this in the type publishing infrastructure
(though we may ultimately w...

6551040fdbd216ce5e111f8f888cc96d8c92ee2e authored over 1 year ago by Chris Krycho <[email protected]>
Provide an `owner-ext` for `@ember/service`

`owner-ext` is a pass-through type definition module which adds the
`Registry` from `@ember/serv...

5da100d1963a362bb4a81b73274efbea9fc2846b authored over 1 year ago by Chris Krycho <[email protected]>
Add ability to manually copy `.d.ts` type modules

Some packages in the project supply `.d.ts` files which must be part of
both the authoring-time ...

22a100bacecfd8fbe8f8fc3cae5b7f1fe94e5b11 authored over 1 year ago by Chris Krycho <[email protected]>
Change how loader's `define` becomes visiblte to TS

Previously, this was defined as a global in `ember-template-compiler`.
This was not really corre...

06b7acb945c7bb7590a2d2593aa8214c5ac63d08 authored over 1 year ago by Chris Krycho <[email protected]>
Publish types from source and remove preview types

Remove *all* preview types, update the publishing script to publish all
packages from source, an...

90f78e7a5612bbe6eda0f71a5133916146631fa8 authored over 1 year ago by Chris Krycho <[email protected]>
Bump recast from 0.21.5 to 0.22.0

Bumps [recast](https://github.com/benjamn/recast) from 0.21.5 to 0.22.0.
- [Release notes](https...

a7aa17a76989ba6fa36177605fabf40277351340 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #20439 from emberjs/ts-targets

[CLEANUP BETA] Update tsconfig to target ES2021

b1ebc7d4abf99b04168e824137d8e2ecd3a329a6 authored over 1 year ago by Chris Krycho <[email protected]>
Remove special-case lookup for TypeScript

Since `broccoli-typescript-compiler` v8, we get `typescript` directly
ourselves, and `broccoli-t...

fc683313630a729bf737fbb673deef1f65ff2628 authored over 1 year ago by Chris Krycho <[email protected]>
chore: upgrade broccoli-rollup and drop unused plugins

Notes:

1. We cannot currently upgrade beyond `broccoli-rollup` v3. Most likely
this is relat...

cd818745252da68260ebc2a61c29672ebc541849 authored over 1 year ago by Chris Krycho <[email protected]>
[CLEANUP BETA] Update tsconfig to target ES2021

All of our target browsers and Node versions for Ember v5.0 support
ES2021, so update our TS ver...

57ead6836a258f44de20670969e0bf6cfaa8089b authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20441 from emberjs/fix-ts-nightly

[BUGFIX beta] fix for TS 5.1 nightly narrowing change

2a8e06380a6a2be235e423d74c032239cb4dd430 authored over 1 year ago by Chris Krycho <[email protected]>
[BUGFIX beta] fix for TS 5.1 nightly narrowing change

The type here was `any` and *sort of* narrowing before; now it checks
explicitly whether it is `...

226fc028300975346478407938c8723114e8441e authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20433 from emberjs/dependabot/npm_and_yarn/typescript-eslint/parser-5.57.1

Bump @typescript-eslint/parser from 5.51.0 to 5.57.1

38f53ef6f24187f6f73f97d00162cf16f18d4ef2 authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20440 from emberjs/update-pinned-node

[BUGFIX beta] Volta pin Node to 16.x

440b0d8d05aa76eeae36df785ea8b42b250439eb authored over 1 year ago by Chris Krycho <[email protected]>
[BUGFIX beta] Volta pin Node to 16.x

In d2c965af we bumped the engines version, but missed Volta, so folks using
Volta locally get an...

421a9315c1554465ee14be635b2861b43a54b49d authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20434 from emberjs/fix-history-location-types

[BUGFIX stable] Fix HistoryLocation preview types

f905915012e3f4d6c852d5d6fbc391a4d21061a1 authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20438 from emberjs/drop-node-14

[BREAKING BUGFIX beta] Drop support for Node 14

bcc19bb54fd123fed30604445225be9f0847d7df authored over 1 year ago by Katie Gengler <[email protected]>
[BREAKING BUGFIX beta] Drop support for Node 14

Node 14 is EOL'ed as of 2023-04-30, which will happen **before** 5.0.0
stable will be out, so IM...

d2c965afaed301cddf35245feef6516430c50439 authored over 1 year ago by Robert Jackson <[email protected]>
Merge pull request #20436 from emberjs/kg-fix-branch-name

Update `master` to `main` where used

d73d40900426be3fdf3188b9bfaa41bc28d5813a authored over 1 year ago by Katie Gengler <[email protected]>
Update `master` to `main` where used

a851f5fc02b9bb32b8bdef41719a3192b4b63a14 authored over 1 year ago by Katie Gengler <[email protected]>
Fix HistoryLocation preview types

These methods are optional in `interface Location`, but they are definitely present in `class Hi...

fc3997576b3ce74082545463e25386cdb9848ae8 authored over 1 year ago by Edward Faulkner <[email protected]>
Bump @typescript-eslint/parser from 5.51.0 to 5.57.1

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HE...

3f416a82437f67fcdbca111538fa77f0ca7ec65c authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump ember-auto-import from 2.5.0 to 2.6.3

Bumps [ember-auto-import](https://github.com/ef4/ember-auto-import/tree/HEAD/packages/ember-auto...

d337abd0a8505b5c3eb1b0e949aee5038c3cc278 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Post-release version bump

60d2e0cddb353aea0d6e36a72fda971010d92355 authored over 1 year ago by Katie Gengler <[email protected]>
Add v5.0.0-beta.1 to CHANGELOG

(cherry picked from commit f82a177af4a24c3a6bf96db653e21f2fe2584db6)

1c2945a07b81718007a4a9bc948b3c0e4c7cd7cd authored over 1 year ago by Katie Gengler <[email protected]>
Merge pull request #20402 from bertdeblock/drop-support-for-ember-cli-mocha-and-ember-mocha

7e59a27c96419b77da2af9acf7374ae2b9afcab8 authored over 1 year ago by Katie Gengler <[email protected]>
Add v4.12.0 to CHANGELOG

(cherry picked from commit 7a49a334ee7414255afcb35f022b11900f2c80d2)

92d431758806fcb9358cbd840b4c6c5ec777da05 authored over 1 year ago by Katie Gengler <[email protected]>
Merge pull request #20426 from emberjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.57.0

Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.57.0

630041114ff0c10a5a49dc0c4a36d2f9ab28a5ea authored over 1 year ago by Chris Krycho <[email protected]>
Merge pull request #20429 from emberjs/consistent-return

[BUGFIX stable] TS lint-level error in `mixins/-proxy.ts`

16b1b970c7d4bbcee6bf5ed1ce8dbcbc7054c7e5 authored over 1 year ago by Chris Krycho <[email protected]>
Fix TS lint-level error for consistent returns

Explicitly do a consistent return from a number of spots which TS 5.1
nightlies are catching, an...

6b386ae06327d4dfa872faf4ba3c3b7615278c89 authored over 1 year ago by Chris Krycho <[email protected]>
Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.57.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/...

57a415a82e5a52ca14cf9305e4dd53fa24d7dcc4 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #20417 from emberjs/location-type-fix

Fix types for `Location` after deprecation removal

7c6fec2405516a98a6f59fc31b46056dbeb59d09 authored almost 2 years ago by Chris Krycho <[email protected]>
Merge pull request #20410 from NullVoxPopuli/add-ember-template-compilation

[BUGFIX types] Add missing type declarations in the preview types for @ember/template-compilation

2217669e752fe0f4b66c413533a05df3f7bda07d authored almost 2 years ago by Chris Krycho <[email protected]>
Fix types for `Location` after deprecation removal

1. Make the exported interface the default export in both the internal
definitions and the ex...

4dc1380af2c4f3a0e5dda4cd5179c9fdbbe556c0 authored almost 2 years ago by Chris Krycho <[email protected]>
Merge pull request #20413 from emberjs/remove-deprecated-transition-methods

[CLEANUP] Remove deprecated routing.transition-methods

15e3e07c3d2332fee71593b73259f0080fcf8bfa authored almost 2 years ago by Chris Krycho <[email protected]>
[BUGFIX types] Add missing type declarations in the preview types for @ember/template-compilation

8d18b078979fd6026cb822102aee9f9d1152b6b8 authored almost 2 years ago by NullVoxPopuli <[email protected]>
[CLEANUP types] refactor TemplateFactory type

6a4ff68a7564601aba2a9fda766bbdc7c8a989e0 authored almost 2 years ago by NullVoxPopuli <[email protected]>
Merge pull request #20416 from emberjs/more-autolocation-cleanup

[CLEANUP] Finish cleaning up `Location` interface

5555fdd87fcbcf81fdef12aba3ca4cf821a97715 authored almost 2 years ago by Chris Krycho <[email protected]>
[CLEANUP] Finish cleaning up `Location` interface

- Remove `detect` and `implementation` from interface and its
implementations.
- Just use norm...

5399689dbef1bf63e344ee72dc7bed5a2a6d8410 authored almost 2 years ago by Chris Krycho <[email protected]>
Merge pull request #20415 from emberjs/remove-unused-imports

87a2d971c83ded809fa918d9ef228d5771133604 authored almost 2 years ago by Peter Wagenet <[email protected]>
[CLEANUP] Remove deprecated routing.transition-methods

These methods have been replaced by methods on the RouterService.

59620fece112e51d9ccf36aa3073ecf5542d6423 authored almost 2 years ago by Peter Wagenet <[email protected]>
Merge pull request #20414 from emberjs/fix-smoke-tests

[CLEANUP] Add @ember/string to smoke-tests app

f10825a2f35d3abdc82363362367e7afadcb1f33 authored almost 2 years ago by Peter Wagenet <[email protected]>
Remove unused imports

c5bf01a6fd2a52297720813da39af600faeff9a9 authored almost 2 years ago by Peter Wagenet <[email protected]>
Add @ember/string to smoke-tests app

f67091d22f1be2f806b1adbed1039ac45edc6ebb authored almost 2 years ago by Peter Wagenet <[email protected]>
Merge pull request #20379 from emberjs/balete-ember-error

[CLEANUP] Remove deprecated `@ember/error` package

7fd6ce6ace37f134ed77a899dd9b42d68559a272 authored almost 2 years ago by Peter Wagenet <[email protected]>
[CLEANUP] Remove deprecated `@ember/error` package

01eccafe069983e2bd5c3c952a67c6d8aa31e134 authored almost 2 years ago by Chris Krycho <[email protected]>
Update smoke-tests to Ember CLI 4.8

66e9edd39b43e99de167bf64fefd1cf028af12ef authored almost 2 years ago by Peter Wagenet <[email protected]>
Update smoke tests to more recent ember-data version

29a137b8dca2046cd26dc3c512e1a1ce32086c74 authored almost 2 years ago by Peter Wagenet <[email protected]>