Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@glimmer/validator

Package Overview
Dependencies
Maintainers
11
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/validator - npm Package Compare versions

Comparing version 0.47.1 to 0.47.3

4

dist/commonjs/es2017/lib/tracking.js

@@ -106,3 +106,3 @@ 'use strict';

if (hasInitializer && !values.has(self)) {
value = initializer();
value = initializer.call(self);
values.set(self, value);

@@ -124,2 +124,2 @@ } else {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3ZhbGlkYXRvci9saWIvdHJhY2tpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O1FBd0RNLEssR0FBQSxLO1FBbUJBLE8sR0FBQSxPO1FBTUEsVSxHQUFBLFU7UUFJQSxPLEdBQUEsTztRQWtCQSxXLEdBQUEsVzs7OztBQXRHTjs7QUFDQTs7QUFDQTs7QUFJQTs7Ozs7Ozs7Ozs7OztBQWFBLElBQUksa0JBQUosSUFBQTtBQUVBOzs7QUFHQSxNQUFBLE9BQUEsQ0FBYTtBQUFiLGtCQUFBO0FBQ1UsYUFBQSxJQUFBLEdBQU8sSUFBUCxHQUFPLEVBQVA7QUFDQSxhQUFBLElBQUEsR0FBQSxJQUFBO0FBeUJUO0FBdkJDLFFBQUEsR0FBQSxFQUFZO0FBQ1YsYUFBQSxJQUFBLENBQUEsR0FBQSxDQUFBLEdBQUE7QUFFQSxZQUFBLFVBQUEsRUFBVztBQUNULDBDQUFBLEdBQUEsRUFBd0IsSUFBeEIsS0FBd0IsRUFBeEI7QUFDRDtBQUVELGFBQUEsSUFBQSxHQUFBLEdBQUE7QUFDRDtBQUVELGNBQU87QUFDTCxZQUFJLEVBQUEsSUFBQSxLQUFKLElBQ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-124,3 +124,3 @@ 'use strict';

if (hasInitializer && !values.has(self)) {
value = initializer();
value = initializer.call(self);
values.set(self, value);

@@ -142,2 +142,2 @@ } else {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3ZhbGlkYXRvci9saWIvdHJhY2tpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O1FBd0RNLEssR0FBQSxLO1FBbUJBLE8sR0FBQSxPO1FBTUEsVSxHQUFBLFU7UUFJQSxPLEdBQUEsTztRQWtCQSxXLEdBQUEsVzs7QUF2R047O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7Ozs7O0FBSUE7Ozs7Ozs7Ozs7Ozs7QUFhQSxJQUFJLGtCQUFKLElBQUE7QUFFQTs7OztJQUdBLFU7QUFBQSxhQUFBLE9BQUEsR0FBQTtBQUFBLHdCQUFBLElBQUEsRUFBQSxPQUFBOztBQUNVLGFBQUEsSUFBQSxHQUFPLElBQVAsR0FBTyxFQUFQO0FBQ0EsYUFBQSxJQUFBLEdBQUEsSUFBQTtBQXlCVDs7c0JBdkJDLEcsZ0JBQUEsRyxFQUFZO0FBQ1YsYUFBQSxJQUFBLENBQUEsR0FBQSxDQUFBLEdBQUE7QUFFQSxZQUFBLFVBQUEsRUFBVztBQUNULDBDQUFBLEdBQUEsRUFBd0IsSUFBeEIsS0FBd0IsRUFBeEI7QUFDRDtBQUVELGFBQUEsSUFBQSxHQUFBLEdBQUE7OztzQkFHRixPLHNCQUFPO0FBQUEsWUFBQSxPQUFBLEtBQUEsSUFBQTs7QUFHTCxZQUFJLEtBQUEsSUFBQSxLQUFKLENBQUEsRUFBcUI7QUFDbkIsbUJBQUEsd0JBQUE7QUFERixTQUFBLE1BRU8sSUFBSSxLQUFBLElBQUEsS0FBSixDQUFBLEVBQXFCO0FBQzFCLG1CQUFPLEtBQV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n1cbiJdLCJzb3VyY2VSb290IjoiIn0=

@@ -90,3 +90,3 @@ import { DEBUG } from '@glimmer/env';

if (hasInitializer && !values.has(self)) {
value = initializer();
value = initializer.call(self);
values.set(self, value);

@@ -108,2 +108,2 @@ } else {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3ZhbGlkYXRvci9saWIvdHJhY2tpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxLQUFULFFBQXNCLGNBQXRCO0FBQ0EsU0FBYyxPQUFkLEVBQXVCLFNBQXZCLEVBQWtDLEtBQWxDLEVBQXlDLFlBQXpDLFFBQTZELGNBQTdEO0FBQ0EsU0FBUyxNQUFULEVBQWlCLFdBQWpCLFFBQW9DLFFBQXBDO0FBQ0EsU0FBUyxpQkFBVCxFQUE0Qiw0QkFBNUIsRUFBMEQsb0JBQTFELFFBQXNGLFNBQXRGO0FBSUE7Ozs7Ozs7Ozs7Ozs7QUFhQSxJQUFJLGtCQUFtQyxJQUF2QztBQUVBOzs7QUFHQSxNQUFNLE9BQU4sQ0FBYTtBQUFiLGtCQUFBO0FBQ1UsYUFBQSxJQUFBLEdBQU8sSUFBSSxHQUFKLEVBQVA7QUFDQSxhQUFBLElBQUEsR0FBb0IsSUFBcEI7QUF5QlQ7QUF2QkMsUUFBSSxHQUFKLEVBQVk7QUFDVixhQUFLLElBQUwsQ0FBVSxHQUFWLENBQWMsR0FBZDtBQUVBLFlBQUksS0FBSixFQUFXO0FBQ1QsOEJBQW1CLEdBQW5CLEVBQXdCLElBQUksS0FBSixFQUF4QjtBQUNEO0FBRUQsYUFBSyxJQUFMLEdBQVksR0FBWjtBQUNEO0FBRUQsY0FBTztBQUNMLFlBQUksRUFBRSxJQUFGLEtBQVcsSUFBZjtBQUVBLFlBQUksS0FBSyxJQUFMLEtBQWMsQ0F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wgc2VsZiwga2V5LCB0cnVlKTtcbiAgICB9XG5cbiAgICBkaXJ0eShFUE9DSCk7XG4gICAgZGlydHlUYWdGb3Ioc2VsZiwga2V5KTtcbiAgICB2YWx1ZXMuc2V0KHNlbGYsIHZhbHVlKTtcbiAgfVxuXG4gIHJldHVybiB7IGdldHRlciwgc2V0dGVyIH07XG59XG4iXSwic291cmNlUm9vdCI6IiJ9

@@ -104,3 +104,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

if (hasInitializer && !values.has(self)) {
value = initializer();
value = initializer.call(self);
values.set(self, value);

@@ -122,2 +122,2 @@ } else {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3ZhbGlkYXRvci9saWIvdHJhY2tpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxTQUFBLEtBQUEsUUFBQSxjQUFBO0FBQ0EsU0FBQSxtQkFBQSxFQUFBLFNBQUEsRUFBQSxLQUFBLEVBQUEsWUFBQSxRQUFBLGNBQUE7QUFDQSxTQUFBLE1BQUEsRUFBQSxXQUFBLFFBQUEsUUFBQTtBQUNBLFNBQUEsaUJBQUEsRUFBQSw0QkFBQSxFQUFBLG9CQUFBLFFBQUEsU0FBQTtBQUlBOzs7Ozs7Ozs7Ozs7O0FBYUEsSUFBSSxrQkFBSixJQUFBO0FBRUE7Ozs7SUFHQSxPO0FBQUEsdUJBQUE7QUFBQTs7QUFDVSxhQUFBLElBQUEsR0FBTyxJQUFQLEdBQU8sRUFBUDtBQUNBLGFBQUEsSUFBQSxHQUFBLElBQUE7QUF5QlQ7O3NCQXZCQyxHLGdCQUFBLEcsRUFBWTtBQUNWLGFBQUEsSUFBQSxDQUFBLEdBQUEsQ0FBQSxHQUFBO0FBRUEsWUFBQSxLQUFBLEV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5cbiAgZnVuY3Rpb24gc2V0dGVyKHNlbGY6IFQsIHZhbHVlOiBUW0tdKTogdm9pZCB7XG4gICAgaWYgKERFQlVHKSB7XG4gICAgICBhc3NlcnRUYWdOb3RDb25zdW1lZCEodGFnRm9yKHNlbGYsIGtleSksIHNlbGYsIGtleSwgdHJ1ZSk7XG4gICAgfVxuXG4gICAgZGlydHkoRVBPQ0gpO1xuICAgIGRpcnR5VGFnRm9yKHNlbGYsIGtleSk7XG4gICAgdmFsdWVzLnNldChzZWxmLCB2YWx1ZSk7XG4gIH1cblxuICByZXR1cm4geyBnZXR0ZXIsIHNldHRlciB9O1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ==

@@ -9,3 +9,3 @@ import { Tag } from './validators';

export declare type Setter<T, K extends keyof T> = (self: T, value: T[K]) => void;
export declare function trackedData<T extends object, K extends keyof T>(key: K, initializer?: () => T[K]): {
export declare function trackedData<T extends object, K extends keyof T>(key: K, initializer?: (this: T) => T[K]): {
getter: Getter<T, K>;

@@ -12,0 +12,0 @@ setter: Setter<T, K>;

{
"name": "@glimmer/validator",
"version": "0.47.1",
"version": "0.47.3",
"description": "Objects used to track values and their dirtiness in Glimmer",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc