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

djorm

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djorm - npm Package Compare versions

Comparing version 0.1.13-alpha.6 to 0.1.13-alpha.7

8

fields/TrivialField.js

@@ -1,2 +0,2 @@

const { ValueError } = require('../errors')
const { FieldValidationError } = require('../errors')
const { Field } = require('../models/AttrModel')

@@ -16,3 +16,7 @@

) {
throw new ValueError(`Invalid choice "${value}"`)
throw new FieldValidationError(
inst,
fieldName,
`Invalid choice "${value}"`
)
}

@@ -19,0 +23,0 @@ return super.validateValue(inst, fieldName)

@@ -163,2 +163,3 @@ const { DatabaseModelBase } = require('./DatabaseModelBase')

async save () {
await this.validate()
if (this.pk) {

@@ -165,0 +166,0 @@ return await this.update()

{
"name": "djorm",
"version": "0.1.13-alpha.6",
"version": "0.1.13-alpha.7",
"description": "Django like ORM framework",

@@ -39,3 +39,3 @@ "author": "Pavel Žák <pavel@zak.global>",

},
"gitHead": "992a55f4dc63d26a0b418feaf06c5aa344a689e5"
"gitHead": "9f4ef18813a98429678fa22e14a244e86d664b89"
}
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