New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-mvc-framework

Package Overview
Dependencies
Maintainers
0
Versions
100
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.7.0 to 1.8.0

development/core/index.js

6

demonstrament/dpm.config.documents.js

@@ -23,2 +23,3 @@ import { readFile } from 'node:fs/promises'

host: "demonstrament.mvc-framework",
logPrefix: "MVC Framework | Demonstrament",
https: {

@@ -28,3 +29,6 @@ key: certificates.key.path,

},
files: ['static', 'localhost'],
files: [
'static/*.{js,css,html}',
'localhost/*.{js,css,html}',
],
proxy: {

@@ -31,0 +35,0 @@ ws: true,

97

development/control/index.js
import { recursiveAssign, recursiveAssignConcat } from '../coutil/index.js'
import { Core } from 'core-plex'
import Core from '../core/index.js'
import Settings from './settings/index.js'

@@ -8,78 +8,39 @@ import Options from './options/index.js'

import { LocationRouter, FetchRouter, SocketRouter } from '../routers/index.js'
const Names = {
Minister: {
Ad: { Formal: "Add", Nonformal: "add" },
Dead: { Formal: "Remove", Nonformal: "remove" },
}
function Instate($propertyClass, $property, $value) {
const { Class } = $propertyClass
return new Class(...$value)
}
const Definition = { Object: 'Object' }
const States = {
Instate: function Instate($propertyClass, $property, $value) {
const { Class } = $propertyClass
return new Class(...$value)
},
Deinstate: function Deinstate($propertyClass, $property) {},
}
function Deinstate($propertyClass, $property) {}
export default class Control extends Core {
static propertyClasses = [{
name: "models",
class: Model,
names: {
monople: { formal: "Model", nonformal: "model" },
multiple: { formal: "Models", nonformal: "models" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "models", definitionValue: 'Object',
administer: "addModels", deadminister: "removeModels",
instate: Instate, deinstate: Deinstate,
Class: Model,
}, {
name: "views",
class: View,
names: {
monople: { formal: "View", nonformal: "view" },
multiple: { formal: "Views", nonformal: "views" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "views", definitionValue: 'Object',
administer: "addViews", deadminister: "removeViews",
instate: Instate, deinstate: Deinstate,
Class: View,
}, {
name: "controls",
class: Control,
names: {
monople: { formal: "Control", nonformal: "control" },
multiple: { formal: "Controls", nonformal: "controls" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "controls", definitionValue: 'Object',
administer: "addControls", deadminister: "removeControls",
instate: Instate, deinstate: Deinstate,
Class: Control,
}, {
name: "locationRouters",
class: LocationRouter,
names: {
monople: { formal: "LocationRouter", nonformal: "locationRouter" },
multiple: { formal: "LocationRouters", nonformal: "locationRouters" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "locationRouters", definitionValue: 'Object',
administer: "addLocationRouters", deadminister: "removeLocationRouters",
instate: Instate, deinstate: Deinstate,
Class: LocationRouter,
}, {
name: "fetchRouters",
class: FetchRouter,
names: {
monople: { formal: "FetchRouter", nonformal: "fetchRouter" },
multiple: { formal: "FetchRouters", nonformal: "fetchRouters" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "fetchRouters", definitionValue: 'Object',
administer: "addFetchRouters", deadminister: "removeFetchRouters",
instate: Instate, deinstate: Deinstate,
Class: FetchRouter,
}, {
name: "socketRouters",
class: SocketRouter,
names: {
monople: { formal: "SocketRouter", nonformal: "socketRouter" },
multiple: { formal: "SocketRouters", nonformal: "socketRouters" },
minister: Names.Minister,
},
definition: Definition,
states: States,
name: "socketRouters", definitionValue: 'Object',
administer: "addSocketRouters", deadminister: "removeSocketRouters",
instate: Instate, deinstate: Deinstate,
Class: SocketRouter,
}]

@@ -86,0 +47,0 @@ constructor($settings = {}, $options = {}) {

// Ordinary Imports
import * as Coutil from './coutil/index.js'
import { Core } from 'core-plex'
import Core from './core/index.js'
// Primary Imports

@@ -5,0 +5,0 @@ import Model from './model/index.js'

import { recursiveAssign } from '../coutil/index.js'
import Content from './content/index.js'
import { Core } from 'core-plex'
import Core from '../core/index.js'
import Schema from './schema/index.js'

@@ -5,0 +5,0 @@ import LocalStorage from './localStorage/index.js'

@@ -21,3 +21,3 @@ {

"dependencies": {
"core-plex": "^1.2.6",
"core-plex": "^1.3.0",
"parsel-js": "^1.2.1",

@@ -24,0 +24,0 @@ "path-to-regexp": "^8.2.0"

import FetchRoute from './fetchRoute/index.js'
import { Core } from 'core-plex'
import Core from '../../core/index.js'
import Settings from './settings/index.js'

@@ -4,0 +4,0 @@ import Options from './options/index.js'

import { recursiveAssign } from '../../coutil/index.js'
import { Core } from 'core-plex'
import Core from '../../core/index.js'
import Route from './route/index.js'

@@ -4,0 +4,0 @@ import RouteEvent from './routeEvent/index.js'

import { recursiveAssignConcat } from '../../coutil/index.js'
import SocketEvent from './event/index.js'
import { Core } from 'core-plex'
import Core from '../../core/index.js'
import MessageAdapter from './messageAdapter/index.js'

@@ -5,0 +5,0 @@ import Settings from './settings/index.js'

import * as parsel from '../../node_modules/parsel-js/dist/parsel.js'
import { Core } from 'core-plex'
import Core from '../core/index.js'
import QuerySelector from './querySelector/index.js'

@@ -4,0 +4,0 @@ import Query from './query/index.js'

{
"name": "js-mvc-framework",
"author": "Thomas Patrick Welborn",
"version": "1.7.0",
"version": "1.8.0",
"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