@glimmer/manager
Advanced tools
Comparing version 0.81.0 to 0.82.0
@@ -114,3 +114,3 @@ "use strict"; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error(`Custom component managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.4' | '3.13')\` (imported via \`import { capabilities } from '@ember/component';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
throw new Error(`Custom component managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.13')\` (imported via \`import { capabilities } from '@ember/component';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
} | ||
@@ -216,2 +216,2 @@ | ||
exports.CustomComponentState = CustomComponentState; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUE7O0FBa0JBOztBQUNBOztBQUNBOztBQUNBOztBQUdBLE1BQU0sWUFBWSxHQUFHO0FBQ25CLEVBQUEsYUFBYSxFQURNLEtBQUE7QUFFbkIsRUFBQSxVQUFVLEVBRlMsS0FBQTtBQUduQixFQUFBLFdBQVcsRUFIUSxLQUFBO0FBSW5CLEVBQUEsVUFBVSxFQUpTLElBQUE7QUFLbkIsRUFBQSxhQUFhLEVBTE0sS0FBQTtBQU1uQixFQUFBLFdBQVcsRUFOUSxLQUFBO0FBT25CLEVBQUEsWUFBWSxFQVBPLEtBQUE7QUFRbkIsRUFBQSxZQUFZLEVBUk8sSUFBQTtBQVNuQixFQUFBLFVBQVUsRUFUUyxJQUFBO0FBVW5CLEVBQUEsY0FBYyxFQVZLLElBQUE7QUFXbkIsRUFBQSxPQUFPLEVBWFksS0FBQT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1Y2tldDtcblxuICAgICAgcmVnaXN0ZXJEZXN0cnVjdG9yKGJ1Y2tldCwgKCkgPT4gZGVsZWdhdGUuZGVzdHJveUNvbXBvbmVudChjb21wb25lbnQpKTtcbiAgICAgIHJldHVybiBidWNrZXQ7XG4gICAgfVxuXG4gICAgcmV0dXJuIG51bGw7XG4gIH1cblxuICBnZXRDYXBhYmlsaXRpZXMoKTogSW50ZXJuYWxDb21wb25lbnRDYXBhYmlsaXRpZXMge1xuICAgIHJldHVybiBDQVBBQklMSVRJRVM7XG4gIH1cbn1cblxuLyoqXG4gKiBTdG9yZXMgaW50ZXJuYWwgc3RhdGUgYWJvdXQgYSBjb21wb25lbnQgaW5zdGFuY2UgYWZ0ZXIgaXQncyBiZWVuIGNyZWF0ZWQuXG4gKi9cbmV4cG9ydCBjbGFzcyBDdXN0b21Db21wb25lbnRTdGF0ZTxDb21wb25lbnRJbnN0YW5jZT4ge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgY29tcG9uZW50OiBDb21wb25lbnRJbnN0YW5jZSxcbiAgICBwdWJsaWMgZGVsZWdhdGU6IENvbXBvbmVudE1hbmFnZXI8Q29tcG9uZW50SW5zdGFuY2U+LFxuICAgIHB1YmxpYyBhcmdzOiBBcmd1bWVudHNcbiAgKSB7fVxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -79,3 +79,3 @@ "use strict"; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error(`Custom modifier managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.13' | '3.22')\` (imported via \`import { capabilities } from '@ember/modifier';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
throw new Error(`Custom modifier managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.22')\` (imported via \`import { capabilities } from '@ember/modifier';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
} | ||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0ZU1vZGlmaWVyKG1vZGlmaWVyLCBhcmdzKTtcbiAgICB9XG4gIH1cblxuICBnZXREZXN0cm95YWJsZShzdGF0ZTogQ3VzdG9tTW9kaWZpZXJTdGF0ZTxNb2RpZmllckluc3RhbmNlPikge1xuICAgIHJldHVybiBzdGF0ZTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gcmVpZnlBcmdzKHtcbiAgbmFtZWQsXG4gIHBvc2l0aW9uYWwsXG59OiBDYXB0dXJlZEFyZ3VtZW50cyk6IHsgbmFtZWQ6IFJlY29yZDxzdHJpbmcsIHVua25vd24+OyBwb3NpdGlvbmFsOiB1bmtub3duW10gfSB7XG4gIGxldCByZWlmaWVkTmFtZWQgPSBkaWN0KCk7XG5cbiAgZm9yIChsZXQga2V5IGluIG5hbWVkKSB7XG4gICAgcmVpZmllZE5hbWVkW2tleV0gPSB2YWx1ZUZvclJlZihuYW1lZFtrZXldKTtcbiAgfVxuXG4gIGxldCByZWlmaWVkUG9zaXRpb25hbCA9IHBvc2l0aW9uYWwubWFwKHZhbHVlRm9yUmVmKTtcblxuICByZXR1cm4ge1xuICAgIG5hbWVkOiByZWlmaWVkTmFtZWQsXG4gICAgcG9zaXRpb25hbDogcmVpZmllZFBvc2l0aW9uYWwsXG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -116,3 +116,3 @@ "use strict"; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error("Custom component managers must have a `capabilities` property that is the result of calling the `capabilities('3.4' | '3.13')` (imported via `import { capabilities } from '@ember/component';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
throw new Error("Custom component managers must have a `capabilities` property that is the result of calling the `capabilities('3.13')` (imported via `import { capabilities } from '@ember/component';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
} | ||
@@ -209,2 +209,2 @@ | ||
exports.CustomCom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VyPENvbXBvbmVudEluc3RhbmNlPixcbiAgICBwdWJsaWMgYXJnczogQXJndW1lbnRzXG4gICkge31cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -81,3 +81,3 @@ "use strict"; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error("Custom modifier managers must have a `capabilities` property that is the result of calling the `capabilities('3.13' | '3.22')` (imported via `import { capabilities } from '@ember/modifier';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
throw new Error("Custom modifier managers must have a `capabilities` property that is the result of calling the `capabilities('3.22')` (imported via `import { capabilities } from '@ember/modifier';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
} | ||
@@ -180,2 +180,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9tb2RpZmllci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFVQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFFQTs7QUFDQTs7QUFHTSxTQUFBLG9CQUFBLENBQUEsVUFBQSxFQUFBLGdCQUFBLEVBRXdEO0FBQUEsTUFBNUQsZ0JBQTRELEtBQUEsS0FBQSxDQUFBLEVBQUE7QUFBNUQsSUFBQSxnQkFBNEQsR0FGeEQsRUFFSjtBQUE0RDs7QUFFNUQsTUFBSSxjQUFTLFVBQVUsS0FBdkIsTUFBQSxFQUFvQztBQUNsQyxVQUFNLElBQUEsS0FBQSxDQUFOLGtEQUFNLENBQU47QUFDRDs7QUFFRCxTQUFPLHFDQUFrQjtBQUN2QixJQUFBLG1CQUFtQixFQUFFLE9BQU8sQ0FBQyxnQkFBZ0IsQ0FBakIsbU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kZWxlZ2F0ZTtcblxuICAgIGlmIChjYXBhYmlsaXRpZXMuZGlzYWJsZUF1dG9UcmFja2luZyA9PT0gdHJ1ZSkge1xuICAgICAgdW50cmFjaygoKSA9PiBkZWxlZ2F0ZS51cGRhdGVNb2RpZmllcihtb2RpZmllciwgYXJncykpO1xuICAgIH0gZWxzZSB7XG4gICAgICBkZWxlZ2F0ZS51cGRhdGVNb2RpZmllcihtb2RpZmllciwgYXJncyk7XG4gICAgfVxuICB9XG5cbiAgZ2V0RGVzdHJveWFibGUoc3RhdGU6IEN1c3RvbU1vZGlmaWVyU3RhdGU8TW9kaWZpZXJJbnN0YW5jZT4pIHtcbiAgICByZXR1cm4gc3RhdGU7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHJlaWZ5QXJncyh7XG4gIG5hbWVkLFxuICBwb3NpdGlvbmFsLFxufTogQ2FwdHVyZWRBcmd1bWVudHMpOiB7IG5hbWVkOiBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPjsgcG9zaXRpb25hbDogdW5rbm93bltdIH0ge1xuICBsZXQgcmVpZmllZE5hbWVkID0gZGljdCgpO1xuXG4gIGZvciAobGV0IGtleSBpbiBuYW1lZCkge1xuICAgIHJlaWZpZWROYW1lZFtrZXldID0gdmFsdWVGb3JSZWYobmFtZWRba2V5XSk7XG4gIH1cblxuICBsZXQgcmVpZmllZFBvc2l0aW9uYWwgPSBwb3NpdGlvbmFsLm1hcCh2YWx1ZUZvclJlZik7XG5cbiAgcmV0dXJuIHtcbiAgICBuYW1lZDogcmVpZmllZE5hbWVkLFxuICAgIHBvc2l0aW9uYWw6IHJlaWZpZWRQb3NpdGlvbmFsLFxuICB9O1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -91,3 +91,3 @@ import { DEBUG } from '@glimmer/env'; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error(`Custom component managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.4' | '3.13')\` (imported via \`import { capabilities } from '@ember/component';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
throw new Error(`Custom component managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.13')\` (imported via \`import { capabilities } from '@ember/component';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
} | ||
@@ -188,2 +188,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxLQUFULFFBQXNCLGNBQXRCO0FBa0JBLFNBQVMsY0FBVCxRQUEwQyxvQkFBMUM7QUFDQSxTQUFTLGtCQUFULFFBQW1DLHNCQUFuQztBQUNBLFNBQVMsaUJBQVQsRUFBNEIsaUJBQTVCLFFBQXFELHNCQUFyRDtBQUNBLFNBQVMsWUFBVCxRQUE2QixvQkFBN0I7QUFHQSxNQUFNLFlBQVksR0FBRztBQUNuQixFQUFBLGFBQWEsRUFBRSxLQURJO0FBRW5CLEVBQUEsVUFBVSxFQUFFLEtBRk87QUFHbkIsRUFBQSxXQUFXLEVBQUUsS0FITTtBQUluQixFQUFBLFVBQVUsRUFBRSxJQUpPO0FBS25CLEVBQUEsYUFBYSxFQUFFLEtBTEk7QUFNbkIsRUFBQSxXQUFXLEVBQUUsS0FOTTtBQU9uQixFQUFBLFlBQVksRUFBRSxLQVBLO0FBUW5CLEVBQUEsWUFBWSxFQUFFLElBUks7QUFTbkIsRUFBQSxVQUFVLEVBQUUsSUFUTztBQVVuQixFQUFBLGNBQWMsRUFBRSxJQVZHO0FBV25CLEVBQUEsT0FBTyxFQUFFLEtBWFU7QUFZbkIsRUFBQSxXQUFXLEVBQ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QoY29tcG9uZW50KSk7XG4gICAgICByZXR1cm4gYnVja2V0O1xuICAgIH1cblxuICAgIHJldHVybiBudWxsO1xuICB9XG5cbiAgZ2V0Q2FwYWJpbGl0aWVzKCk6IEludGVybmFsQ29tcG9uZW50Q2FwYWJpbGl0aWVzIHtcbiAgICByZXR1cm4gQ0FQQUJJTElUSUVTO1xuICB9XG59XG5cbi8qKlxuICogU3RvcmVzIGludGVybmFsIHN0YXRlIGFib3V0IGEgY29tcG9uZW50IGluc3RhbmNlIGFmdGVyIGl0J3MgYmVlbiBjcmVhdGVkLlxuICovXG5leHBvcnQgY2xhc3MgQ3VzdG9tQ29tcG9uZW50U3RhdGU8Q29tcG9uZW50SW5zdGFuY2U+IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGNvbXBvbmVudDogQ29tcG9uZW50SW5zdGFuY2UsXG4gICAgcHVibGljIGRlbGVnYXRlOiBDb21wb25lbnRNYW5hZ2VyPENvbXBvbmVudEluc3RhbmNlPixcbiAgICBwdWJsaWMgYXJnczogQXJndW1lbnRzXG4gICkge31cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxLQUFULFFBQXNCLGNBQXRCO0FBa0JBLFNBQVMsY0FBVCxRQUEwQyxvQkFBMUM7QUFDQSxTQUFTLGtCQUFULFFBQW1DLHNCQUFuQztBQUNBLFNBQVMsaUJBQVQsRUFBNEIsaUJBQTVCLFFBQXFELHNCQUFyRDtBQUNBLFNBQVMsWUFBVCxRQUE2QixvQkFBN0I7QUFHQSxNQUFNLFlBQVksR0FBRztBQUNuQixFQUFBLGFBQWEsRUFBRSxLQURJO0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pcycpO1xuICB9XG5cbiAgZ2V0RGVzdHJveWFibGUoYnVja2V0OiBDdXN0b21Db21wb25lbnRTdGF0ZTxDb21wb25lbnRJbnN0YW5jZT4pOiBPcHRpb248RGVzdHJveWFibGU+IHtcbiAgICBjb25zdCB7IGRlbGVnYXRlIH0gPSBidWNrZXQ7XG5cbiAgICBpZiAoaGFzRGVzdHJ1Y3RvcnMoZGVsZWdhdGUpKSB7XG4gICAgICBjb25zdCB7IGNvbXBvbmVudCB9ID0gYnVja2V0O1xuXG4gICAgICByZWdpc3RlckRlc3RydWN0b3IoYnVja2V0LCAoKSA9PiBkZWxlZ2F0ZS5kZXN0cm95Q29tcG9uZW50KGNvbXBvbmVudCkpO1xuICAgICAgcmV0dXJuIGJ1Y2tldDtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIGdldENhcGFiaWxpdGllcygpOiBJbnRlcm5hbENvbXBvbmVudENhcGFiaWxpdGllcyB7XG4gICAgcmV0dXJuIENBUEFCSUxJVElFUztcbiAgfVxufVxuXG4vKipcbiAqIFN0b3JlcyBpbnRlcm5hbCBzdGF0ZSBhYm91dCBhIGNvbXBvbmVudCBpbnN0YW5jZSBhZnRlciBpdCdzIGJlZW4gY3JlYXRlZC5cbiAqL1xuZXhwb3J0IGNsYXNzIEN1c3RvbUNvbXBvbmVudFN0YXRlPENvbXBvbmVudEluc3RhbmNlPiB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBjb21wb25lbnQ6IENvbXBvbmVudEluc3RhbmNlLFxuICAgIHB1YmxpYyBkZWxlZ2F0ZTogQ29tcG9uZW50TWFuYWdlcjxDb21wb25lbnRJbnN0YW5jZT4sXG4gICAgcHVibGljIGFyZ3M6IEFyZ3VtZW50c1xuICApIHt9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -62,3 +62,3 @@ import { DEBUG } from '@glimmer/env'; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error(`Custom modifier managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.13' | '3.22')\` (imported via \`import { capabilities } from '@ember/modifier';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
throw new Error(`Custom modifier managers must have a \`capabilities\` property that is the result of calling the \`capabilities('3.22')\` (imported via \`import { capabilities } from '@ember/modifier';\`). Received: \`${JSON.stringify(delegate.capabilities)}\` for: \`${delegate}\``); | ||
} | ||
@@ -160,2 +160,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9tb2RpZmllci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLEtBQVQsUUFBc0IsY0FBdEI7QUFVQSxTQUFTLGtCQUFULFFBQW1DLHNCQUFuQztBQUNBLFNBQVMsV0FBVCxRQUE0QixvQkFBNUI7QUFDQSxTQUF3QixJQUF4QixRQUFvQyxlQUFwQztBQUNBLFNBQVMsa0JBQVQsRUFBNkIsT0FBN0IsUUFBMEQsb0JBQTFEO0FBRUEsU0FBUyxpQkFBVCxFQUE0QixpQkFBNUIsUUFBcUQsc0JBQXJEO0FBQ0EsU0FBUyxZQUFULFFBQTZCLG9CQUE3QjtBQUdBLE9BQU0sU0FBVSxvQkFBVixDQUNKLFVBREksRUFFSixnQkFBQSxHQUEwRCxFQUZ0RCxFQUV3RDtBQUU1RCxNQUFJLEtBQUssSUFBSSxVQUFVLEtBQUssTUFBNUIsRUFBb0M7QUFDbEMsVUFBTSxJQUFJLEtBQUosQ0FBVSxrREFBVixDQUFOO0FBQ0Q7O0FBRUQsU0FBTyxpQkFBaUIsQ0FBQztBQUN2QixJQUFBLG1CQUFtQixFQUFFLE9BQU8sQ0FBQyxnQkFBZ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YXRlLnVwZGF0ZU1vZGlmaWVyKG1vZGlmaWVyLCBhcmdzKSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGRlbGVnYXRlLnVwZGF0ZU1vZGlmaWVyKG1vZGlmaWVyLCBhcmdzKTtcbiAgICB9XG4gIH1cblxuICBnZXREZXN0cm95YWJsZShzdGF0ZTogQ3VzdG9tTW9kaWZpZXJTdGF0ZTxNb2RpZmllckluc3RhbmNlPikge1xuICAgIHJldHVybiBzdGF0ZTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gcmVpZnlBcmdzKHtcbiAgbmFtZWQsXG4gIHBvc2l0aW9uYWwsXG59OiBDYXB0dXJlZEFyZ3VtZW50cyk6IHsgbmFtZWQ6IFJlY29yZDxzdHJpbmcsIHVua25vd24+OyBwb3NpdGlvbmFsOiB1bmtub3duW10gfSB7XG4gIGxldCByZWlmaWVkTmFtZWQgPSBkaWN0KCk7XG5cbiAgZm9yIChsZXQga2V5IGluIG5hbWVkKSB7XG4gICAgcmVpZmllZE5hbWVkW2tleV0gPSB2YWx1ZUZvclJlZihuYW1lZFtrZXldKTtcbiAgfVxuXG4gIGxldCByZWlmaWVkUG9zaXRpb25hbCA9IHBvc2l0aW9uYWwubWFwKHZhbHVlRm9yUmVmKTtcblxuICByZXR1cm4ge1xuICAgIG5hbWVkOiByZWlmaWVkTmFtZWQsXG4gICAgcG9zaXRpb25hbDogcmVpZmllZFBvc2l0aW9uYWwsXG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -93,3 +93,3 @@ import { DEBUG } from '@glimmer/env'; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error("Custom component managers must have a `capabilities` property that is the result of calling the `capabilities('3.4' | '3.13')` (imported via `import { capabilities } from '@ember/component';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
throw new Error("Custom component managers must have a `capabilities` property that is the result of calling the `capabilities('3.13')` (imported via `import { capabilities } from '@ember/component';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
} | ||
@@ -181,2 +181,2 @@ | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBQSxLQUFBLFFBQUEsY0FBQTtBQWtCQSxTQUFBLGNBQUEsUUFBQSxvQkFBQTtBQUNBLFNBQUEsa0JBQUEsUUFBQSxzQkFBQTtBQUNBLFNBQUEsaUJBQUEsRUFBQSxpQkFBQSxRQUFBLHNCQUFBO0FBQ0EsU0FBQSxZQUFBLFFBQUEsb0JBQUE7QUFHQSxJQUFNLFlBQVksR0FBRztBQUNuQixFQUFBLGFBQWEsRUFETSxLQUFBO0FBRW5CLEVBQUEsVUFBVSxFQUZTLEtBQUE7QUFHbkIsRUFBQSxXQUFXLEVBSFEsS0FBQTtBQUluQixFQUFBLFVBQVUsRUFKUyxJQUFBO0FBS25CLEVBQUEsYUFBYSxFQUxNLEtBQUE7QUFNbkIsRUFBQSxXQUFXLEVBTlEsS0FBQTtBQU9uQixFQUFBLFlBQVksRUFQTyxLQUFBO0FBUW5CLEVBQUEsWUFBWSxFQVJPLElBQUE7QUFTbkIsRUFBQSxVQUFVLEVBVFMsSUFBQTtBQVVuQixFQUFBLGNBQWMsRUFWSyxJQUFBO0FBV25CLEVBQUEsT0FBTyxFQVhZLEtBQUE7QUFZbkIsRUFBQSxXQUFXLEVBWlEsS0FBQTtBQWFuQixFQUFBLFdBQVcsRUFBRTtBQWJNLENBQXJCO0FBZ0JBLE9BQU0sU0FBQSxxQkFBQSxDQUFBLFVBQUEsRUFFSixPQUZJLEVBRWdEO0FBQUEsTUFBcEQsT0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lvbjxEZXN0cm95YWJsZT4ge1xuICAgIGNvbnN0IHsgZGVsZWdhdGUgfSA9IGJ1Y2tldDtcblxuICAgIGlmIChoYXNEZXN0cnVjdG9ycyhkZWxlZ2F0ZSkpIHtcbiAgICAgIGNvbnN0IHsgY29tcG9uZW50IH0gPSBidWNrZXQ7XG5cbiAgICAgIHJlZ2lzdGVyRGVzdHJ1Y3RvcihidWNrZXQsICgpID0+IGRlbGVnYXRlLmRlc3Ryb3lDb21wb25lbnQoY29tcG9uZW50KSk7XG4gICAgICByZXR1cm4gYnVja2V0O1xuICAgIH1cblxuICAgIHJldHVybiBudWxsO1xuICB9XG5cbiAgZ2V0Q2FwYWJpbGl0aWVzKCk6IEludGVybmFsQ29tcG9uZW50Q2FwYWJpbGl0aWVzIHtcbiAgICByZXR1cm4gQ0FQQUJJTElUSUVTO1xuICB9XG59XG5cbi8qKlxuICogU3RvcmVzIGludGVybmFsIHN0YXRlIGFib3V0IGEgY29tcG9uZW50IGluc3RhbmNlIGFmdGVyIGl0J3MgYmVlbiBjcmVhdGVkLlxuICovXG5leHBvcnQgY2xhc3MgQ3VzdG9tQ29tcG9uZW50U3RhdGU8Q29tcG9uZW50SW5zdGFuY2U+IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGNvbXBvbmVudDogQ29tcG9uZW50SW5zdGFuY2UsXG4gICAgcHVibGljIGRlbGVnYXRlOiBDb21wb25lbnRNYW5hZ2VyPENvbXBvbmVudEluc3RhbmNlPixcbiAgICBwdWJsaWMgYXJnczogQXJndW1lbnRzXG4gICkge31cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGliL3B1YmxpYy9jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU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biAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIGdldENhcGFiaWxpdGllcygpOiBJbnRlcm5hbENvbXBvbmVudENhcGFiaWxpdGllcyB7XG4gICAgcmV0dXJuIENBUEFCSUxJVElFUztcbiAgfVxufVxuXG4vKipcbiAqIFN0b3JlcyBpbnRlcm5hbCBzdGF0ZSBhYm91dCBhIGNvbXBvbmVudCBpbnN0YW5jZSBhZnRlciBpdCdzIGJlZW4gY3JlYXRlZC5cbiAqL1xuZXhwb3J0IGNsYXNzIEN1c3RvbUNvbXBvbmVudFN0YXRlPENvbXBvbmVudEluc3RhbmNlPiB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBjb21wb25lbnQ6IENvbXBvbmVudEluc3RhbmNlLFxuICAgIHB1YmxpYyBkZWxlZ2F0ZTogQ29tcG9uZW50TWFuYWdlcjxDb21wb25lbnRJbnN0YW5jZT4sXG4gICAgcHVibGljIGFyZ3M6IEFyZ3VtZW50c1xuICApIHt9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -64,3 +64,3 @@ import { DEBUG } from '@glimmer/env'; | ||
// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200 | ||
throw new Error("Custom modifier managers must have a `capabilities` property that is the result of calling the `capabilities('3.13' | '3.22')` (imported via `import { capabilities } from '@ember/modifier';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
throw new Error("Custom modifier managers must have a `capabilities` property that is the result of calling the `capabilities('3.22')` (imported via `import { capabilities } from '@ember/modifier';`). Received: `" + JSON.stringify(delegate.capabilities) + "` for: `" + delegate + "`"); | ||
} | ||
@@ -160,2 +160,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL21hbmFnZXIvbGli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CB7IGNhcGFiaWxpdGllcyB9ID0gZGVsZWdhdGU7XG5cbiAgICBpZiAoY2FwYWJpbGl0aWVzLmRpc2FibGVBdXRvVHJhY2tpbmcgPT09IHRydWUpIHtcbiAgICAgIHVudHJhY2soKCkgPT4gZGVsZWdhdGUudXBkYXRlTW9kaWZpZXIobW9kaWZpZXIsIGFyZ3MpKTtcbiAgICB9IGVsc2Uge1xuICAgICAgZGVsZWdhdGUudXBkYXRlTW9kaWZpZXIobW9kaWZpZXIsIGFyZ3MpO1xuICAgIH1cbiAgfVxuXG4gIGdldERlc3Ryb3lhYmxlKHN0YXRlOiBDdXN0b21Nb2RpZmllclN0YXRlPE1vZGlmaWVySW5zdGFuY2U+KSB7XG4gICAgcmV0dXJuIHN0YXRlO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiByZWlmeUFyZ3Moe1xuICBuYW1lZCxcbiAgcG9zaXRpb25hbCxcbn06IENhcHR1cmVkQXJndW1lbnRzKTogeyBuYW1lZDogUmVjb3JkPHN0cmluZywgdW5rbm93bj47IHBvc2l0aW9uYWw6IHVua25vd25bXSB9IHtcbiAgbGV0IHJlaWZpZWROYW1lZCA9IGRpY3QoKTtcblxuICBmb3IgKGxldCBrZXkgaW4gbmFtZWQpIHtcbiAgICByZWlmaWVkTmFtZWRba2V5XSA9IHZhbHVlRm9yUmVmKG5hbWVkW2tleV0pO1xuICB9XG5cbiAgbGV0IHJlaWZpZWRQb3NpdGlvbmFsID0gcG9zaXRpb25hbC5tYXAodmFsdWVGb3JSZWYpO1xuXG4gIHJldHVybiB7XG4gICAgbmFtZWQ6IHJlaWZpZWROYW1lZCxcbiAgICBwb3NpdGlvbmFsOiByZWlmaWVkUG9zaXRpb25hbCxcbiAgfTtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= |
{ | ||
"name": "@glimmer/manager", | ||
"version": "0.81.0", | ||
"version": "0.82.0", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/program", | ||
"dependencies": { | ||
"@glimmer/env": "0.1.7", | ||
"@glimmer/interfaces": "0.81.0", | ||
"@glimmer/destroyable": "0.81.0", | ||
"@glimmer/reference": "0.81.0", | ||
"@glimmer/validator": "0.81.0", | ||
"@glimmer/util": "0.81.0" | ||
"@glimmer/interfaces": "0.82.0", | ||
"@glimmer/destroyable": "0.82.0", | ||
"@glimmer/reference": "0.82.0", | ||
"@glimmer/validator": "0.82.0", | ||
"@glimmer/util": "0.82.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "main": "dist/commonjs/es2017/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
600030
4566
+ Added@glimmer/destroyable@0.82.0(transitive)
+ Added@glimmer/global-context@0.82.0(transitive)
+ Added@glimmer/interfaces@0.82.0(transitive)
+ Added@glimmer/reference@0.82.0(transitive)
+ Added@glimmer/util@0.82.0(transitive)
+ Added@glimmer/validator@0.82.0(transitive)
- Removed@glimmer/destroyable@0.81.0(transitive)
- Removed@glimmer/global-context@0.81.0(transitive)
- Removed@glimmer/interfaces@0.81.0(transitive)
- Removed@glimmer/reference@0.81.0(transitive)
- Removed@glimmer/util@0.81.0(transitive)
- Removed@glimmer/validator@0.81.0(transitive)
Updated@glimmer/destroyable@0.82.0
Updated@glimmer/interfaces@0.82.0
Updated@glimmer/reference@0.82.0
Updated@glimmer/util@0.82.0
Updated@glimmer/validator@0.82.0