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

@ribajs/core

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/core - npm Package Compare versions

Comparing version 1.9.0-alpha.10 to 1.9.0-alpha.11

10

package.json
{
"name": "@ribajs/core",
"description": "Core module of Riba.js",
"version": "1.9.0-alpha.10",
"version": "1.9.0-alpha.11",
"author": "Pascal Garber <pascal@artandcode.studio>",

@@ -52,5 +52,5 @@ "contributors": [

"@babel/runtime-corejs3": "^7.11.2",
"@ribajs/eslint-config": "1.9.0-alpha.10",
"@ribajs/tsconfig": "1.9.0-alpha.10",
"@ribajs/types": "1.8.3",
"@ribajs/eslint-config": "1.9.0-alpha.11",
"@ribajs/tsconfig": "1.9.0-alpha.11",
"@ribajs/types": "1.9.0-alpha.11",
"@types/core-js": "^2.5.3",

@@ -86,4 +86,4 @@ "@types/jest": "^26.0.13",

"dependencies": {
"@ribajs/utils": "1.9.0-alpha.10"
"@ribajs/utils": "1.9.0-alpha.11"
}
}

@@ -35,7 +35,19 @@ import { Binder } from "../interfaces";

el.setAttribute(this.type, newValue);
el.dispatchEvent(
// E.g. Event used in BinderAttributeChangedEvent
new CustomEvent("binder-changed", {
detail: { name: this.type, newValue, oldValue },
})
);
}
} else {
el.removeAttribute(this.type);
el.dispatchEvent(
// E.g. Event used in BinderAttributeChangedEvent
new CustomEvent("binder-changed", {
detail: { name: this.type, newValue, oldValue },
})
);
}
},
};

@@ -7,4 +7,4 @@ /**

name: "json",
read(object: any, replaceSingleQuate = true) {
const result = JSON.stringify(object);
read(object: any, space = 2, replaceSingleQuate = true) {
const result = JSON.stringify(object, null, space);
if (replaceSingleQuate && result) {

@@ -11,0 +11,0 @@ return result.replace(/'/g, `&#39;`);

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