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

@okgrow/graphql-scalars

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okgrow/graphql-scalars - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Change Log

## [0.4.5] - 2019-02-12
### Fixed
- Fixed the TypeScript definitions in `graphql-scalars.d.ts` (Credit: [@capaj](https://github.com/capaj))
## [0.4.4] - 2019-02-08

@@ -10,0 +16,0 @@

57

graphql-scalars.d.ts
import { GraphQLScalarType } from 'graphql';
interface RegularExpressionOptions {
errorMessage: Function;
}
declare namespace GraphqlScalars {
declare const EmailAddress: GraphQLScalarType;
declare const DateTime: GraphQLScalarType;
declare const NonPositiveInt: GraphQLScalarType;
declare const PositiveInt: GraphQLScalarType;
declare const NonNegativeInt: GraphQLScalarType;
declare const NegativeInt: GraphQLScalarType;
declare const NonPositiveFloat: GraphQLScalarType;
declare const PositiveFloat: GraphQLScalarType;
declare const NonNegativeFloat: GraphQLScalarType;
declare const NegativeFloat: GraphQLScalarType;
declare const EmailAddress: GraphQLScalarType;
declare const URL: GraphQLScalarType;
declare const PhoneNumber: GraphQLScalarType;
declare const PostalCode: GraphQLScalarType;
const EmailAddress: GraphQLScalarType;
const DateTime: GraphQLScalarType;
const NonPositiveInt: GraphQLScalarType;
const PositiveInt: GraphQLScalarType;
const NonNegativeInt: GraphQLScalarType;
const NegativeInt: GraphQLScalarType;
const NonPositiveFloat: GraphQLScalarType;
const PositiveFloat: GraphQLScalarType;
const NonNegativeFloat: GraphQLScalarType;
const NegativeFloat: GraphQLScalarType;
const URL: GraphQLScalarType;
const PhoneNumber: GraphQLScalarType;
const PostalCode: GraphQLScalarType;
declare class RegularExpression extends GraphQLScalarType {
constructor(name: string, regex: RegExp);
class RegularExpression extends GraphQLScalarType {
constructor(
name: string,
regex: RegExp,
options?: RegularExpressionOptions,
);
}
const DateTimeScalar: string;
const NonPositiveIntScalar: string;
const PositiveIntScalar: string;
const NonNegativeIntScalar: string;
const UnsignedIntScalar: string;
const NegativeIntScalar: string;
const NonPositiveFloatScalar: string;
const PositiveFloatScalar: string;
const NonNegativeFloatScalar: string;
const UnsignedFloatScalar: string;
const NegativeFloatScalar: string;
const EmailAddressScalar: string;
const URLScalar: string;
const PhoneNumberScalar: string;
const PostalCodeScalar: string;
const RegularExpressionScalar: string;
const OKGScalarDefinitions: string[];
}
export = GraphqlScalars;
{
"name": "@okgrow/graphql-scalars",
"version": "0.4.4",
"version": "0.4.5",
"description": "A collection of scalar types not included in base GraphQL.",

@@ -5,0 +5,0 @@ "repository": {

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