ember-inspector 4.13.1-alpha.2024.8.9 → 4.13.1-alpha.2025.6.8

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 (367) hide show
  1. package/README.md +10 -2
  2. package/app/components/app-picker.hbs +2 -2
  3. package/app/components/component-tree-item.hbs +13 -13
  4. package/app/components/component-tree-toolbar.hbs +3 -3
  5. package/app/components/{date-property-field.js → date-property-field.ts} +6 -5
  6. package/app/components/deprecation-item-source.hbs +1 -1
  7. package/app/components/deprecation-item.hbs +1 -1
  8. package/app/components/deprecations-toolbar.hbs +1 -1
  9. package/app/components/item-types.hbs +7 -7
  10. package/app/components/list-cell.hbs +3 -3
  11. package/app/components/list-content.hbs +4 -3
  12. package/app/components/list-content.ts +96 -0
  13. package/app/components/list.hbs +3 -3
  14. package/app/components/list.js +7 -7
  15. package/app/components/model-types-toolbar.hbs +3 -3
  16. package/app/components/object-inspector/dependent-keys.hbs +4 -4
  17. package/app/components/object-inspector/errors.hbs +4 -4
  18. package/app/components/object-inspector/properties-all.hbs +1 -1
  19. package/app/components/object-inspector/properties-grouped.hbs +5 -5
  20. package/app/components/object-inspector/property.hbs +16 -16
  21. package/app/components/object-inspector/property.ts +26 -17
  22. package/app/components/object-inspector/sort-properties.js +12 -4
  23. package/app/components/object-inspector.hbs +8 -8
  24. package/app/components/object-inspector.js +1 -1
  25. package/app/components/promise-item.hbs +11 -11
  26. package/app/components/promise-item.js +8 -6
  27. package/app/components/promise-tree-toolbar.hbs +5 -5
  28. package/app/components/records-toolbar.hbs +2 -2
  29. package/app/components/render-item.hbs +4 -4
  30. package/app/components/render-item.ts +12 -9
  31. package/app/components/render-tree-toolbar.hbs +1 -1
  32. package/app/components/route-cell-name.hbs +1 -1
  33. package/app/components/route-cell-name.js +3 -2
  34. package/app/components/route-tree-toolbar.hbs +2 -2
  35. package/app/components/scroll-container.js +2 -0
  36. package/app/components/side-nav.hbs +5 -5
  37. package/app/components/side-nav.js +1 -1
  38. package/app/computed/{debounce.js → debounce.ts} +7 -5
  39. package/app/config/environment.d.ts +5 -2
  40. package/app/controllers/app-config.js +1 -0
  41. package/app/controllers/application.js +33 -34
  42. package/app/controllers/component-tree.js +3 -2
  43. package/app/controllers/container-type.js +2 -1
  44. package/app/controllers/container-types/{index.js → index.ts} +5 -2
  45. package/app/controllers/container-types.js +3 -6
  46. package/app/controllers/deprecations.js +16 -11
  47. package/app/controllers/libraries.js +1 -0
  48. package/app/controllers/model-types.js +1 -0
  49. package/app/controllers/promise-tree.ts +149 -0
  50. package/app/controllers/records.js +18 -26
  51. package/app/controllers/{render-tree.js → render-tree.ts} +54 -45
  52. package/app/controllers/route-tree.js +7 -5
  53. package/app/helpers/build-style.js +1 -1
  54. package/app/initializers/setup.js +1 -1
  55. package/app/libs/promise-assembler.ts +249 -0
  56. package/app/libs/resizable-columns.js +10 -10
  57. package/app/models/{promise.js → promise.ts} +72 -69
  58. package/app/{router.js → router.ts} +1 -1
  59. package/app/routes/app-detected.js +3 -5
  60. package/app/routes/application.js +6 -12
  61. package/app/routes/deprecations.js +7 -16
  62. package/app/routes/launch.js +2 -1
  63. package/app/routes/libraries.js +2 -1
  64. package/app/routes/model-type.js +2 -3
  65. package/app/routes/model-types.ts +57 -0
  66. package/app/routes/promise-tree.ts +63 -0
  67. package/app/routes/records.ts +78 -0
  68. package/app/routes/render-tree.ts +93 -0
  69. package/app/routes/route-tree.js +0 -1
  70. package/app/routes/{tab.js → tab.ts} +9 -2
  71. package/app/routes/whats-new.js +1 -1
  72. package/app/services/adapters/{basic.js → basic.ts} +36 -30
  73. package/app/services/adapters/{bookmarklet.js → bookmarklet.ts} +17 -24
  74. package/app/services/adapters/{chrome.js → chrome.ts} +1 -2
  75. package/app/services/adapters/{web-extension.js → web-extension.ts} +43 -46
  76. package/app/services/adapters/websocket.ts +40 -0
  77. package/app/services/layout.ts +88 -0
  78. package/app/services/port.ts +195 -0
  79. package/app/services/storage/{local.js → local.ts} +7 -20
  80. package/app/services/storage/{memory.js → memory.ts} +6 -21
  81. package/app/services/{storage.js → storage.ts} +9 -20
  82. package/app/styles/base.scss +4 -2
  83. package/app/styles/colors.scss +33 -31
  84. package/app/styles/component_tree.scss +56 -51
  85. package/app/styles/dropdown.scss +2 -2
  86. package/app/styles/ember-table.scss +3 -3
  87. package/app/styles/mixin.scss +26 -26
  88. package/app/styles/object_inspector.scss +22 -21
  89. package/app/styles/utils.scss +408 -122
  90. package/app/templates/application.hbs +11 -11
  91. package/app/templates/component-tree.hbs +1 -1
  92. package/app/templates/deprecations.hbs +2 -3
  93. package/app/templates/info.hbs +10 -10
  94. package/app/templates/promise-tree.hbs +1 -1
  95. package/app/templates/render-tree.hbs +1 -1
  96. package/app/templates/route-tree.hbs +1 -1
  97. package/app/utils/escape-reg-exp.ts +3 -2
  98. package/app/utils/nullish.ts +7 -0
  99. package/app/utils/parse-text.ts +4 -5
  100. package/app/utils/truncate.js +0 -1
  101. package/config/ember-cli-update.json +5 -3
  102. package/config/ember-try.js +117 -72
  103. package/config/environment.js +1 -1
  104. package/config/optional-features.json +2 -1
  105. package/dist/bookmarklet/load_inspector.js +30 -11
  106. package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  107. package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  108. package/dist/bookmarklet/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
  109. package/dist/bookmarklet/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
  110. package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.css +150 -155
  111. package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.js +486 -590
  112. package/dist/bookmarklet/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  113. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  114. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  115. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  116. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  117. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  118. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  119. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  120. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  121. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  122. package/dist/bookmarklet/panes-3-16-0/assets/vendor.css +147 -148
  123. package/dist/bookmarklet/panes-3-16-0/assets/vendor.js +5153 -5980
  124. package/dist/bookmarklet/panes-3-16-0/ember_debug.js +250 -268
  125. package/dist/bookmarklet/panes-3-16-0/index.html +3 -4
  126. package/dist/chrome/background.js +26 -21
  127. package/dist/chrome/boot.js +1 -1
  128. package/dist/chrome/content-script.js +11 -11
  129. package/dist/chrome/devtools.js +12 -3
  130. package/dist/chrome/manifest.json +2 -2
  131. package/dist/chrome/options.js +17 -12
  132. package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  133. package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  134. package/dist/chrome/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
  135. package/dist/chrome/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
  136. package/dist/chrome/panes-3-16-0/assets/ember-inspector.css +150 -155
  137. package/dist/chrome/panes-3-16-0/assets/ember-inspector.js +486 -590
  138. package/dist/chrome/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  139. package/dist/chrome/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  140. package/dist/chrome/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  141. package/dist/chrome/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  142. package/dist/chrome/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  143. package/dist/chrome/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  144. package/dist/chrome/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  145. package/dist/chrome/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  146. package/dist/chrome/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  147. package/dist/chrome/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  148. package/dist/chrome/panes-3-16-0/assets/vendor.css +147 -148
  149. package/dist/chrome/panes-3-16-0/assets/vendor.js +5153 -5980
  150. package/dist/chrome/panes-3-16-0/ember_debug.js +250 -268
  151. package/dist/chrome/panes-3-16-0/index.html +3 -4
  152. package/dist/chrome/scripts/in-page-script.js +19 -13
  153. package/dist/firefox/background.js +26 -21
  154. package/dist/firefox/boot.js +1 -1
  155. package/dist/firefox/content-script.js +11 -11
  156. package/dist/firefox/devtools.js +12 -3
  157. package/dist/firefox/manifest.json +2 -2
  158. package/dist/firefox/options.js +17 -12
  159. package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  160. package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  161. package/dist/firefox/panes-3-16-0/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
  162. package/dist/firefox/panes-3-16-0/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
  163. package/dist/firefox/panes-3-16-0/assets/ember-inspector.css +150 -155
  164. package/dist/firefox/panes-3-16-0/assets/ember-inspector.js +486 -590
  165. package/dist/firefox/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  166. package/dist/firefox/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  167. package/dist/firefox/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  168. package/dist/firefox/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  169. package/dist/firefox/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  170. package/dist/firefox/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  171. package/dist/firefox/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  172. package/dist/firefox/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  173. package/dist/firefox/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  174. package/dist/firefox/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  175. package/dist/firefox/panes-3-16-0/assets/vendor.css +147 -148
  176. package/dist/firefox/panes-3-16-0/assets/vendor.js +5153 -5980
  177. package/dist/firefox/panes-3-16-0/ember_debug.js +250 -268
  178. package/dist/firefox/panes-3-16-0/index.html +3 -4
  179. package/dist/firefox/scripts/in-page-script.js +19 -13
  180. package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  181. package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  182. package/dist/websocket/assets/chunk.524.c8707b06d2f496a0d15d.js +40 -0
  183. package/dist/websocket/assets/chunk.582.6d68f76dc5c8ba2b48a8.js +42 -0
  184. package/dist/websocket/assets/ember-inspector.css +150 -155
  185. package/dist/websocket/assets/ember-inspector.js +486 -590
  186. package/dist/websocket/assets/svg/ellipsis.svg +3 -3
  187. package/dist/websocket/assets/svg/nav-bug.svg +1 -1
  188. package/dist/websocket/assets/svg/nav-components.svg +2 -2
  189. package/dist/websocket/assets/svg/nav-container.svg +1 -1
  190. package/dist/websocket/assets/svg/nav-data.svg +1 -1
  191. package/dist/websocket/assets/svg/nav-deprecations.svg +3 -3
  192. package/dist/websocket/assets/svg/nav-info.svg +3 -3
  193. package/dist/websocket/assets/svg/nav-promises.svg +2 -2
  194. package/dist/websocket/assets/svg/nav-render-performance.svg +2 -2
  195. package/dist/websocket/assets/svg/nav-route-tree.svg +7 -7
  196. package/dist/websocket/assets/vendor.css +147 -148
  197. package/dist/websocket/assets/vendor.js +5153 -5980
  198. package/dist/websocket/ember_debug.js +250 -268
  199. package/dist/websocket/index.html +3 -4
  200. package/ember-cli-build.js +11 -11
  201. package/ember_debug/adapters/basic.js +2 -1
  202. package/ember_debug/adapters/bookmarklet.js +1 -0
  203. package/ember_debug/adapters/firefox.js +3 -3
  204. package/ember_debug/adapters/web-extension.js +2 -1
  205. package/ember_debug/data-debug.js +5 -6
  206. package/ember_debug/deprecation-debug.js +8 -8
  207. package/ember_debug/general-debug.js +1 -1
  208. package/ember_debug/libs/capture-render-tree.js +0 -1
  209. package/ember_debug/libs/promise-assembler.js +1 -0
  210. package/ember_debug/libs/render-tree.js +13 -12
  211. package/ember_debug/libs/source-map.js +5 -4
  212. package/ember_debug/libs/view-inspection.js +12 -12
  213. package/ember_debug/main.js +1 -1
  214. package/ember_debug/models/profile-manager.js +2 -1
  215. package/ember_debug/object-inspector.js +19 -18
  216. package/ember_debug/port.js +1 -0
  217. package/ember_debug/promise-debug.js +1 -1
  218. package/ember_debug/route-debug.js +3 -2
  219. package/ember_debug/services/session.js +1 -1
  220. package/ember_debug/utils/classify.js +1 -1
  221. package/ember_debug/utils/ember/debug.js +2 -0
  222. package/ember_debug/utils/ember/loader.js +2 -2
  223. package/ember_debug/utils/ember/runloop.js +2 -0
  224. package/ember_debug/utils/ember-object-names.js +2 -2
  225. package/ember_debug/utils/ember.js +9 -3
  226. package/ember_debug/utils/evented.js +1 -1
  227. package/ember_debug/utils/get-object-name.js +2 -2
  228. package/ember_debug/utils/rsvp.js +1 -0
  229. package/ember_debug/utils/type-check.js +5 -1
  230. package/ember_debug/vendor/startup-wrapper.js +4 -1
  231. package/ember_debug/view-debug.js +3 -2
  232. package/eslint.config.mjs +172 -0
  233. package/gulpfile.js +1 -1
  234. package/lib/ui/addon/components/drag-handle.hbs +4 -4
  235. package/lib/ui/addon/components/drag-handle.js +3 -1
  236. package/lib/ui/addon/components/empty-message.hbs +1 -1
  237. package/lib/ui/addon/components/error-page.hbs +3 -3
  238. package/lib/ui/addon/components/resizable-column.js +1 -1
  239. package/lib/ui/addon/components/toolbar-clear-button.hbs +1 -1
  240. package/lib/ui/addon/components/toolbar-reload-button.hbs +1 -1
  241. package/lib/ui/addon/components/toolbar-search-field.hbs +2 -2
  242. package/lib/ui/addon/styles/_disclosure-triangle.scss +3 -1
  243. package/lib/ui/addon/styles/_drag-handle.scss +7 -7
  244. package/lib/ui/addon/styles/_empty-message.scss +1 -1
  245. package/lib/ui/addon/styles/_error-page.scss +8 -7
  246. package/lib/ui/addon/styles/_list.scss +46 -45
  247. package/lib/ui/addon/styles/_nav.scss +29 -27
  248. package/lib/ui/addon/styles/_object-inspector-toggle.scss +5 -5
  249. package/lib/ui/addon/styles/_pill.scss +4 -4
  250. package/lib/ui/addon/styles/_send-to-console.scss +1 -1
  251. package/lib/ui/addon/styles/_split.scss +17 -20
  252. package/lib/ui/addon/styles/addon.scss +13 -13
  253. package/lib/ui/addon/styles/toolbar/_checkbox.scss +5 -5
  254. package/lib/ui/addon/styles/toolbar/_icon-button.scss +44 -25
  255. package/lib/ui/addon/styles/toolbar/_index.scss +6 -5
  256. package/lib/ui/addon/styles/toolbar/_radio.scss +10 -10
  257. package/lib/ui/addon/styles/toolbar/_search.scss +5 -3
  258. package/package.json +85 -86
  259. package/public/assets/svg/ellipsis.svg +3 -3
  260. package/public/assets/svg/nav-bug.svg +1 -1
  261. package/public/assets/svg/nav-components.svg +2 -2
  262. package/public/assets/svg/nav-container.svg +1 -1
  263. package/public/assets/svg/nav-data.svg +1 -1
  264. package/public/assets/svg/nav-deprecations.svg +3 -3
  265. package/public/assets/svg/nav-info.svg +3 -3
  266. package/public/assets/svg/nav-promises.svg +2 -2
  267. package/public/assets/svg/nav-render-performance.svg +2 -2
  268. package/public/assets/svg/nav-route-tree.svg +7 -7
  269. package/scripts/download-panes.js +1 -1
  270. package/skeletons/bookmarklet/load_inspector.js +30 -11
  271. package/skeletons/web-extension/background.js +26 -21
  272. package/skeletons/web-extension/boot.js +1 -1
  273. package/skeletons/web-extension/content-script.js +11 -11
  274. package/skeletons/web-extension/devtools.js +12 -3
  275. package/skeletons/web-extension/manifest.json +2 -2
  276. package/skeletons/web-extension/options.js +17 -12
  277. package/skeletons/web-extension/scripts/in-page-script.js +19 -13
  278. package/testem.js +0 -1
  279. package/tests/acceptance/app-picker-test.js +4 -4
  280. package/tests/acceptance/component-tree-test.js +43 -57
  281. package/tests/acceptance/container-test.js +0 -2
  282. package/tests/acceptance/data-test.js +8 -10
  283. package/tests/acceptance/deprecation-test.js +8 -12
  284. package/tests/acceptance/info-test.js +2 -2
  285. package/tests/acceptance/object-inspector-test.js +62 -110
  286. package/tests/acceptance/promise-test.js +1 -11
  287. package/tests/acceptance/render-tree-test.js +2 -2
  288. package/tests/acceptance/route-tree-test.js +12 -14
  289. package/tests/acceptance/whats-new-test.js +3 -3
  290. package/tests/ember_debug/container-debug-test.js +4 -4
  291. package/tests/ember_debug/deprecation-debug-test.js +8 -5
  292. package/tests/ember_debug/ember-debug-test.js +1 -4
  293. package/tests/ember_debug/object-inspector-test.js +44 -44
  294. package/tests/ember_debug/profile-manager-test.js +140 -165
  295. package/tests/ember_debug/profile-node-test.js +3 -3
  296. package/tests/ember_debug/promise-assembler-test.js +12 -9
  297. package/tests/ember_debug/promise-debug-test.js +5 -6
  298. package/tests/ember_debug/route-debug-test.js +8 -7
  299. package/tests/ember_debug/view-debug-test.js +179 -181
  300. package/tests/helpers/{index.js → index.ts} +6 -5
  301. package/tests/helpers/setup-ember-debug-test.js +14 -0
  302. package/tests/integration/injection-test.js +12 -13
  303. package/tests/test-adapter.js +15 -15
  304. package/tests/test-helper.js +6 -1
  305. package/tests/unit/check-current-route-test.js +0 -4
  306. package/tests/unit/resizable-columns-test.js +53 -51
  307. package/tests/unit/utils/parse-text-test.js +3 -3
  308. package/tests/unit/utils/search-match-test.js +5 -5
  309. package/tests/unit/utils/type-check-test.js +22 -0
  310. package/tsconfig.json +3 -1
  311. package/types/ember-inspector/index.d.ts +2 -1
  312. package/types/global.d.ts +1 -7
  313. package/.editorconfig +0 -19
  314. package/.ember-cli +0 -15
  315. package/.eslintignore +0 -33
  316. package/.eslintrc.js +0 -86
  317. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
  318. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  319. package/.github/dependabot.yml +0 -14
  320. package/.github/pull_request_template.md +0 -4
  321. package/.github/workflows/build.yml +0 -339
  322. package/.github/workflows/plan-release.yml +0 -83
  323. package/.github/workflows/publish.yml +0 -60
  324. package/.prettierignore +0 -25
  325. package/.prettierrc.js +0 -14
  326. package/.release-plan.json +0 -17
  327. package/.stylelintrc.js +0 -3
  328. package/.template-lintrc.js +0 -12
  329. package/.tool-versions +0 -2
  330. package/.watchmanconfig +0 -3
  331. package/app/components/.gitkeep +0 -0
  332. package/app/components/list-content.js +0 -130
  333. package/app/controllers/.gitkeep +0 -0
  334. package/app/controllers/promise-tree.js +0 -130
  335. package/app/helpers/.gitkeep +0 -0
  336. package/app/libs/promise-assembler.js +0 -169
  337. package/app/models/.gitkeep +0 -0
  338. package/app/routes/.gitkeep +0 -0
  339. package/app/routes/model-types.js +0 -47
  340. package/app/routes/promise-tree.js +0 -48
  341. package/app/routes/records.js +0 -55
  342. package/app/routes/render-tree.js +0 -66
  343. package/app/services/adapters/websocket.js +0 -31
  344. package/app/services/layout.js +0 -39
  345. package/app/services/port.js +0 -90
  346. package/dist/bookmarklet/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
  347. package/dist/bookmarklet/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
  348. package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  349. package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  350. package/dist/chrome/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
  351. package/dist/chrome/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
  352. package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  353. package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  354. package/dist/firefox/panes-3-16-0/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
  355. package/dist/firefox/panes-3-16-0/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
  356. package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  357. package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  358. package/dist/websocket/assets/chunk.143.143ca772b0b28102c74a.js +0 -28
  359. package/dist/websocket/assets/chunk.178.b50e140d1ed8777b583e.js +0 -9
  360. package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  361. package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  362. package/ember_debug/.eslintrc.js +0 -13
  363. package/tests/helpers/trigger-port.js +0 -6
  364. package/tests/unit/.gitkeep +0 -0
  365. /package/app/{app.js → app.ts} +0 -0
  366. /package/app/controllers/{info.js → info.ts} +0 -0
  367. /package/app/services/adapters/{firefox.js → firefox.ts} +0 -0
