From 4d988dc1af3395ac512b2556349e2806d84bb105 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Mon, 6 Nov 2023 20:51:51 -0800 Subject: [PATCH] update lume cli version, update typescript version --- dist/BehaviorMap.js | 6 +----- dist/BehaviorMap.js.map | 2 +- dist/BehaviorRegistry.d.ts | 8 ++++---- dist/BehaviorRegistry.d.ts.map | 2 +- dist/BehaviorRegistry.js | 8 ++------ dist/BehaviorRegistry.js.map | 2 +- dist/CancelablePromise.js | 1 + dist/CancelablePromise.js.map | 2 +- dist/HasAttribute.js | 11 ++++------- dist/HasAttribute.js.map | 2 +- dist/index.test.js | 16 ++++++++-------- dist/index.test.js.map | 2 +- package.json | 4 ++-- 13 files changed, 28 insertions(+), 38 deletions(-) diff --git a/dist/BehaviorMap.js b/dist/BehaviorMap.js index df1fc65..40a5efa 100644 --- a/dist/BehaviorMap.js +++ b/dist/BehaviorMap.js @@ -1,11 +1,7 @@ import { $TRACK } from 'solid-js'; import { createMutable, modifyMutable, reconcile } from 'solid-js/store'; export class BehaviorMap extends Map { - constructor() { - super(...arguments); - this.#reactivityTriggerObject = createMutable({}); - } - #reactivityTriggerObject; + #reactivityTriggerObject = createMutable({}); find(predicate) { let result = void undefined; for (const [name, behavior] of this) { diff --git a/dist/BehaviorMap.js.map b/dist/BehaviorMap.js.map index 1cb31a4..4b8869a 100644 --- a/dist/BehaviorMap.js.map +++ b/dist/BehaviorMap.js.map @@ -1 +1 @@ -{"version":3,"file":"BehaviorMap.js","sourceRoot":"","sources":["../src/BehaviorMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAStE,MAAM,OAAO,WAAY,SAAQ,GAAqC;IAAtE;;QAKC,6BAAwB,GAAG,aAAa,CAA2C,EAAE,CAAC,CAAA;IA6GvF,CAAC;IA7GA,wBAAwB,CAA8D;I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AAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;QAErC,OAAO,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAA;IAChC,CAAC;IAEQ,OAAO,CACf,UAA8G,EAC9G,OAAa;QAIb,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;QAErC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IAEQ,IAAI;QAGZ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;QAErC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC;IAED,IAAa,IAAI;QAGhB,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;QAErC,OAAO,KAAK,CAAC,IAAI,CAAA;IAClB,CAAC;IACD,IAAa,IAAI,CAAC,CAAS;QAI1B,KAAK,CAAC,IAAI,GAAG,CAAC,CAAA;IACf,CAAC;CACD"} \ No newline at end of file diff --git a/dist/BehaviorRegistry.d.ts b/dist/BehaviorRegistry.d.ts index c720ee3..504d3b9 100644 --- a/dist/BehaviorRegistry.d.ts +++ b/dist/BehaviorRegistry.d.ts @@ -14,17 +14,17 @@ declare global { elementBehaviors: BehaviorRegistry; } } -export declare type ElementBehaviors = { +export type ElementBehaviors = { behaviors: BehaviorMap; }; -export declare type ElementWithBehaviors = Element & ElementBehaviors; -export declare type PossibleBehaviorConstructor = Constructor; -export declare type PossibleBehaviorInstance = { +export type PossibleBehaviorInstance = { connectedCallback?: (element: Element) => void; disconnectedCallback?: (element: Element) => void; attributeChangedCallback?: (attr: string, oldValue: string | null, newValue: string | null, element: Element) => void; diff --git a/dist/BehaviorRegistry.d.ts.map b/dist/BehaviorRegistry.d.ts.map index a6c49f7..49c9c89 100644 --- a/dist/BehaviorRegistry.d.ts.map +++ b/dist/BehaviorRegistry.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BehaviorRegistry.d.ts","sourceRoot":"","sources":["../src/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CAAA;IACjD,wBAAwB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACrH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAChB,CAAA"} \ No newline at end of file diff --git a/dist/BehaviorRegistry.js b/dist/BehaviorRegistry.js index ccfc712..50eb59a 100644 --- a/dist/BehaviorRegistry.js +++ b/dist/BehaviorRegistry.js @@ -1,10 +1,6 @@ export class BehaviorRegistry { - constructor() { - this.#definedBehaviors = new Map(); - this.#whenDefinedPromises = new Map(); - } - #definedBehaviors; - #whenDefinedPromises; + #definedBehaviors = new Map(); + #whenDefinedPromises = new Map(); define(name, Behavior) { if (!this.#definedBehaviors.has(name)) { this.#definedBehaviors.set(name, Behavior); diff --git a/dist/BehaviorRegistry.js.map b/dist/BehaviorRegistry.js.map index a11f46c..12e6452 100644 --- a/dist/BehaviorRegistry.js.map +++ b/dist/BehaviorRegistry.js.map @@ -1 +1 @@ -{"version":3,"file":"BehaviorRegistry.js","sourceRoot":"","sources":["../src/BehaviorRegistry.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,gBAAgB;IAA7B;QACC,sBAAiB,GAAG,IAAI,GAAG,EAAuC,CAAA;QAClE,yBAAoB,GAA+D,IAAI,GAAG,EAAE,CAAA;IA8C7F,CAAC;IA/CA,iBAAiB,CAAiD;IAClE,oBAAoB,CAAwE;IAO5F,MAAM,CAAwC,IAAY,EAAE,QAAW;QACtE,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YACtC,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;YAE1C,IAAI,IAAI,CAAC,oBAAoB,CAAC,G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AAC,CAAC,CAAC,CAAA;QAErD,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,EAAE,EAAC,OAAO,EAAE,OAAO,EAAC,CAAC,CAAA;QAEvD,OAAO,OAAO,CAAA;IACf,CAAC;CACD;AAED,MAAM,CAAC,IAAI,gBAAkC,CAAA;AAG7C,IAAI,UAAU,CAAC,MAAM,EAAE,QAAQ,EAAE;IAChC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAA;CACvE"} \ No newline at end of file diff --git a/dist/CancelablePromise.js b/dist/CancelablePromise.js index 621c268..1189f23 100644 --- a/dist/CancelablePromise.js +++ b/dist/CancelablePromise.js @@ -3,6 +3,7 @@ export const _ = Privates(); export class PromiseCancellation extends Error { } export class CancelablePromise extends Promise { + canceled; constructor(executor, options) { const rejectOnCancel = options ? options.rejectOnCancel : false; let originalReject; diff --git a/dist/CancelablePromise.js.map b/dist/CancelablePromise.js.map index 8177d0c..25475a6 100644 --- a/dist/CancelablePromise.js.map +++ b/dist/CancelablePromise.js.map @@ -1 +1 @@ -{"version":3,"file":"CancelablePromise.js","sourceRoot":"","sources":["../src/CancelablePromise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AAEtC,MAAM,CAAC,MAAM,CAAC,GAAG,QAAQ,EAAE,CAAA;AAM3B,MAAM,OAAO,mBAAoB,SAAQ,KAAK;CAAG;AAEjD,MAAM,OAAO,iBAAqB,SAAQ,OAAU;IAGnD,YACC,QAA+G,EAC/G,OAAiC;QAEjC,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAA;QAC/D,IAAI,cAAc,CAAA;QAGlB,IAAI,QAAQ,YAAY,OAAO,EAAE;YAChC,MAAM,OAAO,GAAG,QAAQ,CAAA;YAExB,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACzB,cAAc,GAAG,MAAM,CAAA;gBAEvB,OAAO;qBACL,IAAI,CAAC,KAAK,CAAC,EAAE;oBACb,IAAI,IAAI,CAAC,QAAQ;wBAAE,OAAM;oBACzB,OAAO,CAAC,KAAK,CAAC,CAAA;gBACf,CAAC,CAAC;qBACD,KAAK,CAAC,KAAK,CAAC,EAAE;oBACd,IAAI,IAAI,CAAC,QAAQ;wBAAE,OAAM;oBACzB,MAAM,CAAC,KAAK,CAAC,CAAA;gBACd,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;SACF;aAAM;YACN,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACzB,cAAc,GAAG,MAAM,CAAA;gBACvB,QAAQ,CACP,KAAK,CAAC,EAAE;oBACP,IAAI,IAAI,CAAC,QAAQ;wBAAE,OAAM;oBACzB,OAAO,CAAC,KAAK,CAAC,CAAA;gBACf,CAAC,EACD,KAAK,CAAC,EAAE;oBACP,IAAI,IAAI,CAAC,QAAQ;wBAAE,OAAM;oBACzB,MAAM,CAAC,KAAK,CAAC,CAAA;gBACd,CAAC,CACD,CAAA;YACF,CAAC,CAAC,CAAA;SACF;QAED,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAA;QACrB,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,GAAG,cAAc,CAAA;QACvC,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,GAAG,cAAc,CAAA;IACxC,CAAC;IAED,MAAM;QACL,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAA;QAEpB,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE;YAC3B,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAA;SAC3D;IACF,CAAC;CACD"} \ No newline at end of file +{"version":3,"file":"CancelablePromise.js","sourceRoot":"","sources":["../src/CancelablePromise.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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AQ,GAAG,KAAK,CAAA;QACrB,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,GAAG,cAAc,CAAA;QACvC,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,GAAG,cAAc,CAAA;IACxC,CAAC;IAED,MAAM;QACL,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAA;QAEpB,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE;YAC3B,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAA;SAC3D;IACF,CAAC;CACD"} \ No newline at end of file diff --git a/dist/HasAttribute.js b/dist/HasAttribute.js index 3b203fd..a46f2da 100644 --- a/dist/HasAttribute.js +++ b/dist/HasAttribute.js @@ -2,15 +2,12 @@ import '@lume/custom-attributes/dist/index.js'; import { CancelablePromise, PromiseCancellation } from './CancelablePromise.js'; import { BehaviorMap } from './BehaviorMap.js'; export class HasAttribute { - constructor() { - this.observers = new Map(); - this.elementDefinedPromises = new Map(); - this.isConnected = false; - this.#skipConnectedCheck = false; - } get behaviors() { return this.ownerElement.behaviors; } + observers = new Map(); + elementDefinedPromises = new Map(); + isConnected = false; connectedCallback() { this.isConnected = true; this.changedCallback('', this.value); @@ -21,7 +18,7 @@ export class HasAttribute { this.changedCallback(this.value, ''); this.#skipConnectedCheck = false; } - #skipConnectedCheck; + #skipConnectedCheck = false; changedCallback(oldVal, newVal) { if (!this.#skipConnectedCheck) { if (!this.isConnected) diff --git a/dist/HasAttribute.js.map b/dist/HasAttribute.js.map index 2b86c55..630c3de 100644 --- a/dist/HasAttribute.js.map +++ b/dist/HasAttribute.js.map @@ -1 +1 @@ -{"version":3,"file":"HasAttribute.js","sourceRoot":"","sources":["../src/HasAttribute.ts"],"names":[],"mappings":"AAAA,OAAO,uCAAuC,CAAA;AAE9C,OAAO,EAAC,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,wBAAwB,CAAA;AAE7E,OAAO,E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,GAAG,UAAU,OAAO;QACjD,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;QAE9C,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAA;IACZ,CAAC,CAAA;IAED,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;CACvD"} \ No newline at end of file diff --git a/dist/index.test.js b/dist/index.test.js index 2c18c9d..88c303e 100644 --- a/dist/index.test.js +++ b/dist/index.test.js @@ -9,9 +9,7 @@ describe('element-behaviors', () => { }); it('defines an element behavior', () => { class Foo { - constructor() { - this.foo = 'bar'; - } + foo = 'bar'; } elementBehaviors.define('foo', Foo); expect(elementBehaviors.has('foo')).toBe(true); @@ -28,12 +26,13 @@ describe('element-behaviors', () => { let connectedCount = 0; let disconnectedCount = 0; class Awesomeness { + el; constructor(el) { this.el = el; constructCount++; expect(this.el).toBe(div); } - static { this.observedAttributes = ['foo']; } + static observedAttributes = ['foo']; connectedCallback(element) { connectedCount++; expect(element).toBe(this.el); @@ -104,10 +103,11 @@ describe('element-behaviors', () => { let connectedCount = 0; let disconnectedCount = 0; class Shine { + el; constructor(el) { this.el = el; } - static { this.observedAttributes = ['foo']; } + static observedAttributes = ['foo']; connectedCallback() { connectedCount++; } @@ -172,14 +172,14 @@ describe('element-behaviors', () => { it('allows to prevent behaviors from being instantiated until custom elements are defined', async () => { let waitingBehaviorConnected = false; elementBehaviors.define('wait-for-element-defined', class WaitsForElementDefined { - static { this.awaitElementDefined = true; } + static awaitElementDefined = true; connectedCallback() { waitingBehaviorConnected = true; } }); let nonWaitingBehaviorConnected = false; elementBehaviors.define('does-not-wait', class DoesNotWait { - static { this.awaitElementDefined = false; } + static awaitElementDefined = false; connectedCallback() { nonWaitingBehaviorConnected = true; } @@ -199,7 +199,7 @@ describe('element-behaviors', () => { it('does not instantiate a waiting behavior if the element is disconnected before definition', async () => { let waitingBehaviorConnected = false; elementBehaviors.define('wait-for-element-defined-2', class WaitsForElementDefined { - static { this.awaitElementDefined = true; } + static awaitElementDefined = true; connectedCallback() { waitingBehaviorConnected = true; } diff --git a/dist/index.test.js.map b/dist/index.test.js.map index 51e3d69..2e6a989 100644 --- a/dist/index.test.js.map +++ b/dist/index.test.js.map @@ -1 +1 @@ -{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAA;AACrC,OAAO,YAAY,CAAA;AAanB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;QAC/C,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QACxD,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QACrD,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;IACtD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACtC,MAAM,GAAG;YAAT;gBACC,QAAG,GAAG,KAAK,CAAA;YACZ,CAAC;SAAA;QAED,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;QACnC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAG9C,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAA;QAE3D,MAAM,IAAI,G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b,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;YAErC,MAAM,GAAG;aAAG;YACZ,gBAAgB,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;YAEnC,QAAQ,CAAC,IAAI,CAAC,SAAS,GAAY;;IAElC,CAAA;YAED,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAyC,CAAA;YAEnE,IAAI,MAAM,GAAG,KAAK,CAAA;YAGlB,YAAY,CAAC,GAAG,EAAE;gBAQjB,IAAI,MAAM;oBAAE,OAAM;gBAElB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;gBACtC,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;gBACtC,MAAM,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;gBAEpC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC;oBAAE,OAAM;gBAElC,MAAM,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;gBACjC,MAAM,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;gBACjC,MAAM,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;gBAE/B,MAAM,GAAG,IAAI,CAAA;gBACb,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAA;gBACrD,IAAI,EAAE,CAAA;YACP,CAAC,CAAC,CAAA;QACH,CAAC,CAAC,CAAA;IACH,CAAC,CAAC,CAAA;AACH,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/package.json b/package.json index 1a2486a..d33dc99 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,12 @@ "solid-js": "<1.5.0" }, "devDependencies": { - "@lume/cli": "^0.9.0", + "@lume/cli": "^0.10.0", "five-server": "^0.3.1", "lowclass": "^5.0.0", "prettier": "3.0.3", "solid-js": ">=1.0.0 <1.5.0", - "typescript": "4.4.3" + "typescript": "^5.0.0" }, "peerDependencies": { "solid-js": "*"