@glimmer/global-context
Advanced tools
Comparing version 0.72.0 to 0.73.0
@@ -43,2 +43,3 @@ define('@glimmer/global-context', ['exports', '@glimmer/env'], function (exports, env) { 'use strict'; | ||
exports.getPath = context.getPath; | ||
exports.setPath = context.setPath; | ||
exports.warnIfStyleNotTrusted = context.warnIfStyleNotTrusted; | ||
@@ -64,2 +65,3 @@ } | ||
getPath: exports.getPath, | ||
setPath: exports.setPath, | ||
warnIfStyleNotTrusted: exports.warnIfStyleNotTrusted | ||
@@ -82,2 +84,3 @@ } : null; | ||
exports.getPath = (context === null || context === void 0 ? void 0 : context.getPath) || exports.getPath; | ||
exports.setPath = (context === null || context === void 0 ? void 0 : context.setPath) || exports.setPath; | ||
exports.warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || exports.warnIfStyleNotTrusted; | ||
@@ -93,2 +96,2 @@ return originalGlobalContext; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xpbW1lci1nbG9iYWwtY29udGV4dC5qcyIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvZ2xvYmFsLWNvbnRleHQvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaGlzIHBhY2thZ2UgY29udGFpbnMgZ2xvYmFsIGNvbnRleHQgZnVuY3Rpb25zIGZvciBHbGltbWVyLiBUaGVzZSBmdW5jdGlvbnNcbiAqIGFyZSBzZXQgYnkgdGhlIGVtYmVkZGluZyBlbnZpcm9ubWVudCBhbmQgbXVzdCBiZSBzZXQgYmVmb3JlIGluaXRpYWwgcmVuZGVyLlxuICpcbiAqIFRoZXNlIGZ1bmN0aW9ucyBzaG91bGQgbWVldCB0aGUgZm9sbG93aW5nIGNyaXRlcmlhOlxuICpcbiAqIC0gTXVzdCBiZSBwcm92aWRlZCBieSB0aGUgZW1iZWRkZX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FBUCxxQkFBQSxLQUF4QkEsNkJBQUE7RUFFQSxXQUFBLHFCQUFBO0VBakNGLEdBQUE7RUFtQ0Q7Ozs7Ozs7Ozs7OzsifQ== |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = setGlobalContext; | ||
exports.testOverrideGlobalContext = exports.assertGlobalContextWasSet = exports.warnIfStyleNotTrusted = exports.getPath = exports.setProp = exports.getProp = exports.toBool = exports.toIterator = exports.scheduleDestroyed = exports.scheduleDestroy = exports.scheduleRevalidate = void 0; | ||
exports.testOverrideGlobalContext = exports.assertGlobalContextWasSet = exports.warnIfStyleNotTrusted = exports.setPath = exports.getPath = exports.setProp = exports.getProp = exports.toBool = exports.toIterator = exports.scheduleDestroyed = exports.scheduleDestroy = exports.scheduleRevalidate = void 0; | ||
@@ -100,2 +100,12 @@ var _env = require("@glimmer/env"); | ||
/** | ||
* Hook for specifying how Glimmer should update paths in cases where it needs | ||
* to. For instance, when updating a template reference (e.g. 2-way-binding) | ||
* | ||
* @param obj The object provided to get a value from | ||
* @param path The path to get the value from | ||
*/ | ||
exports.getPath = getPath; | ||
let setPath; | ||
/** | ||
* Hook to warn if a style binding string or value was not marked as trusted | ||
@@ -105,3 +115,3 @@ * (e.g. HTMLSafe) | ||
exports.getPath = getPath; | ||
exports.setPath = setPath; | ||
let warnIfStyleNotTrusted; | ||
@@ -128,2 +138,3 @@ exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted; | ||
exports.getPath = getPath = context.getPath; | ||
exports.setPath = setPath = context.setPath; | ||
exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context.warnIfStyleNotTrusted; | ||
@@ -154,2 +165,3 @@ } | ||
getPath, | ||
setPath, | ||
warnIfStyleNotTrusted | ||
@@ -172,2 +184,3 @@ } : null; | ||
exports.getPath = getPath = (context === null || context === void 0 ? void 0 : context.getPath) || getPath; | ||
exports.setPath = setPath = (context === null || context === void 0 ? void 0 : context.setPath) || setPath; | ||
exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || warnIfStyleNotTrusted; | ||
@@ -177,2 +190,2 @@ return originalGlobalContext; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL2dsb2JhbC1jb250ZXh0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBZUE7O0FBZkE7Ozs7Ozs7Ozs7Ozs7O0FBaUNBOztBQUVBOzs7OztBQUtPLElBQUksa0JBQWtCLEdBQWUsTUFBSyxDQUExQyxDQUFBO0FBRVA7Ozs7Ozs7OztBQU1PLElBQUEsZUFBQTtBQUtQOzs7Ozs7O0FBS08sSUFBQSxpQkFBQTtBQUVQOzs7Ozs7O0FBS08sSUFBQSxVQUFBO0FBRVA7Ozs7Ozs7QUFLTyxJQUFBLE1BQUE7QUFFUDs7Ozs7Ozs7O0FBT08sSUFBQSxPQUFBO0FBRVA7Ozs7Ozs7Ozs7QUFRTyxJQUFBLE9BQUE7QUFFUDs7Ozs7Ozs7O0FBT08sSUFBQSxPQUFBO0FBRVA7Ozs7OztBQUlPLElBQUEscUJBQUE7O0FBZ0JQLElBQUksbUJBQW1CLEdBQXZCLEtBQUE7O0FBRWMsU0FBQSxnQkFBQSxDQUFBLE9BQUEsRUFBaUQ7QUFDN0QsTUFBQSxVQUFBLEVBQVc7QUFDVCxRQUFBLG1CQUFBLEVBQXlCO0FBQ3ZCLFlBQU0sSUFBQSxLQUFBLENBQU4sMEVBQU0sQ0FBTjtBQUNEOztBQUVELElBQUEsbUJBQW1CLEdBQW5CLElBQUE7QUFDRDs7QUFFRCwrQkFBQSxrQkFBa0IsR0FBRyxPQUFPLENBQTVCLGtCQUFBO0FBQ0EsNEJBQUEsZUFBZSxHQUFHLE9BQU8sQ0FBekIsZUFBQTtBQUNBLDh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xlRGVzdHJveWVkID0gY29udGV4dD8uc2NoZWR1bGVEZXN0cm95ZWQgfHwgc2NoZWR1bGVEZXN0cm95ZWQ7XG4gICAgdG9JdGVyYXRvciA9IGNvbnRleHQ/LnRvSXRlcmF0b3IgfHwgdG9JdGVyYXRvcjtcbiAgICB0b0Jvb2wgPSBjb250ZXh0Py50b0Jvb2wgfHwgdG9Cb29sO1xuICAgIGdldFByb3AgPSBjb250ZXh0Py5nZXRQcm9wIHx8IGdldFByb3A7XG4gICAgc2V0UHJvcCA9IGNvbnRleHQ/LnNldFByb3AgfHwgc2V0UHJvcDtcbiAgICBnZXRQYXRoID0gY29udGV4dD8uZ2V0UGF0aCB8fCBnZXRQYXRoO1xuICAgIHNldFBhdGggPSBjb250ZXh0Py5zZXRQYXRoIHx8IHNldFBhdGg7XG4gICAgd2FybklmU3R5bGVOb3RUcnVzdGVkID0gY29udGV4dD8ud2FybklmU3R5bGVOb3RUcnVzdGVkIHx8IHdhcm5JZlN0eWxlTm90VHJ1c3RlZDtcblxuICAgIHJldHVybiBvcmlnaW5hbEdsb2JhbENvbnRleHQ7XG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = setGlobalContext; | ||
exports.testOverrideGlobalContext = exports.assertGlobalContextWasSet = exports.warnIfStyleNotTrusted = exports.getPath = exports.setProp = exports.getProp = exports.toBool = exports.toIterator = exports.scheduleDestroyed = exports.scheduleDestroy = exports.scheduleRevalidate = void 0; | ||
exports.testOverrideGlobalContext = exports.assertGlobalContextWasSet = exports.warnIfStyleNotTrusted = exports.setPath = exports.getPath = exports.setProp = exports.getProp = exports.toBool = exports.toIterator = exports.scheduleDestroyed = exports.scheduleDestroy = exports.scheduleRevalidate = void 0; | ||
@@ -100,2 +100,12 @@ var _env = require("@glimmer/env"); | ||
/** | ||
* Hook for specifying how Glimmer should update paths in cases where it needs | ||
* to. For instance, when updating a template reference (e.g. 2-way-binding) | ||
* | ||
* @param obj The object provided to get a value from | ||
* @param path The path to get the value from | ||
*/ | ||
exports.getPath = getPath; | ||
var setPath; | ||
/** | ||
* Hook to warn if a style binding string or value was not marked as trusted | ||
@@ -105,3 +115,3 @@ * (e.g. HTMLSafe) | ||
exports.getPath = getPath; | ||
exports.setPath = setPath; | ||
var warnIfStyleNotTrusted; | ||
@@ -128,2 +138,3 @@ exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted; | ||
exports.getPath = getPath = context.getPath; | ||
exports.setPath = setPath = context.setPath; | ||
exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context.warnIfStyleNotTrusted; | ||
@@ -154,2 +165,3 @@ } | ||
getPath: getPath, | ||
setPath: setPath, | ||
warnIfStyleNotTrusted: warnIfStyleNotTrusted | ||
@@ -172,2 +184,3 @@ } : null; | ||
exports.getPath = getPath = (context === null || context === void 0 ? void 0 : context.getPath) || getPath; | ||
exports.setPath = setPath = (context === null || context === void 0 ? void 0 : context.setPath) || setPath; | ||
exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || warnIfStyleNotTrusted; | ||
@@ -177,2 +190,2 @@ return originalGlobalContext; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL2dsb2JhbC1jb250ZXh0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBZUE7O0FBZkE7Ozs7Ozs7Ozs7Ozs7O0FBaUNBOztBQUVBOzs7OztBQUtPLElBQUksa0JBQWtCLEdBQWUsU0FBQSxrQkFBQSxHQUFyQyxDQUFBLENBQUE7QUFFUDs7Ozs7Ozs7O0FBTU8sSUFBQSxlQUFBO0FBS1A7Ozs7Ozs7QUFLTyxJQUFBLGlCQUFBO0FBRVA7Ozs7Ozs7QUFLTyxJ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9JdGVyYXRvcjtcbiAgICB0b0Jvb2wgPSBjb250ZXh0Py50b0Jvb2wgfHwgdG9Cb29sO1xuICAgIGdldFByb3AgPSBjb250ZXh0Py5nZXRQcm9wIHx8IGdldFByb3A7XG4gICAgc2V0UHJvcCA9IGNvbnRleHQ/LnNldFByb3AgfHwgc2V0UHJvcDtcbiAgICBnZXRQYXRoID0gY29udGV4dD8uZ2V0UGF0aCB8fCBnZXRQYXRoO1xuICAgIHNldFBhdGggPSBjb250ZXh0Py5zZXRQYXRoIHx8IHNldFBhdGg7XG4gICAgd2FybklmU3R5bGVOb3RUcnVzdGVkID0gY29udGV4dD8ud2FybklmU3R5bGVOb3RUcnVzdGVkIHx8IHdhcm5JZlN0eWxlTm90VHJ1c3RlZDtcblxuICAgIHJldHVybiBvcmlnaW5hbEdsb2JhbENvbnRleHQ7XG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -82,2 +82,11 @@ /** | ||
/** | ||
* Hook for specifying how Glimmer should update paths in cases where it needs | ||
* to. For instance, when updating a template reference (e.g. 2-way-binding) | ||
* | ||
* @param obj The object provided to get a value from | ||
* @param path The path to get the value from | ||
*/ | ||
export let setPath; | ||
/** | ||
* Hook to warn if a style binding string or value was not marked as trusted | ||
@@ -106,2 +115,3 @@ * (e.g. HTMLSafe) | ||
getPath = context.getPath; | ||
setPath = context.setPath; | ||
warnIfStyleNotTrusted = context.warnIfStyleNotTrusted; | ||
@@ -129,2 +139,3 @@ } | ||
getPath, | ||
setPath, | ||
warnIfStyleNotTrusted | ||
@@ -147,2 +158,3 @@ } : null; | ||
getPath = (context === null || context === void 0 ? void 0 : context.getPath) || getPath; | ||
setPath = (context === null || context === void 0 ? void 0 : context.setPath) || setPath; | ||
warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || warnIfStyleNotTrusted; | ||
@@ -152,2 +164,2 @@ return originalGlobalContext; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8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Hwgc2NoZWR1bGVEZXN0cm95ZWQ7XG4gICAgdG9JdGVyYXRvciA9IGNvbnRleHQ/LnRvSXRlcmF0b3IgfHwgdG9JdGVyYXRvcjtcbiAgICB0b0Jvb2wgPSBjb250ZXh0Py50b0Jvb2wgfHwgdG9Cb29sO1xuICAgIGdldFByb3AgPSBjb250ZXh0Py5nZXRQcm9wIHx8IGdldFByb3A7XG4gICAgc2V0UHJvcCA9IGNvbnRleHQ/LnNldFByb3AgfHwgc2V0UHJvcDtcbiAgICBnZXRQYXRoID0gY29udGV4dD8uZ2V0UGF0aCB8fCBnZXRQYXRoO1xuICAgIHNldFBhdGggPSBjb250ZXh0Py5zZXRQYXRoIHx8IHNldFBhdGg7XG4gICAgd2FybklmU3R5bGVOb3RUcnVzdGVkID0gY29udGV4dD8ud2FybklmU3R5bGVOb3RUcnVzdGVkIHx8IHdhcm5JZlN0eWxlTm90VHJ1c3RlZDtcblxuICAgIHJldHVybiBvcmlnaW5hbEdsb2JhbENvbnRleHQ7XG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -82,2 +82,11 @@ /** | ||
/** | ||
* Hook for specifying how Glimmer should update paths in cases where it needs | ||
* to. For instance, when updating a template reference (e.g. 2-way-binding) | ||
* | ||
* @param obj The object provided to get a value from | ||
* @param path The path to get the value from | ||
*/ | ||
export var setPath; | ||
/** | ||
* Hook to warn if a style binding string or value was not marked as trusted | ||
@@ -106,2 +115,3 @@ * (e.g. HTMLSafe) | ||
getPath = context.getPath; | ||
setPath = context.setPath; | ||
warnIfStyleNotTrusted = context.warnIfStyleNotTrusted; | ||
@@ -129,2 +139,3 @@ } | ||
getPath: getPath, | ||
setPath: setPath, | ||
warnIfStyleNotTrusted: warnIfStyleNotTrusted | ||
@@ -147,2 +158,3 @@ } : null; | ||
getPath = (context === null || context === void 0 ? void 0 : context.getPath) || getPath; | ||
setPath = (context === null || context === void 0 ? void 0 : context.setPath) || setPath; | ||
warnIfStyleNotTrusted = (context === null || context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bnRleHQgPT09IG51bGwpIHtcbiAgICAgIGdsb2JhbENvbnRleHRXYXNTZXQgPSBmYWxzZTtcbiAgICB9IGVsc2Uge1xuICAgICAgZ2xvYmFsQ29udGV4dFdhc1NldCA9IHRydWU7XG4gICAgfVxuXG4gICAgc2NoZWR1bGVSZXZhbGlkYXRlID0gY29udGV4dD8uc2NoZWR1bGVSZXZhbGlkYXRlIHx8IHNjaGVkdWxlUmV2YWxpZGF0ZTtcbiAgICBzY2hlZHVsZURlc3Ryb3kgPSBjb250ZXh0Py5zY2hlZHVsZURlc3Ryb3kgfHwgc2NoZWR1bGVEZXN0cm95O1xuICAgIHNjaGVkdWxlRGVzdHJveWVkID0gY29udGV4dD8uc2NoZWR1bGVEZXN0cm95ZWQgfHwgc2NoZWR1bGVEZXN0cm95ZWQ7XG4gICAgdG9JdGVyYXRvciA9IGNvbnRleHQ/LnRvSXRlcmF0b3IgfHwgdG9JdGVyYXRvcjtcbiAgICB0b0Jvb2wgPSBjb250ZXh0Py50b0Jvb2wgfHwgdG9Cb29sO1xuICAgIGdldFByb3AgPSBjb250ZXh0Py5nZXRQcm9wIHx8IGdldFByb3A7XG4gICAgc2V0UHJvcCA9IGNvbnRleHQ/LnNldFByb3AgfHwgc2V0UHJvcDtcbiAgICBnZXRQYXRoID0gY29udGV4dD8uZ2V0UGF0aCB8fCBnZXRQYXRoO1xuICAgIHNldFBhdGggPSBjb250ZXh0Py5zZXRQYXRoIHx8IHNldFBhdGg7XG4gICAgd2FybklmU3R5bGVOb3RUcnVzdGVkID0gY29udGV4dD8ud2FybklmU3R5bGVOb3RUcnVzdGVkIHx8IHdhcm5JZlN0eWxlTm90VHJ1c3RlZDtcblxuICAgIHJldHVybiBvcmlnaW5hbEdsb2JhbENvbnRleHQ7XG4gIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -87,2 +87,10 @@ /** | ||
/** | ||
* Hook for specifying how Glimmer should update paths in cases where it needs | ||
* to. For instance, when updating a template reference (e.g. 2-way-binding) | ||
* | ||
* @param obj The object provided to get a value from | ||
* @param path The path to get the value from | ||
*/ | ||
export declare let setPath: (obj: object, path: string, value: unknown) => unknown; | ||
/** | ||
* Hook to warn if a style binding string or value was not marked as trusted | ||
@@ -101,2 +109,3 @@ * (e.g. HTMLSafe) | ||
getPath: (obj: object, path: string) => unknown; | ||
setPath: (obj: object, prop: string, value: unknown) => void; | ||
warnIfStyleNotTrusted: (value: unknown) => void; | ||
@@ -103,0 +112,0 @@ } |
{ | ||
"name": "@glimmer/global-context", | ||
"version": "0.72.0", | ||
"version": "0.73.0", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/global-context", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
106317
852