Socket
Socket
Sign inDemoInstall

@automatons/tools

Package Overview
Dependencies
Maintainers
1
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automatons/tools - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

dist/utils/schema.d.ts

@@ -1,5 +0,6 @@

import { OpenapiSchema, OpenapiSchemaAllOf, OpenapiSchemaArray, OpenapiSchemaInteger, OpenapiSchemaNumber, OpenapiSchemaObject, OpenapiSchemaOneOf, OpenapiSchemaReference, OpenapiSchemaString } from "../types";
import { OpenapiSchema, OpenapiSchemaAllOf, OpenapiSchemaArray, OpenapiSchemaBoolean, OpenapiSchemaInteger, OpenapiSchemaNumber, OpenapiSchemaObject, OpenapiSchemaOneOf, OpenapiSchemaReference, OpenapiSchemaString } from "../types";
export declare const isSchemaString: (type: OpenapiSchema) => type is OpenapiSchemaString;
export declare const isSchemaNumber: (type: OpenapiSchema) => type is OpenapiSchemaNumber;
export declare const isSchemaInteger: (type: OpenapiSchema) => type is OpenapiSchemaInteger;
export declare const isSchemaBoolean: (type: OpenapiSchema) => type is OpenapiSchemaBoolean;
export declare const isSchemaObject: (type: OpenapiSchema) => type is OpenapiSchemaObject;

@@ -6,0 +7,0 @@ export declare const isSchemaArray: (type: OpenapiSchema) => type is OpenapiSchemaArray;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSchemaRef = exports.isSchemaOneOf = exports.isSchemaAllOf = exports.isSchemaArray = exports.isSchemaObject = exports.isSchemaInteger = exports.isSchemaNumber = exports.isSchemaString = void 0;
exports.isSchemaRef = exports.isSchemaOneOf = exports.isSchemaAllOf = exports.isSchemaArray = exports.isSchemaObject = exports.isSchemaBoolean = exports.isSchemaInteger = exports.isSchemaNumber = exports.isSchemaString = void 0;
exports.isSchemaString = (type) => type.type === 'string';
exports.isSchemaNumber = (type) => type.type === 'number';
exports.isSchemaInteger = (type) => type.type === 'integer';
exports.isSchemaBoolean = (type) => type.type === 'boolean';
exports.isSchemaObject = (type) => type.type === 'object';

@@ -8,0 +9,0 @@ exports.isSchemaArray = (type) => type.type === 'array';

{
"name": "@automatons/tools",
"version": "1.0.5",
"version": "1.0.6",
"repository": "git@github.com:tanmen/openapi-automatons.git",

@@ -40,3 +40,3 @@ "author": "tanmen <yt.prog@gmail.com>",

},
"gitHead": "fb3b579622e062c3619b558cb7e77f42e75f8713"
"gitHead": "998515bbcb04ac04aed3487f4c388c0ac8f93dbb"
}

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