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

aigis

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aigis - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

index.js

@@ -219,3 +219,6 @@ //-----------------------------------------------------

req.model = {
"name": mdlName,
"data": mdlData,
"scenario": mdlScenario || "",
"validate": function() { return validate(model, mdlData, options); }

@@ -222,0 +225,0 @@ };

4

package.json
{
"name": "aigis",
"version": "0.1.0",
"version": "0.1.1",
"description": "Simple and Powerful module for strict data control",

@@ -44,4 +44,4 @@

"_id": "aigis@0.1.0",
"_id": "aigis@0.1.1",
"_from": "aigis@"
}

@@ -245,2 +245,4 @@ `npm install aigis -g`

JSON.stringify(req.model.data) +
" | name: " + req.model.name +
" | scenario: " + req.model.scenario +
" | validate: " + req.model.validate()

@@ -255,3 +257,3 @@ );

//_ GET: http://127.0.0.1:3000/?model=user&scenario=update&data=%7B%22id%22%3A%226d%22%2C%22name%22%3A%22DT%22%7D
//_ POST: {"model":"user", "data": {id: "6d", name: "DT"}}
//_ POST: {"model":"user", "data": {id: "6d", name: "DT", pswd: "potato"}}
```

@@ -258,0 +260,0 @@

@@ -53,2 +53,4 @@ //-----------------------------------------------------

JSON.stringify(req.model.data) +
" | name: " + req.model.name +
" | scenario: " + req.model.scenario +
" | validate: " + req.model.validate()

@@ -55,0 +57,0 @@ );

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