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

@travetto/model

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/model - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json

@@ -23,3 +23,3 @@ {

},
"version": "0.0.6"
"version": "0.0.7"
}

@@ -23,3 +23,3 @@ import { SchemaBound, Schema } from '@travetto/schema';

prePersist(): this {
prePersist() {
if (!this.createdDate) {

@@ -29,8 +29,6 @@ this.createdDate = new Date();

this.updatedDate = new Date();
return this;
}
postLoad(): this {
return this;
postLoad() {
}
}
export interface ModelCore {
id?: string;
type?: string;
prePersist?(): any;
postLoad?(): any;
prePersist?(): void;
postLoad?(): void;
}
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