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

@tsed/schema

Package Overview
Dependencies
Maintainers
1
Versions
849
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/schema - npm Package Compare versions

Comparing version 6.12.1 to 6.13.0

6

lib/decorators/common/ignore.js

@@ -6,2 +6,6 @@ "use strict";

/**
* @ignore
*/
const defaultCB = (value, ctx) => ctx.mongoose !== true;
/**
* Ignore the property when JsonMapper serialize the class to a Plain Object JavaScript.

@@ -62,3 +66,3 @@ *

*/
function Ignore(cb = () => true) {
function Ignore(cb = defaultCB) {
return jsonEntityFn_1.JsonEntityFn((store) => {

@@ -65,0 +69,0 @@ store.itemSchema.ignore(cb);

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

export interface JsonHookContext {
declare global {
namespace TsED {
interface JsonHookContext {
}
}
}
export interface JsonHookContext extends TsED.JsonHookContext {
/**

@@ -3,0 +9,0 @@ * The current instance used by serializer function

@@ -35,2 +35,3 @@ "use strict";

options = {
endpoint: true,
...options,

@@ -37,0 +38,0 @@ specType: options.specType || SpecTypes_1.SpecTypes.JSON,

6

package.json
{
"name": "@tsed/schema",
"version": "6.12.1",
"version": "6.13.0",
"description": "JsonSchema module for Ts.ED Framework",

@@ -18,4 +18,4 @@ "main": "./lib/index.js",

"dependencies": {
"@tsed/core": "6.12.1",
"@tsed/openspec": "6.12.1",
"@tsed/core": "6.13.0",
"@tsed/openspec": "6.13.0",
"change-case": "4.1.1",

@@ -22,0 +22,0 @@ "tslib": "2.0.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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