Skip to content

Add @ember/string dependency to package.json#1203

Merged
mixonic merged 2 commits intoAddepar:masterfrom
NullVoxPopuli:patch-1
Feb 27, 2026
Merged

Add @ember/string dependency to package.json#1203
mixonic merged 2 commits intoAddepar:masterfrom
NullVoxPopuli:patch-1

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

@NullVoxPopuli NullVoxPopuli commented Nov 8, 2025

Probably solves #1202

@HEYGUL
Copy link
Copy Markdown

HEYGUL commented Nov 27, 2025

I was about to do the same PR :-)
Thank you for this job.
Any chance to have a release soon embedding this change ?

@mixonic
Copy link
Copy Markdown
Member

mixonic commented Dec 1, 2025

I re-ran the failing tests here once or twice and they seem persistent. I expect they need debugging- Either something in the change itself or possibly in the way the test scenarios are setup in Ember try is not as is expected.

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

@mixonic I believe this is a floating dep issue:


not ok 1 Chrome 142.0 - [undefined ms] - Global error: Uncaught Error: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js". at http://localhost:7357/119130529214/tests/index.html?hidepassed, line 80
    ---
        browser log: |
            {"type":"error","text":"Uncaught Error: The tests file was not loaded. Make sure your tests index.html includes \"assets/tests.js\". at http://localhost:7357/119130529214/tests/index.html?hidepassed, line 80\n","testContext":{}}
    ...

if you re-roll the lockfile on a separate branch, I would expect something similar to appear

@HEYGUL
Copy link
Copy Markdown

HEYGUL commented Dec 16, 2025

Hi @mixonic
Do you need any help to push this work to release ?
I'll be glad to help you.

@gwak
Copy link
Copy Markdown

gwak commented Feb 25, 2026

Will this PR be merged eventually ? I'm battling with @ember/string 3 (addon) vs 4 (app) while transitioning to vite ?

@mixonic
Copy link
Copy Markdown
Member

mixonic commented Feb 27, 2026

I've rebased and force pushed this. I have not investigated the failures, as I mentioned I only re-ran the tests.

if you re-roll the lockfile on a separate branch, I would expect something similar to appear

Possibly, but there are scenarios which run and pass. The test suite in Ember 5+ seems to be where the issue occurs.

@mixonic
Copy link
Copy Markdown
Member

mixonic commented Feb 27, 2026

Huzzah. Dropping string as a dependency, and simply inlining the needed code, is a reasonable fix. Landing it. The docs failure is an issue on master.

@mixonic mixonic merged commit a0f4a4f into Addepar:master Feb 27, 2026
8 of 9 checks passed
@mixonic
Copy link
Copy Markdown
Member

mixonic commented Feb 27, 2026

This is included in 6.0.0-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants