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

apeframework

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apeframework - npm Package Compare versions

Comparing version 0.0.0-dev.11 to 0.0.0-dev.13

2

api/Api.d.ts

@@ -21,3 +21,3 @@ import type { Endpoint } from './Endpoint';

enable?: boolean;
origin?: string[];
origins?: string[];
};

@@ -24,0 +24,0 @@ responseValidation?: boolean;

@@ -47,3 +47,3 @@ "use strict";

this.server.register(cors_1.default, {
origin: params.cors.origin,
origin: params.cors.origins,
});

@@ -50,0 +50,0 @@ }

@@ -31,3 +31,3 @@ import cors from '@fastify/cors'

enable?: boolean,
origin?: string[],
origins?: string[],
},

@@ -79,3 +79,3 @@ responseValidation?: boolean,

this.server.register(cors, {
origin: params.cors.origin,
origin: params.cors.origins,
})

@@ -82,0 +82,0 @@ }

interface Args {
positional: string[];
optional: Record<string, boolean | string>;
optional: Record<string, boolean | string | undefined>;
}
export { type Args, };
interface Args {
positional: string[],
optional: Record<string, boolean | string>,
optional: Record<string, boolean | string | undefined>,
}

@@ -5,0 +5,0 @@

@@ -22,3 +22,3 @@ import yargsParser from 'yargs-parser'

const optional = parsed as Record<string, boolean | string>
const optional = parsed as Record<string, boolean | string | undefined>

@@ -25,0 +25,0 @@ delete optional._

{
"name": "apeframework",
"version": "0.0.0-dev.11",
"version": "0.0.0-dev.13",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Matthieu Symoens",

@@ -9,8 +9,2 @@ "use strict";

}
else if (input === false) {
return '0';
}
else if (input === true) {
return '1';
}
else if (['object', 'function', 'symbol'].includes(typeof input)) {

@@ -17,0 +11,0 @@ throw new ParseError_1.ParseError('string');

@@ -7,6 +7,2 @@ import { ParseError } from './errors/ParseError'

return ''
} else if (input === false) {
return '0'
} else if (input === true) {
return '1'
} else if (['object', 'function', 'symbol'].includes(typeof input)) {

@@ -13,0 +9,0 @@ throw new ParseError('string')

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