Skip to content

Commit

Permalink
Merge pull request #20609 from NullVoxPopuli/upgrade-to-glimmer-vm-0-86
Browse files Browse the repository at this point in the history
Bump all glimmer-vm dependencies to 0.87.1
  • Loading branch information
ef4 authored Jan 2, 2024
2 parents 5ca3e86 + 1ea6c40 commit 5c19329
Show file tree
Hide file tree
Showing 28 changed files with 454 additions and 466 deletions.
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;
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) {
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

0 comments on commit 5c19329

Please sign in to comment.