ember-inspector 4.5.2 → 4.5.3

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 (47) hide show
  1. package/.eslintrc.js +2 -2
  2. package/.tool-versions +1 -1
  3. package/CHANGELOG.md +12 -0
  4. package/app/controllers/application.js +11 -3
  5. package/app/templates/application.hbs +1 -1
  6. package/babel.config.js +12 -0
  7. package/dist/bookmarklet/panes-3-4-0/assets/chunk.143.49ccd2e1428897502f31.js +9 -0
  8. package/dist/{chrome/panes-3-4-0/assets/chunk.178.5b0ef53154b4f03c1ddf.js → bookmarklet/panes-3-4-0/assets/chunk.178.baeda205f3d0f4decd12.js} +3 -3
  9. package/dist/{chrome/panes-3-4-0/assets/chunk.916.cfdae71ef87e943d7ad0.js → bookmarklet/panes-3-4-0/assets/chunk.916.10195c168143dde80f98.js} +1 -1
  10. package/dist/bookmarklet/panes-3-4-0/assets/{chunk.916.cfdae71ef87e943d7ad0.js.LICENSE.txt → chunk.916.10195c168143dde80f98.js.LICENSE.txt} +0 -0
  11. package/dist/bookmarklet/panes-3-4-0/assets/ember-inspector.js +208 -185
  12. package/dist/bookmarklet/panes-3-4-0/assets/vendor.js +1145 -824
  13. package/dist/bookmarklet/panes-3-4-0/ember_debug.js +5 -0
  14. package/dist/bookmarklet/panes-3-4-0/index.html +1 -2
  15. package/dist/chrome/manifest.json +1 -1
  16. package/dist/chrome/panes-3-4-0/assets/chunk.143.49ccd2e1428897502f31.js +9 -0
  17. package/dist/{firefox/panes-3-4-0/assets/chunk.178.5b0ef53154b4f03c1ddf.js → chrome/panes-3-4-0/assets/chunk.178.baeda205f3d0f4decd12.js} +3 -3
  18. package/dist/{firefox/panes-3-4-0/assets/chunk.916.cfdae71ef87e943d7ad0.js → chrome/panes-3-4-0/assets/chunk.916.10195c168143dde80f98.js} +1 -1
  19. package/dist/chrome/panes-3-4-0/assets/{chunk.916.cfdae71ef87e943d7ad0.js.LICENSE.txt → chunk.916.10195c168143dde80f98.js.LICENSE.txt} +0 -0
  20. package/dist/chrome/panes-3-4-0/assets/ember-inspector.js +208 -185
  21. package/dist/chrome/panes-3-4-0/assets/vendor.js +1145 -824
  22. package/dist/chrome/panes-3-4-0/ember_debug.js +5 -0
  23. package/dist/chrome/panes-3-4-0/index.html +1 -2
  24. package/dist/firefox/manifest.json +1 -1
  25. package/dist/firefox/panes-3-4-0/assets/chunk.143.49ccd2e1428897502f31.js +9 -0
  26. package/dist/{bookmarklet/panes-3-4-0/assets/chunk.178.5b0ef53154b4f03c1ddf.js → firefox/panes-3-4-0/assets/chunk.178.baeda205f3d0f4decd12.js} +3 -3
  27. package/dist/{websocket/assets/chunk.916.cfdae71ef87e943d7ad0.js → firefox/panes-3-4-0/assets/chunk.916.10195c168143dde80f98.js} +1 -1
  28. package/dist/firefox/panes-3-4-0/assets/{chunk.916.cfdae71ef87e943d7ad0.js.LICENSE.txt → chunk.916.10195c168143dde80f98.js.LICENSE.txt} +0 -0
  29. package/dist/firefox/panes-3-4-0/assets/ember-inspector.js +208 -185
  30. package/dist/firefox/panes-3-4-0/assets/vendor.js +1145 -824
  31. package/dist/firefox/panes-3-4-0/ember_debug.js +5 -0
  32. package/dist/firefox/panes-3-4-0/index.html +1 -2
  33. package/dist/websocket/assets/chunk.143.49ccd2e1428897502f31.js +9 -0
  34. package/dist/websocket/assets/{chunk.178.5b0ef53154b4f03c1ddf.js → chunk.178.baeda205f3d0f4decd12.js} +3 -3
  35. package/dist/{bookmarklet/panes-3-4-0/assets/chunk.916.cfdae71ef87e943d7ad0.js → websocket/assets/chunk.916.10195c168143dde80f98.js} +1 -1
  36. package/dist/websocket/assets/{chunk.916.cfdae71ef87e943d7ad0.js.LICENSE.txt → chunk.916.10195c168143dde80f98.js.LICENSE.txt} +0 -0
  37. package/dist/websocket/assets/ember-inspector.js +208 -185
  38. package/dist/websocket/assets/vendor.js +1145 -824
  39. package/dist/websocket/ember_debug.js +5 -0
  40. package/dist/websocket/index.html +1 -2
  41. package/ember_debug/vendor/startup-wrapper.js +5 -0
  42. package/package.json +7 -6
  43. package/app/modifiers/did-resize.js +0 -76
  44. package/dist/bookmarklet/panes-3-4-0/assets/chunk.143.2d97860a6e5f313b08e6.js +0 -146
  45. package/dist/chrome/panes-3-4-0/assets/chunk.143.2d97860a6e5f313b08e6.js +0 -146
  46. package/dist/firefox/panes-3-4-0/assets/chunk.143.2d97860a6e5f313b08e6.js +0 -146
  47. package/dist/websocket/assets/chunk.143.2d97860a6e5f313b08e6.js +0 -146
