{"_id":"@tryghost/ember-promise-modals","_rev":"55-cdfd0bca0d3483e7a12c3d8648f533c4","name":"@tryghost/ember-promise-modals","dist-tags":{"latest":"2.0.1"},"versions":{"2.0.1":{"name":"@tryghost/ember-promise-modals","version":"2.0.1","keywords":["ember-addon"],"author":{"name":"simplabs GmbH"},"license":"MIT","_id":"@tryghost/ember-promise-modals@2.0.1","maintainers":[{"name":"simonbackx","email":"hi@simonbackx.com"},{"name":"moreofmorris","email":"moreofmorris@gmail.com"},{"name":"joeegrigg","email":"account@joegrigg.com"},{"name":"sanne-san","email":"sanne@ghost.org"},{"name":"djordjevlais","email":"djordje@ghost.org"},{"name":"bobvaneck","email":"bobvaneck@gmail.com"},{"name":"zimoatghost","email":"zimo@ghost.org"},{"name":"allouis","email":"fabien@allou.is"},{"name":"gargol","email":"nazargargol@gmail.com"},{"name":"rishabhgrg","email":"rishabhgarg1992@gmail.com"},{"name":"erisds","email":"github.erisds@gmail.com"},{"name":"johnonolan","email":"john@onolan.org"},{"name":"kevinansfield","email":"kevin@ghost.org"},{"name":"cobbspur","email":"david@ghost.org"},{"name":"aileencgn","email":"aileen@ghost.org"},{"name":"jloh","email":"npmjs@jloh.co"},{"name":"daniellockyer","email":"hi@daniellockyer.com"},{"name":"sam-lord","email":"hello@samlord.me"},{"name":"matthanley","email":"npmjs@matthanley.co.uk"},{"name":"thibpat","email":"thibaut.patel@gmail.com"},{"name":"pauladamdavis","email":"paul@ghost.org"}],"homepage":"https://github.com/simplabs/ember-promise-modals#readme","bugs":{"url":"https://github.com/simplabs/ember-promise-modals/issues"},"dist":{"shasum":"b06b52eb4750b8d7b39470a238f0ebcbbff0c05f","tarball":"https://registry.npmjs.org/@tryghost/ember-promise-modals/-/ember-promise-modals-2.0.1.tgz","fileCount":21,"integrity":"sha512-py/Fi3jbr+UiUped74m2VRhNEJQrFSgPEhQu/FSHkPjUPWruIokwJoO4TDedklGcMJ+0RKr3YiigcuMFxXjf7A==","signatures":[{"sig":"MEQCIG3WMi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GP SIGNATURE-----\r\n"},"pnpm":{"peerDependencyRules":{"ignoreMissing":["@babel/core","postcss","webpack"]}},"ember":{"edition":"octane"},"engines":{"node":"12.* || >= 14.*"},"gitHead":"084775edcbddf6a4716583e32e17dc61d3e9a6c6","scripts":{"lint":"npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"","test":"ember test","build":"ember build --env=production","start":"ember serve","lint:js":"eslint . --cache","lint:md":"prettier --check '**/*.md'","lint:fix":"npm-run-all --aggregate-output --continue-on-error --parallel \"lint:*:fix\"","lint:hbs":"ember-template-lint .","test:all":"npm-run-all lint test:*","lint:js:fix":"eslint . --fix","lint:md:fix":"prettier --write '**/*.md'","lint:hbs:fix":"ember-template-lint . --fix","test:ember-compatibility":"ember try:each"},"_npmUser":{"name":"kevinansfield","email":"kevin@ghost.org"},"repository":{"url":"git+https://github.com/simplabs/ember-promise-modals.git","type":"git"},"_npmVersion":"8.3.1","description":"The better way to handle modals in your Ember.js apps.","directories":{"doc":"doc","test":"tests"},"ember-addon":{"configPath":"tests/dummy/config"},"_nodeVersion":"16.14.0","dependencies":{"focus-trap":"^6.7.2","@embroider/util":"^1.0.0","broccoli-funnel":"^3.0.8","ember-cli-babel":"^7.26.11","broccoli-postcss":"^6.0.1","ember-auto-import":"^1.11.3","ember-cli-htmlbars":"^6.0.1","postcss-preset-env":"^7.3.1","@ember/test-waiters":"^3.0.1","broccoli-merge-trees":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"qunit":"^2.17.2","eslint":"^8.8.0","prettier":"^2.5.1","ember-cli":"~4.1.1","ember-try":"^2.0.0","loader.js":"^4.7.0","qunit-dom":"^2.0.0","ember-qunit":"^5.1.5","npm-run-all":"^4.1.5","ember-source":"~3.28.6","ember-cli-sri":"^2.1.1","ember-resolver":"^8.0.3","ember-cli-uglify":"^3.0.0","broccoli-asset-rev":"^3.0.0","eslint-plugin-node":"^11.1.0","@ember/test-helpers":"^2.6.0","ember-template-lint":"^4.0.0","eslint-plugin-ember":"^10.5.8","eslint-plugin-qunit":"^7.2.0","@babel/eslint-parser":"^7.17.0","@embroider/test-setup":"^1.0.0","eslint-plugin-promise":"^6.0.0","qunit-console-grouper":"^0.3.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","ember-load-initializers":"^2.1.2","@ember/optional-features":"^2.0.0","ember-source-channel-url":"^3.0.0","ember-cli-dependency-checker":"^3.1.0","ember-cli-inject-live-reload":"^2.1.0","eslint-plugin-import-helpers":"^1.2.1","ember-maybe-import-regenerator":"^1.0.0","ember-export-application-global":"^2.0.1","ember-disable-prototype-extensions":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/ember-promise-modals_2.0.1_1648812978846_0.2762399725657825","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-04-01T11:36:18.845Z","modified":"2026-08-03T01:15:05.084Z","2.0.0":"2021-09-13T10:10:14.756Z","2.0.1":"2022-04-01T11:36:19.115Z"},"bugs":{"url":"https://github.com/simplabs/ember-promise-modals/issues"},"author":{"name":"simplabs GmbH"},"license":"MIT","homepage":"https://github.com/simplabs/ember-promise-modals#readme","keywords":["ember-addon"],"repository":{"url":"git+https://github.com/simplabs/ember-promise-modals.git","type":"git"},"description":"The better way to handle modals in your Ember.js apps.","maintainers":[{"email":"zimo@ghost.org","name":"zimoatghost"},{"email":"fabien@allou.is","name":"allouis"},{"email":"matthew@ghost.org","name":"kernalghost"},{"email":"chris@ghost.org","name":"chrisraible"},{"email":"github.erisds@gmail.com","name":"erisds"},{"email":"john@onolan.org","name":"johnonolan"},{"email":"kevin@ghost.org","name":"kevinansfield"},{"email":"david@ghost.org","name":"cobbspur"},{"email":"aileen@ghost.org","name":"aileencgn"},{"email":"npmjs@jloh.co","name":"jloh"},{"email":"sodbileg.gansukh@gmail.com","name":"minimaluminium"},{"email":"hello@samlord.me","name":"sam-lord"},{"email":"paul@ghost.org","name":"pauladamdavis"},{"email":"bobvaneck@gmail.com","name":"bobvaneck"},{"email":"account@joegrigg.com","name":"joeegrigg"},{"email":"filip@ghost.org","name":"hadret"},{"email":"erik@ghost.org","name":"erik-ghost"},{"email":"guptazy@gmail.com","name":"sagzy"},{"email":"vershwal.princi@gmail.com","name":"vershwal"},{"email":"zach@ghost.org","name":"zach1618"},{"email":"mike182uk@gmail.com","name":"mike182uk"},{"email":"luis@ghost.org","name":"luissazevedo"},{"email":"leif@ghost.org","name":"lsinger"},{"email":"nick@ghost.org","name":"nickmoreton"},{"email":"renatocesarcp@gmail.com","name":"renatoworks"},{"email":"rob@ghost.org","name":"rblstr-ghost"},{"email":"evan@ghost.org","name":"evanhahn-ghost"},{"email":"austin@ghost.org","name":"austin.burdine"},{"email":"weyland.swart@gmail.com","name":"weylandswart"},{"email":"info@ghost.org","name":"ghost-slimer"},{"email":"tmciesco@gmail.com","name":"tmciesco"},{"email":"jonatan@ghost.org","name":"jonatan-ghost"},{"email":"9larsons@gmail.com","name":"9larsons"}],"readme":"Forked from https://github.com/simplabs/ember-promise-modals with specific changes for https://github.com/TryGhost/Admin.\n\nNot recommended for general use, this package will be removed if upstream becomes compatible with our requirements.\n\nCustom changes:\n- added `.finally()` to modal instances so the Promise-like interface is more complete. Useful for cleanup after a modal is resolved/rejected without duplication\n- added `beforeClose()` as an option that can be passed when opening a modal, if the function returns `false` then the modal close will be aborted\n- dropped passthrough of `focusTrapOptions.onDeactivate` when closing modal as it causes `@close` return values to be lost\n  - https://github.com/simplabs/ember-promise-modals/issues/565\n","readmeFilename":"README.md"}