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

js-mvc-framework

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-mvc-framework - npm Package Compare versions

Comparing version 1.2.18 to 1.2.19

16

demonstrament/documents/test/index.js

@@ -41,14 +41,16 @@ import { Content, Model } from '/dependencies/mvc-framework.js'

events: {
// "content.propertyA.propertyB getProperty": function getProperty($event) {
// $event.type, $event.basename, $event.detail
// },
"content.propertyA.propertyB getProperty:propertyC": function getPropertyC($event) {
console.log($event.type, $event.basename, $event.detail)
},
"content.propertyA.propertyB setProperty:propertyC": function setPropertyC($event) {
console.log($event.type, $event.basename, $event.detail)
},
"content.propertyA.propertyB deleteProperty:propertyC": function deletePropertyC($event) {
console.log($event.type, $event.basename, $event.detail)
},
}
}, { enableEvents: true })
// console.log(schema)
// console.log(content)
// console.log(content.object)
console.log(content.get("propertyA.propertyB.propertyC"))
content.get("propertyA.propertyB.propertyC")
content.set("propertyA.propertyB.propertyC", "CCCCCCCCC")
content.delete("propertyA.propertyB.propertyC")

@@ -25,3 +25,3 @@ import deleteContent from './deleteContent/index.js'

// Ulteroptions
arguments.length === 2 &&
arguments.length === 2 + defaultArgumentsLength &&
typeof arguments[0 + defaultArgumentsLength] === 'string' &&

@@ -28,0 +28,0 @@ typeof arguments[1 + defaultArgumentsLength] === 'object'

@@ -10,3 +10,8 @@ import Content from '../../../../../index.js'

// Delete Preterproperties
proxy.delete()
// proxy.delete()
proxy.delete({
events: {
['delete']: false, ['deleteProperty']: false, ['deleteProperty:$key']: false
}
})
// Arguments

@@ -13,0 +18,0 @@ const $value = arguments[0]

{
"name": "js-mvc-framework",
"author": "Thomas Patrick Welborn",
"version": "1.2.18",
"version": "1.2.19",
"type": "module",

@@ -6,0 +6,0 @@ "scripts": {

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 too big to display

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