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.0.0 to 1.0.1

designment/.~lock.mvc-framework-document.xlsx#

14

development/Core/DynamicEventTarget/Handler/Traps/Events/index.js

@@ -19,3 +19,3 @@ const Events = {

),
// Object Assign Source Key
// Object Assign Source Property
'assignSourceProperty': ($event, $target) => new CustomEvent(

@@ -30,14 +30,2 @@ `assignSourceProperty`, {

),
// Object Assign Source Key
'assignSourcePropertyKey': ($event, $target) => {
return new CustomEvent(
`assignSourceProperty:${$event.key}`, {
detail: {
key: $event.key,
val: $event.val,
source: $event.source,
}
}
)
},
// Object Define Properties

@@ -44,0 +32,0 @@ 'defineProperties': ($event, $target) => new CustomEvent(

@@ -11,4 +11,5 @@ import { isDirectInstanceOf } from '../../../../../../../Utils/index.js'

value: function() {
const sources = [...arguments]
iterateSources:
for(let $source of [...arguments]) {
for(let $source of sources) {
iterateSourceProps:

@@ -42,12 +43,2 @@ for(let [

$eventTarget,
'assignSourcePropertyKey',
{
key: $sourcePropKey,
val: $sourcePropVal,
source: $source,
},
$root,
)
$trap.createEvent(
$eventTarget,
'assignSourceProperty',

@@ -74,3 +65,5 @@ {

'assign',
{},
{
sources
},
$root,

@@ -77,0 +70,0 @@ )

@@ -56,11 +56,2 @@ import { typeOf, isDirectInstanceOf } from '../../../../../../../Utils/index.js'

)
$trap.createEvent(
$eventTarget,
'definePropertyKey',
{
prop: $propertyKey,
descriptor: $propertyDescriptor,
},
$root,
)
}

@@ -67,0 +58,0 @@ $trap.createEvent(

@@ -53,10 +53,2 @@ import { typeOf, isDirectInstanceOf } from '../../../../../../../Utils/index.js'

)
$trap.createEvent(
$eventTarget,
'definePropertyKey',
{
prop: propertyKey,
descriptor: propertyDescriptor,
},
)
return $root

@@ -63,0 +55,0 @@ }

@@ -8,7 +8,10 @@ export default function SetPrototypeOf(

value: function () {
Object.setPrototypeOf($root)
const prototype = arguments[0]
Object.setPrototypeOf($root, prototype)
$trap.createEvent(
$eventTarget,
'setPrototypeOf',
{},
{
prototype
},
$root

@@ -15,0 +18,0 @@ )

import { typeOf } from '../Utils/index.js'
import EventSystem from './EventSystem/index.js'
import DynamicEventSystem from './DynamicEventSystem/index.js'
const Settings = {}
const Options = {}
export default class Core extends EventSystem {
export default class Core extends DynamicEventSystem {
constructor($settings = Settings, $options = Options) {

@@ -8,0 +8,0 @@ super($settings.events, $options.enable)

import DynamicEventTarget from './Core/DynamicEventTarget/index.js'
import EventSystem from './Core/EventSystem/index.js'
import DynamicEventSystem from './Core/DynamicEventSystem/index.js'
import Core from './Core/index.js'

@@ -15,3 +15,3 @@ import Model from './Model/index.js'

DynamicEventTarget,
EventSystem,
DynamicEventSystem,
Core,

@@ -18,0 +18,0 @@ Model,

@@ -13,5 +13,6 @@ {

},
"version": "1.0.0",
"repository": "https://github.com/thomaspatrickwelborn/mvc-framework",
"version": "1.0.1",
"license": "ISC",
"description": "Early bird gets the wormhole. "
}

@@ -1,3 +0,17 @@

# MVC Framework
Early bird gets the wormhole.
> [!IMPORTANT]
> Early Stage Development
> [!WARNING]
> Use At Own Risk
> [!INFORMATION]
> Interested in MVC Framework?
thomas.patrick.welborn@outlook.com
#
MVC Framework is a Javascript implementation of the **[Presentation-Abstraction-Control (PAC) Pattern](https://en.wikipedia.org/wiki/Presentation%E2%80%93abstraction%E2%80%93control)**
## Features
- Dynamic Event Target (DET) ventilates Object, Array, and Map property modifier functions.
- Dynamic Event System (DES) facilitates Event Target/Dynamic Event Target property assignment and ablement.
- Fetch Router interfacilitates client/server endpoint calls and callbacks.
## Documents
### Classification
- [Classification](./document/Classification/index.md)
### Demonstration
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