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

data-tier

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-tier - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

2

dist/data-tier.js

@@ -7,3 +7,3 @@ import { DOMProcessor } from './dom-processor.js';

export const version = '3.3.0';
export const version = '3.3.1';

@@ -10,0 +10,0 @@ const initStartTime = performance.now();

@@ -1,1 +0,1 @@

import{DOMProcessor as o}from"./dom-processor.min.js";import{Ties as s}from"./ties.min.js";import{Views as e}from"./views.min.js";export{Observable}from"./ties.min.js";export const version="3.3.0";const t=performance.now();console.info("DT (3.3.0): starting initialization...");const r=new class{constructor(){this.params=Object.freeze(Array.from(new URL(import.meta.url).searchParams).reduce((o,s)=>(o[s[0]]=s[1],o),{})),this.paramsKey=Symbol("view.params.key"),this.domProcessor=new o(this),this.ties=new s(this),this.views=new e(this),"false"!==this.params.autostart&&!1!==this.params.autostart&&this.domProcessor.addDocument(document)}};export const ties=r.ties;export const addDocument=r.domProcessor.addDocument.bind(r.domProcessor);export const removeDocument=r.domProcessor.removeDocument.bind(r.domProcessor);console.info(`DT (3.3.0): ... initialization DONE (took ${(performance.now()-t).toFixed(2)}ms)`);
import{DOMProcessor as o}from"./dom-processor.min.js";import{Ties as s}from"./ties.min.js";import{Views as e}from"./views.min.js";export{Observable}from"./ties.min.js";export const version="3.3.1";const t=performance.now();console.info("DT (3.3.1): starting initialization...");const r=new class{constructor(){this.params=Object.freeze(Array.from(new URL(import.meta.url).searchParams).reduce((o,s)=>(o[s[0]]=s[1],o),{})),this.paramsKey=Symbol("view.params.key"),this.domProcessor=new o(this),this.ties=new s(this),this.views=new e(this),"false"!==this.params.autostart&&!1!==this.params.autostart&&this.domProcessor.addDocument(document)}};export const ties=r.ties;export const addDocument=r.domProcessor.addDocument.bind(r.domProcessor);export const removeDocument=r.domProcessor.removeDocument.bind(r.domProcessor);console.info(`DT (3.3.1): ... initialization DONE (took ${(performance.now()-t).toFixed(2)}ms)`);
{
"name": "data-tier",
"version": "3.3.0",
"version": "3.3.1",
"description": "Tiny and fast two way (MV-VM) data binding framework for browser environments.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -23,2 +23,8 @@ [![NPM](https://img.shields.io/npm/v/data-tier.svg?label=npm%20data-tier)](https://www.npmjs.com/package/data-tier)

`data-tier` implements a [data binding declaration API](docs/api-tying-declaration.md) (part of this library), which specifies tying data source to element's:
- attribute (in progress)
- event (in progress)
- method
- property
![CHROME](docs/icons/chrome.png)<sub>61+</sub> | ![FIREFOX](docs/icons/firefox.png)<sub>60+</sub> | ![EDGE](docs/icons/edge-chromium.png)<sub>79+</sub>

@@ -31,4 +37,3 @@

> Note: the above solution of attributes tying is a narrowed case of a more generic, and yet still missing, functionality.
This issue, attributes ties, will be addressed fully as part of the [Issue 74](https://github.com/gullerya/data-tier/issues/74) and [Issue 79](https://github.com/gullerya/data-tier/issues/79) work.
> Note: the above solution of attributes tying is a narrowed case of a more generic, and yet still missing, functionality. This issue, attributes ties, is fully addressed in the [data binding declaration API](docs/api-tying-declaration.md) and its implementation ([Issue 75](https://github.com/gullerya/data-tier/issues/75), [Issue 79](https://github.com/gullerya/data-tier/issues/79) for tracking).

@@ -35,0 +40,0 @@ ## Installation

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