graphql-scalars
Advanced tools
Comparing version 0.1.0 to 0.1.1
{"/Users/me/Development/projects/graphql-scalars/src/GraphQLDate.js": {"path":"/Users/me/Development/projects/graphql-scalars/src/GraphQLDate.js","statementMap":{"0":{"start":{"line":6,"column":19},"end":{"line":13,"column":1}},"1":{"start":{"line":7,"column":15},"end":{"line":7,"column":30}},"2":{"start":{"line":8,"column":2},"end":{"line":11,"column":3}},"3":{"start":{"line":9,"column":20},"end":{"line":9,"column":67}},"4":{"start":{"line":10,"column":4},"end":{"line":10,"column":32}},"5":{"start":{"line":12,"column":2},"end":{"line":12,"column":13}},"6":{"start":{"line":15,"column":20},"end":{"line":38,"column":2}},"7":{"start":{"line":17,"column":22},"end":{"line":17,"column":53}},"8":{"start":{"line":20,"column":28},"end":{"line":20,"column":37}},"9":{"start":{"line":22,"column":4},"end":{"line":31,"column":5}},"10":{"start":{"line":25,"column":8},"end":{"line":25,"column":31}},"11":{"start":{"line":26,"column":8},"end":{"line":26,"column":13}},"12":{"start":{"line":28,"column":8},"end":{"line":28,"column":30}},"13":{"start":{"line":29,"column":8},"end":{"line":29,"column":13}},"14":{"start":{"line":32,"column":4},"end":{"line":35,"column":5}},"15":{"start":{"line":33,"column":6},"end":{"line":34,"column":20}},"16":{"start":{"line":36,"column":4},"end":{"line":36,"column":15}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":19},"end":{"line":6,"column":20}},"loc":{"start":{"line":6,"column":30},"end":{"line":13,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":13},"end":{"line":17,"column":14}},"loc":{"start":{"line":17,"column":22},"end":{"line":17,"column":53}}}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":2},"end":{"line":11,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":11,"column":3}},{"start":{"line":8,"column":2},"end":{"line":11,"column":3}}]},"1":{"loc":{"start":{"line":22,"column":4},"end":{"line":31,"column":5}},"type":"switch","locations":[{"start":{"line":23,"column":6},"end":{"line":23,"column":20}},{"start":{"line":24,"column":6},"end":{"line":26,"column":13}},{"start":{"line":27,"column":6},"end":{"line":29,"column":13}},{"start":{"line":30,"column":6},"end":{"line":30,"column":14}}]},"2":{"loc":{"start":{"line":32,"column":4},"end":{"line":35,"column":5}},"type":"if","locations":[{"start":{"line":32,"column":4},"end":{"line":35,"column":5}},{"start":{"line":32,"column":4},"end":{"line":35,"column":5}}]}},"s":{"0":1,"1":12,"2":12,"3":1,"4":1,"5":11,"6":1,"7":8,"8":5,"9":5,"10":2,"11":2,"12":3,"13":3,"14":5,"15":1,"16":4},"f":{"0":12,"1":8},"b":{"0":[1,11],"1":[2,2,3,0],"2":[1,4]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"eff930b53451ee7bb3142b14714f6da49db25e4e"} | ||
,"/Users/me/Development/projects/graphql-scalars/src/GraphQLEmailAddress.js": {"path":"/Users/me/Development/projects/graphql-scalars/src/GraphQLEmailAddress.js","statementMap":{"0":{"start":{"line":6,"column":27},"end":{"line":12,"column":1}},"1":{"start":{"line":7,"column":2},"end":{"line":10,"column":3}},"2":{"start":{"line":8,"column":20},"end":{"line":8,"column":66}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":32}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":14}},"5":{"start":{"line":14,"column":28},"end":{"line":26,"column":2}},"6":{"start":{"line":19,"column":28},"end":{"line":19,"column":37}},"7":{"start":{"line":20,"column":4},"end":{"line":23,"column":5}},"8":{"start":{"line":21,"column":6},"end":{"line":22,"column":20}},"9":{"start":{"line":24,"column":4},"end":{"line":24,"column":16}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":27},"end":{"line":6,"column":28}},"loc":{"start":{"line":6,"column":36},"end":{"line":12,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":2},"end":{"line":10,"column":3}},"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":10,"column":3}},{"start":{"line":7,"column":2},"end":{"line":10,"column":3}}]},"1":{"loc":{"start":{"line":20,"column":4},"end":{"line":23,"column":5}},"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":23,"column":5}},{"start":{"line":20,"column":4},"end":{"line":23,"column":5}}]},"2":{"loc":{"start":{"line":20,"column":8},"end":{"line":20,"column":54}},"type":"binary-expr","locations":[{"start":{"line":20,"column":8},"end":{"line":20,"column":28}},{"start":{"line":20,"column":32},"end":{"line":20,"column":54}}]}},"s":{"0":1,"1":6,"2":1,"3":1,"4":5,"5":1,"6":3,"7":3,"8":1,"9":2},"f":{"0":6},"b":{"0":[1,5],"1":[1,2],"2":[3,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"97b0a218d8e0aabb067961413292a6f99f76be5e"} | ||
,"/Users/me/Development/projects/graphql-scalars/src/isDate.js": {"path":"/Users/me/Development/projects/graphql-scalars/src/isDate.js","statementMap":{"0":{"start":{"line":1,"column":17},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":15},"end":{"line":6,"column":1}},"2":{"start":{"line":4,"column":2},"end":{"line":5,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":15},"end":{"line":3,"column":16}},"loc":{"start":{"line":3,"column":26},"end":{"line":6,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":9},"end":{"line":5,"column":27}},"type":"binary-expr","locations":[{"start":{"line":4,"column":9},"end":{"line":4,"column":49}},{"start":{"line":5,"column":4},"end":{"line":5,"column":27}}]}},"s":{"0":1,"1":1,"2":21},"f":{"0":21},"b":{"0":[21,21]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b07dae0efe70eb43eeb74d33ea7cd0a205a06550"} | ||
,"/Users/me/Development/projects/graphql-scalars/src/isEmailAddress.js": {"path":"/Users/me/Development/projects/graphql-scalars/src/isEmailAddress.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":91}},"1":{"start":{"line":2,"column":23},"end":{"line":2,"column":56}},"2":{"start":{"line":2,"column":32},"end":{"line":2,"column":56}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":2,"column":23},"end":{"line":2,"column":24}},"loc":{"start":{"line":2,"column":32},"end":{"line":2,"column":56}}}},"branchMap":{},"s":{"0":1,"1":1,"2":11},"f":{"0":11},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e081f9eaa4a70cab014c2e8f05aabaf82d2e7635"} | ||
} |
{ | ||
"name": "graphql-scalars", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Custom scalars for GraphQL", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -8,2 +8,3 @@ # graphql-scalars | ||
* [GraphQLDate](#GraphQLDate) | ||
* [GraphQLEmailAddress](#GraphQLEmailAddress) | ||
@@ -20,5 +21,5 @@ ## Installation | ||
`GraphQLDate` uses `new Date()` to parse values so, please refer to [documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) for more details. | ||
`GraphQLDate` uses `new Date()` to parse values so, please refer to the [documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) for more details. | ||
`GraphQLDate` serialize dates to ISO 8601 strings. | ||
`GraphQLDate` serializes dates to ISO 8601 strings. | ||
@@ -101,4 +102,9 @@ ### Usage | ||
## GraphQLEmailAddress <a name="GraphQLEmailAddress" /> | ||
`GraphQLEmailAddress` uses the regular expression as per HTML5 specification to | ||
validate input email addresses. | ||
## License | ||
`graphql-scalars` is [MIT-licensed](https://github.com/adriano-di-giovanni/graphql-scalars/blob/master/LICENSE). |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
87363
32
803
108
0