Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump all glimmer-vm dependencies to 0.87.1 #20609

Merged
merged 6 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,24 @@
"dependencies": {
"@babel/helper-module-imports": "^7.16.7",
"@ember/edition-utils": "^1.2.0",
"@glimmer/compiler": "0.85.13",
"@glimmer/compiler": "0.87.1",
"@glimmer/component": "^1.1.2",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/global-context": "0.85.13",
"@glimmer/interfaces": "0.85.13",
"@glimmer/manager": "0.85.13",
"@glimmer/node": "0.85.13",
"@glimmer/opcode-compiler": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/program": "0.85.13",
"@glimmer/reference": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/syntax": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/vm": "0.85.13",
"@glimmer/vm-babel-plugins": "0.85.13",
"@glimmer/global-context": "0.87.1",
"@glimmer/interfaces": "0.87.1",
"@glimmer/manager": "0.87.1",
"@glimmer/node": "0.87.1",
"@glimmer/opcode-compiler": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/program": "0.87.1",
"@glimmer/reference": "0.87.1",
"@glimmer/runtime": "0.87.1",
"@glimmer/syntax": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"@glimmer/vm": "0.87.1",
"@glimmer/vm-babel-plugins": "0.87.1",
"@simple-dom/interface": "^1.4.0",
"babel-plugin-debug-macros": "^0.3.4",
"babel-plugin-ember-template-compilation": "^2.1.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/@ember/-internals/glimmer/lib/utils/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export function installAttributeBinding(
let [prop, attribute, isSimple] = parsed;

if (attribute === 'id') {
let elementId = get(component, prop);
// SAFETY: `get` could not infer the type of `prop` and just gave us `unknown`.
// we may want to throw an error in the future if the value isn't string or null/undefined.
let elementId = get(component, prop) as string | null;
Comment on lines +61 to +63
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N.b. the right way to do this is to use a dev-time assert() that is stripped in prod builds instead!

if (elementId === undefined || elementId === null) {
elementId = component.elementId;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { moduleFor, RenderingTestCase, runTask } from 'internal-test-helpers';
import { isChrome, isFirefox } from '@ember/-internals/browser-environment';
import { getInternalModifierManager } from '@glimmer/manager';
import { on } from '@glimmer/runtime';

Expand Down Expand Up @@ -32,18 +31,6 @@ moduleFor(
);
}

'@test SUPPORTS_EVENT_OPTIONS is correct (private API usage)'(assert) {
Copy link
Contributor Author

@NullVoxPopuli NullVoxPopuli Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this test anymore.
glimmerjs/glimmer-vm#1535

From the implementation notes:

/*
  Internet Explorer 11 does not support `once` and also does not support
  passing `eventOptions`. In some situations it then throws a weird script
  error, like:
  ```
  Could not complete the operation due to error 80020101
  ```
  This flag determines, whether `{ once: true }` and thus also event options in
  general are supported.
*/

https://github.com/glimmerjs/glimmer-vm/pull/1535/files#diff-301b4fe274bd34f5552c35fc1f58078575896ba487df721bed939eb1d0fe9891L19-L30

let manager = this.getOnManagerInstance();

let { SUPPORTS_EVENT_OPTIONS } = manager;

if (isChrome || isFirefox) {
assert.strictEqual(SUPPORTS_EVENT_OPTIONS, true, 'is true in chrome and firefox');
} else {
assert.expect(0);
}
}

['@test it adds an event listener'](assert) {
let count = 0;

Expand Down
31 changes: 15 additions & 16 deletions packages/@ember/-internals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@
"@ember/service": "workspace:*",
"@ember/template-factory": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/compiler": "0.85.13",
"@glimmer/compiler": "0.87.1",
"@glimmer/component": "^1.1.2",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/global-context": "0.85.13",
"@glimmer/interfaces": "0.85.13",
"@glimmer/manager": "0.85.13",
"@glimmer/node": "0.85.13",
"@glimmer/opcode-compiler": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/program": "0.85.13",
"@glimmer/reference": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/syntax": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/vm": "0.85.13",
"@glimmer/global-context": "0.87.1",
"@glimmer/interfaces": "0.87.1",
"@glimmer/manager": "0.87.1",
"@glimmer/node": "0.87.1",
"@glimmer/opcode-compiler": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/program": "0.87.1",
"@glimmer/reference": "0.87.1",
"@glimmer/runtime": "0.87.1",
"@glimmer/syntax": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"@glimmer/vm": "0.87.1",
"@simple-dom/interface": "^1.4.0",
"backburner.js": "^2.7.0",
"dag-map": "^2.0.2",
Expand All @@ -67,4 +67,3 @@
"rsvp": "^4.8.5"
}
}

8 changes: 4 additions & 4 deletions packages/@ember/application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"@ember/runloop": "workspace:*",
"@ember/service": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"backburner.js": "^2.7.0",
"dag-map": "^2.0.2",
"ember": "workspace:*",
Expand Down
10 changes: 5 additions & 5 deletions packages/@ember/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"@ember/object": "workspace:*",
"@ember/runloop": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/@ember/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"@ember/-internals": "workspace:*",
"@glimmer/manager": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/runtime": "0.87.1",
"expect-type": "^0.15.0"
}
}
8 changes: 4 additions & 4 deletions packages/@ember/controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@ember/debug": "workspace:*",
"@ember/object": "workspace:*",
"@ember/service": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/@ember/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"@ember/routing": "workspace:*",
"@ember/runloop": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"backburner.js": "^2.7.0",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/@ember/destroyable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
".": "./index.ts"
},
"dependencies": {
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"expect-type": "^0.15.0"
}
}
8 changes: 4 additions & 4 deletions packages/@ember/engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@ember/runloop": "workspace:*",
"@ember/service": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"dag-map": "^2.0.2",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions packages/@ember/enumerable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@ember/array": "workspace:*",
"@ember/debug": "workspace:*",
"@ember/object": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"internal-test-helpers": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions packages/@ember/helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"dependencies": {
"@ember/-internals": "workspace:*",
"@ember/component": "workspace:*",
"@glimmer/manager": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/runtime": "0.87.1",
"expect-type": "^0.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/@ember/instrumentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@ember/runloop": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/env": "^0.1.7",
"@glimmer/validator": "0.85.13",
"@glimmer/validator": "0.87.1",
"internal-test-helpers": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions packages/@ember/modifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"dependencies": {
"@ember/-internals": "workspace:*",
"@glimmer/manager": "0.85.13",
"@glimmer/runtime": "0.85.13"
"@glimmer/manager": "0.87.1",
"@glimmer/runtime": "0.87.1"
}
}
10 changes: 5 additions & 5 deletions packages/@ember/object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"@ember/runloop": "workspace:*",
"@ember/service": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/@ember/routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"@ember/runloop": "workspace:*",
"@ember/service": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"backburner.js": "^2.7.0",
"dag-map": "^2.0.2",
"expect-type": "^0.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@ember/runloop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@ember/object": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/env": "^0.1.7",
"@glimmer/validator": "0.85.13",
"@glimmer/validator": "0.87.1",
"backburner.js": "^2.7.0",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
Expand Down
8 changes: 4 additions & 4 deletions packages/@ember/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"@ember/array": "workspace:*",
"@ember/debug": "workspace:*",
"@ember/object": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/@ember/template-compilation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"dependencies": {
"@ember/-internals": "workspace:*",
"@ember/canary-features": "workspace:*",
"@glimmer/compiler": "0.85.13",
"@glimmer/compiler": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/syntax": "0.85.13",
"@glimmer/syntax": "0.87.1",
"ember": "workspace:*",
"ember-template-compiler": "workspace:*"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@ember/template-factory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
".": "./index.ts"
},
"dependencies": {
"@glimmer/opcode-compiler": "0.85.13"
"@glimmer/opcode-compiler": "0.87.1"
}
}
10 changes: 5 additions & 5 deletions packages/@ember/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"@ember/enumerable": "workspace:*",
"@ember/object": "workspace:*",
"@ember/runloop": "workspace:*",
"@glimmer/destroyable": "0.85.13",
"@glimmer/destroyable": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/owner": "0.85.13",
"@glimmer/util": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/owner": "0.87.1",
"@glimmer/util": "0.87.1",
"@glimmer/validator": "0.87.1",
"expect-type": "^0.15.0",
"internal-test-helpers": "workspace:*"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/@ember/version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@ember/runloop": "workspace:*",
"@ember/service": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/manager": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/runtime": "0.87.1",
"backburner.js": "^2.7.0",
"ember": "workspace:*",
"expect-type": "^0.15.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/ember-template-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"@ember/service": "workspace:*",
"@ember/template-compilation": "workspace:*",
"@ember/utils": "workspace:*",
"@glimmer/compiler": "0.85.13",
"@glimmer/compiler": "0.87.1",
"@glimmer/env": "^0.1.7",
"@glimmer/manager": "0.85.13",
"@glimmer/runtime": "0.85.13",
"@glimmer/syntax": "0.85.13",
"@glimmer/validator": "0.85.13",
"@glimmer/manager": "0.87.1",
"@glimmer/runtime": "0.87.1",
"@glimmer/syntax": "0.87.1",
"@glimmer/validator": "0.87.1",
"backburner.js": "^2.7.0",
"ember": "workspace:*",
"internal-test-helpers": "workspace:*"
Expand Down
Loading
Loading