@@ -35,6 +35,7 @@ module('Ember Debug - Deprecation', function (hooks) {
35
35
 
36
36
  this.owner.register(
37
37
  'route:application',
38
+ // eslint-disable-next-line ember/no-classic-classes
38
39
  Route.extend({
39
40
  setupController() {
40
41
  EmberDebug.IGNORE_DEPRECATIONS = false;
@@ -59,9 +60,10 @@ module('Ember Debug - Deprecation', function (hooks) {
59
60
  });
60
61
  EmberDebug.IGNORE_DEPRECATIONS = true;
61
62
  },
62
- })
63
+ }),
63
64
  );
64
65
 
66
+ // eslint-disable-next-line ember/no-runloop
65
67
  run(EmberDebug.port, 'trigger', 'deprecation:watch');
66
68
 
67
69
  await visit('/');
@@ -74,7 +76,7 @@ module('Ember Debug - Deprecation', function (hooks) {
74
76
  assert.strictEqual(
75
77
  deprecation.sources.length,
76
78
  2,
77
- 'Correctly separated by source'
79
+ 'Correctly separated by source',
78
80
  );
79
81
 
80
82
  deprecation = deprecations[1];
@@ -87,14 +89,14 @@ module('Ember Debug - Deprecation', function (hooks) {
87
89
  });
88
90
 
89
91
  test('Warns once about deprecations', async function t(assert) {
90
- assert.expect(2);
91
92
  let count = 0;
93
+ // eslint-disable-next-line ember/no-runloop
92
94
  run(EmberDebug.port, 'trigger', 'deprecation:watch');
93
95
  EmberDebug.port.adapter.reopen({
94
96
  warn(message) {
95
97
  assert.strictEqual(
96
98
  message,
97
- 'Deprecations were detected, see the Ember Inspector deprecations tab for more details.'
99
+ 'Deprecations were detected, see the Ember Inspector deprecations tab for more details.',
98
100
  );
99
101
  assert.strictEqual(++count, 1, 'Warns once');
100
102
  },
@@ -102,6 +104,7 @@ module('Ember Debug - Deprecation', function (hooks) {
102
104
 
103
105
  this.owner.register(
104
106
  'route:application',
107
+ // eslint-disable-next-line ember/no-classic-classes
105
108
  Route.extend({
106
109
  setupController() {
107
110
  EmberDebug.IGNORE_DEPRECATIONS = false;
@@ -119,7 +122,7 @@ module('Ember Debug - Deprecation', function (hooks) {
119
122
  });
120
123
  EmberDebug.IGNORE_DEPRECATIONS = true;
121
124
  },
122
- })
125
+ }),
123
126
  );
124
127
 
125
128
  await visit('/');
@@ -25,14 +25,12 @@ module('Ember Debug', function (hooks) {
25
25
  try {
26
26
  EmberDebug.inspect(obj);
27
27
  assert.ok(false);
28
- } catch (e) {
28
+ } catch {
29
29
  // Intentionally empty
30
30
  }
31
31
  }
32
32
 
33
33
  test('EmberDebug#inspect sends inspectable objects', function (assert) {
34
- assert.expect(2);
35
-
36
34
  let obj = EmberObject.create();
37
35
  EmberDebug.inspect(obj);
38
36
  assert.strictEqual(name, 'objectInspector:updateObject');
@@ -46,7 +44,6 @@ module('Ember Debug', function (hooks) {
46
44
  });
47
45
 
48
46
  test('Errors are caught and handled by EmberDebug', async function t(assert) {
49
- assert.expect(1);
50
47
  const error = new Error('test error');
51
48
  EmberDebug.port.on('test:errors', () => {
52
49
  throw error;
@@ -1,10 +1,12 @@
1
- /* eslint-disable ember/avoid-leaking-state-in-ember-objects, ember/no-new-mixins */
1
+ /* eslint-disable ember/avoid-leaking-state-in-ember-objects, ember/no-classic-classes, ember/no-new-mixins, ember/no-runloop */
2
2
  import { find, visit } from '@ember/test-helpers';
3
3
  import Mixin from '@ember/object/mixin';
4
+ // eslint-disable-next-line ember/no-classic-components
4
5
  import Component from '@ember/component';
5
6
  import { inspect } from '@ember/debug';
6
7
  import { run } from '@ember/runloop';
7
8
  import { guidFor } from '@ember/object/internals';
9
+ // eslint-disable-next-line ember/no-computed-properties-in-native-classes
8
10
  import EmberObject, { computed } from '@ember/object';
9
11
  import MutableArray from '@ember/array/mutable';
10
12
  import ArrayProxy from '@ember/array/proxy';
@@ -25,7 +27,7 @@ import Controller from '@ember/controller';
25
27
  const GlimmerComponent = (function () {
26
28
  try {
27
29
  return require('@glimmer/component').default;
28
- } catch (e) {
30
+ } catch {
29
31
  // ignore, return undefined
30
32
  }
31
33
  })();
@@ -89,8 +91,8 @@ module('Ember Debug - Object Inspector', function (hooks) {
89
91
  'template:application',
90
92
  hbs(
91
93
  '<div class="application" style="line-height: normal;">{{outlet}}</div>',
92
- { moduleName: 'my-app/templates/application.hbs' }
93
- )
94
+ { moduleName: 'my-app/templates/application.hbs' },
95
+ ),
94
96
  );
95
97
  this.owner.register('route:simple', EmberRoute);
96
98
  this.owner.register('component:x-simple', Component);
@@ -99,7 +101,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
99
101
  hbs`
100
102
  {{! template-lint-disable}}
101
103
  Simple <Input class="simple-input"/> {{x-simple class="simple-view"}}
102
- `
104
+ `,
103
105
  );
104
106
 
105
107
  objectInspector = EmberDebug.objectInspector;
@@ -138,7 +140,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
138
140
  assert.strictEqual(
139
141
  firstDetail.properties.length,
140
142
  4,
141
- 'methods are included'
143
+ 'methods are included',
142
144
  );
143
145
 
144
146
  let idProperty = firstDetail.properties[0];
@@ -185,7 +187,6 @@ module('Ember Debug - Object Inspector', function (hooks) {
185
187
  }
186
188
 
187
189
  class Parent {
188
- // eslint-disable-next-line constructor-super
189
190
  constructor(param) {
190
191
  Object.assign(this, param);
191
192
  }
@@ -236,7 +237,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
236
237
  assert.strictEqual(
237
238
  firstDetail.properties.length,
238
239
  6,
239
- 'methods are included'
240
+ 'methods are included',
240
241
  );
241
242
 
242
243
  let objectWithTrackedProperty = firstDetail.properties[0];
@@ -370,7 +371,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
370
371
  expectedMixinNames.forEach((expectedMixinName, i) => {
371
372
  assert.ok(
372
373
  mixinNames[i].includes(expectedMixinName),
373
- `${mixinNames[i]} : ${expectedMixinName}`
374
+ `${mixinNames[i]} : ${expectedMixinName}`,
374
375
  );
375
376
  });
376
377
  });
@@ -463,7 +464,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
463
464
  assert.strictEqual(
464
465
  details[0].properties.length,
465
466
  1,
466
- 'should not show mixin properties'
467
+ 'should not show mixin properties',
467
468
  );
468
469
  assert.strictEqual(details[0].properties[0].name, 'ownProp');
469
470
 
@@ -471,22 +472,22 @@ module('Ember Debug - Object Inspector', function (hooks) {
471
472
  assert.strictEqual(
472
473
  details[2].properties.length,
473
474
  1,
474
- 'should only show own mixin properties'
475
+ 'should only show own mixin properties',
475
476
  );
476
477
  assert.strictEqual(
477
478
  details[2].properties[0].value.inspect,
478
- inspect('custom1')
479
+ inspect('custom1'),
479
480
  );
480
481
 
481
482
  assert.strictEqual(details[3].name, 'MyMixin2');
482
483
  assert.strictEqual(
483
484
  details[3].properties.length,
484
485
  1,
485
- 'should only show own mixin properties'
486
+ 'should only show own mixin properties',
486
487
  );
487
488
  assert.strictEqual(
488
489
  details[3].properties[0].value.inspect,
489
- inspect('custom2')
490
+ inspect('custom2'),
490
491
  );
491
492
  });
492
493
 
@@ -648,7 +649,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
648
649
  });
649
650
  });
650
651
 
651
- assert.strictEqual(inspected.get('name'), 'Alex');
652
+ assert.strictEqual(inspected.name, 'Alex');
652
653
 
653
654
  assert.strictEqual(message.property, 'name');
654
655
  assert.strictEqual(message.value.inspect, inspect('Alex'));
@@ -674,9 +675,9 @@ module('Ember Debug - Object Inspector', function (hooks) {
674
675
  });
675
676
  });
676
677
 
677
- assert.strictEqual(inspected.get('date').getFullYear(), 2015);
678
- assert.strictEqual(inspected.get('date').getMonth(), 0);
679
- assert.strictEqual(inspected.get('date').getDate(), 1);
678
+ assert.strictEqual(inspected.date.getFullYear(), 2015);
679
+ assert.strictEqual(inspected.date.getMonth(), 0);
680
+ assert.strictEqual(inspected.date.getDate(), 1);
680
681
 
681
682
  assert.strictEqual(message.property, 'date');
682
683
  assert.strictEqual(message.value.inspect, inspect(newDate));
@@ -746,42 +747,42 @@ module('Ember Debug - Object Inspector', function (hooks) {
746
747
  assert.strictEqual(
747
748
  message.details[2].properties.length,
748
749
  0,
749
- 'Correctly skips properties'
750
+ 'Correctly skips properties',
750
751
  );
751
752
 
752
753
  assert.strictEqual(message.details[3].name, 'TestObject');
753
754
  assert.strictEqual(
754
755
  message.details[3].properties.length,
755
756
  3,
756
- 'Correctly merges properties'
757
+ 'Correctly merges properties',
757
758
  );
758
759
 
759
760
  const toString = message.details[3].properties.find(
760
- (p) => p.name === 'toString'
761
+ (p) => p.name === 'toString',
761
762
  );
762
763
  const hasChildren = message.details[3].properties.find(
763
- (p) => p.name === 'hasChildren'
764
+ (p) => p.name === 'hasChildren',
764
765
  );
765
766
  const expensiveProperty = message.details[3].properties.find(
766
- (p) => p.name === 'expensiveProperty'
767
+ (p) => p.name === 'expensiveProperty',
767
768
  );
768
769
  assert.ok(toString, 'has toString');
769
770
  assert.ok(hasChildren, 'has hasChildren');
770
771
  assert.strictEqual(
771
772
  expensiveProperty.name,
772
773
  'expensiveProperty',
773
- 'property name is correct'
774
+ 'property name is correct',
774
775
  );
775
776
  assert.strictEqual(
776
777
  expensiveProperty.value.isCalculated,
777
778
  undefined,
778
- 'Does not calculate expensive properties'
779
+ 'Does not calculate expensive properties',
779
780
  );
780
781
 
781
782
  assert.notStrictEqual(
782
783
  message.details[3].name,
783
784
  'MixinToSkip',
784
- 'Correctly skips mixins'
785
+ 'Correctly skips mixins',
785
786
  );
786
787
  });
787
788
 
@@ -846,7 +847,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
846
847
 
847
848
  assert.ok(
848
849
  message.name.includes('ObjectProxy'),
849
- 'object name should start with <ObjectProxy:'
850
+ 'object name should start with <ObjectProxy:',
850
851
  );
851
852
 
852
853
  assert.strictEqual(message.details[0].name, 'Basic Info');
@@ -861,38 +862,38 @@ module('Ember Debug - Object Inspector', function (hooks) {
861
862
  assert.strictEqual(
862
863
  message.details[2].properties.length,
863
864
  0,
864
- 'Correctly skips properties'
865
+ 'Correctly skips properties',
865
866
  );
866
867
 
867
868
  assert.strictEqual(message.details[3].name, 'TestObject');
868
869
  assert.strictEqual(
869
870
  message.details[3].properties.length,
870
871
  3,
871
- 'Correctly merges properties'
872
+ 'Correctly merges properties',
872
873
  );
873
874
 
874
875
  const hasChildren = message.details[3].properties.find(
875
- (p) => p.name === 'hasChildren'
876
+ (p) => p.name === 'hasChildren',
876
877
  );
877
878
  const expensiveProperty = message.details[3].properties.find(
878
- (p) => p.name === 'expensiveProperty'
879
+ (p) => p.name === 'expensiveProperty',
879
880
  );
880
881
  assert.strictEqual(hasChildren.name, 'hasChildren');
881
882
  assert.strictEqual(
882
883
  expensiveProperty.name,
883
884
  'expensiveProperty',
884
- 'property name is correct'
885
+ 'property name is correct',
885
886
  );
886
887
  assert.strictEqual(
887
888
  expensiveProperty.value.isCalculated,
888
889
  undefined,
889
- 'Does not calculate expensive properties'
890
+ 'Does not calculate expensive properties',
890
891
  );
891
892
 
892
893
  assert.notStrictEqual(
893
894
  message.details[3].name,
894
895
  'MixinToSkip',
895
- 'Correctly skips mixins'
896
+ 'Correctly skips mixins',
896
897
  );
897
898
  });
898
899
 
@@ -962,7 +963,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
962
963
 
963
964
  assert.ok(
964
965
  objectInspector.sentObjects[objectId],
965
- 'Object successfully retained.'
966
+ 'Object successfully retained.',
966
967
  );
967
968
 
968
969
  await visit('/');
@@ -985,7 +986,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
985
986
 
986
987
  assert.ok(
987
988
  objectInspector.sentObjects[objectId],
988
- 'Object successfully retained.'
989
+ 'Object successfully retained.',
989
990
  );
990
991
 
991
992
  message = await captureMessage('objectInspector:droppedObject', () => {
@@ -997,7 +998,6 @@ module('Ember Debug - Object Inspector', function (hooks) {
997
998
  assert.deepEqual(message, { objectId });
998
999
  });
999
1000
 
1000
- // eslint-disable-next-line qunit/require-expect
1001
1001
  test('Properties ending with `Binding` are skipped', async function (assert) {
1002
1002
  let object = EmberObject.create({
1003
1003
  bar: 'test',
@@ -1011,14 +1011,14 @@ module('Ember Debug - Object Inspector', function (hooks) {
1011
1011
  assert.strictEqual(
1012
1012
  props.length,
1013
1013
  2,
1014
- 'Props should be foo and bar without fooBinding'
1014
+ 'Props should be foo and bar without fooBinding',
1015
1015
  );
1016
1016
  assert.strictEqual(props[1].name, 'foo');
1017
1017
  } else {
1018
1018
  assert.strictEqual(
1019
1019
  props.length,
1020
1020
  1,
1021
- 'Props should be only bar without fooBinding, in Ember 3.0+'
1021
+ 'Props should be only bar without fooBinding, in Ember 3.0+',
1022
1022
  );
1023
1023
  }
1024
1024
  assert.strictEqual(props[0].name, 'bar');
@@ -1058,7 +1058,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
1058
1058
  }
1059
1059
  return 'bar';
1060
1060
  }),
1061
- }).create()
1061
+ }).create(),
1062
1062
  );
1063
1063
 
1064
1064
  let message = await inspectObject(object);
@@ -1253,7 +1253,7 @@ module('Ember Debug - Object Inspector', function (hooks) {
1253
1253
  `template:components/foo`,
1254
1254
  hbs('text only', {
1255
1255
  moduleName: 'my-app/templates/components/foo.hbs',
1256
- })
1256
+ }),
1257
1257
  );
1258
1258
  await visit('/simple');
1259
1259
 
@@ -1280,17 +1280,17 @@ module('Ember Debug - Object Inspector', function (hooks) {
1280
1280
  assert.strictEqual(
1281
1281
  properties.indexOf('bounds'),
1282
1282
  -1,
1283
- 'does not contain bounds'
1283
+ 'does not contain bounds',
1284
1284
  );
1285
1285
  assert.strictEqual(
1286
1286
  properties.indexOf('element'),
1287
1287
  -1,
1288
- 'does not contain element'
1288
+ 'does not contain element',
1289
1289
  );
1290
1290
  assert.strictEqual(
1291
1291
  properties.indexOf('debugName'),
1292
1292
  -1,
1293
- 'does not contain debugName'
1293
+ 'does not contain debugName',
1294
1294
  );
1295
1295
  });
1296
1296
  }