package/.eslintrc.js CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  module.exports = {
4
4
  root: true,
5
- parser: 'babel-eslint',
5
+ parser: '@babel/eslint-parser',
6
6
  parserOptions: {
7
- ecmaVersion: 2018,
7
+ ecmaVersion: 2020,
8
8
  sourceType: 'module',
9
9
  ecmaFeatures: {
10
10
  legacyDecorators: true,
package/.tool-versions CHANGED
@@ -1 +1 @@
1
- nodejs 14.16.0
1
+ nodejs 14.18.1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+
5
+ ## v4.5.3 (2021-11-18)
6
+
7
+ #### :bug: Bug Fix
8
+ * [#1803](https://github.com/emberjs/ember-inspector/pull/1803) Replace ember-did-resize-modifier with ember-on-resize-modifier ([@rwwagner90](https://github.com/rwwagner90))
9
+
10
+ #### :house: Internal
11
+ * [#1802](https://github.com/emberjs/ember-inspector/pull/1802) ESLint 8 support ([@rwwagner90](https://github.com/rwwagner90))
12
+
13
+ #### Committers: 1
14
+ - Robert Wagner ([@rwwagner90](https://github.com/rwwagner90))
15
+
4
16
  ## v4.5.2 (2021-11-17)
5
17
 
6
18
  #### :bug: Bug Fix
@@ -1,7 +1,7 @@
1
1
  import Controller from '@ember/controller';
2
2
  import { action, computed } from '@ember/object';
3
3
  import { equal } from '@ember/object/computed';
4
- import { schedule } from '@ember/runloop';
4
+ import { debounce, schedule } from '@ember/runloop';
5
5
  import { inject as service } from '@ember/service';
6
6
 
7
7
  export default Controller.extend({
@@ -127,16 +127,24 @@ export default Controller.extend({
127
127
  this.layoutService.updateContentHeight(this.contentElement.clientHeight);
128
128
  }),
129
129
 
130
- windowDidResize: action(function () {
130
+ _windowDidResize: action(function () {
131
131
  schedule('afterRender', () => {
132
132
  this.layoutService.trigger('resize', {
133
133
  source: 'application-controller',
134
134
  });
135
135
 
136
- this.layoutService.updateContentHeight(this.contentElement.clientHeight);
136
+ if (this.contentElement) {
137
+ this.layoutService.updateContentHeight(
138
+ this.contentElement.clientHeight
139
+ );
140
+ }
137
141
  });
138
142
  }),
139
143
 
144
+ windowDidResize: action(function () {
145
+ debounce(this, this._windowDidResize, 250);
146
+ }),
147
+
140
148
  toggleNavCollapsed: action(function () {
141
149
  this.set('navIsCollapsed', !this.navIsCollapsed);
142
150
  schedule('afterRender', () => {
@@ -3,7 +3,7 @@
3
3
  tabindex="1"
4
4
  {{on "focusin" (fn this.setActive true)}}
5
5
  {{on "focusout" (fn this.setActive false)}}
6
- {{did-resize this.windowDidResize debounce=250}}
6
+ {{on-resize this.windowDidResize}}
7
7
  >
8
8
  {{#if this.isEmberApplication}}
9
9
  <div class="split">
@@ -0,0 +1,12 @@
1
+ /* eslint-env node */
2
+
3
+ module.exports = {
4
+ plugins: [
5
+ [
6
+ require('@babel/plugin-proposal-decorators').default,
7
+ {
8
+ legacy: true,
9
+ },
10
+ ],
11
+ ],
12
+ };
@@ -0,0 +1,9 @@
1
+ var __ember_auto_import__;(()=>{var r={475:r=>{r.exports=function(){_eai_d
2
+ var r=_eai_r
3
+ window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))}}()},43:function(r,e){window._eai_r=require,window._eai_d=define}},e={}
4
+ function t(_){var o=e[_]
5
+ if(void 0!==o)return o.exports
6
+ var i=e[_]={exports:{}}
7
+ return r[_].call(i.exports,i,i.exports,t),i.exports}t(43)
8
+ var _=t(475)
9
+ __ember_auto_import__=_})()
@@ -1,4 +1,4 @@
1
- var __ember_auto_import__;(()=>{var r,e={384:function(r,e){window._eai_r=require,window._eai_d=define},667:(r,e,o)=>{var i,t
1
+ var __ember_auto_import__;(()=>{var r,e={43:function(r,e){window._eai_r=require,window._eai_d=define},176:(r,e,o)=>{var i,t
2
2
  r.exports=(i=_eai_d,t=_eai_r,window.emberAutoImportDynamic=function(r){return 1===arguments.length?t("_eai_dyn_"+r):t("_eai_dynt_"+r)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(r){return t("_eai_sync_"+r)(Array.prototype.slice.call(arguments,1))},void i("qunit",[],(function(){return o(916)})))}},o={}
3
3
  function i(r){var t=o[r]
4
4
  if(void 0!==t)return t.exports
@@ -15,6 +15,6 @@ var e=(e,o)=>{var t,n,[a,_,l]=o,p=0
15
15
  if(a.some((e=>0!==r[e]))){for(t in _)i.o(_,t)&&(i.m[t]=_[t])
16
16
  if(l)var u=l(i)}for(e&&e(o);p<a.length;p++)n=a[p],i.o(r,n)&&r[n]&&r[n][0](),r[a[p]]=0
17
17
  return i.O(u)},o=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
18
- o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),i.O(void 0,[916],(()=>i(384)))
19
- var t=i.O(void 0,[916],(()=>i(667)))
18
+ o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})(),i.O(void 0,[916],(()=>i(43)))
19
+ var t=i.O(void 0,[916],(()=>i(176)))
20
20
  t=i.O(t),__ember_auto_import__=t})()
@@ -1,4 +1,4 @@
1
- /*! For license information please see chunk.916.cfdae71ef87e943d7ad0.js.LICENSE.txt */
1
+ /*! For license information please see chunk.916.10195c168143dde80f98.js.LICENSE.txt */
2
2
  (globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[916],{916:(e,t,n)=>{var r
3
3
  e=n.nmd(e),function(){"use strict"
4
4
  var i,o="function"==typeof o?o:function(){var e=Object.create(null),t=Object.prototype.hasOwnProperty