Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Commit

Permalink
chore: Upgrade dependencies (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktutnik committed May 20, 2020
1 parent 6f51450 commit 3092037
Show file tree
Hide file tree
Showing 5 changed files with 749 additions and 640 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@
"license": "MIT",
"dependencies": {
"@types/validator": "^13.0.0",
"tinspector": "^3.0.2",
"tslib": "^1.11.1",
"tinspector": "^3.0.6",
"tslib": "^2.0.0",
"validator": "^13.0.0"
},
"devDependencies": {
"@hapi/joi": "^17.1.1",
"@types/ejs": "^3.0.3",
"@types/hapi__joi": "^16.0.12",
"@types/jest": "^25.2.1",
"@types/lodash": "^4.14.150",
"@types/ejs": "^3.0.4",
"@types/hapi__joi": "^17.1.0",
"@types/jest": "^25.2.3",
"@types/lodash": "^4.14.152",
"coveralls": "^3.1.0",
"ejs": "^3.1.2",
"jest": "^25.5.2",
"ejs": "^3.1.3",
"jest": "^26.0.1",
"lodash": "^4.17.15",
"ts-jest": "^25.4.0",
"ts-node": "^8.9.1",
"typescript": "^3.8.3"
"ts-jest": "^26.0.0",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
},
"bugs": {
"url": "https://github.com/plumier/plumier/issues"
Expand Down
71 changes: 71 additions & 0 deletions test/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Index Should export member properly 1`] = `
Object {
"PartialValidator": Symbol(tc:partial),
"RequiredValidator": Symbol(tc:required),
"Result": Object {
"create": create,
"error": error,
},
"convert": convert,
"createValidator": createValidator,
"default": createConverter,
"partial": partial,
"val": Object {
"UUID": UUID,
"after": after,
"alpha": alpha,
"alphanumeric": alphanumeric,
"ascii": ascii,
"base64": base64,
"before": before,
"byteLength": byteLength,
"creditCard": creditCard,
"currency": currency,
"dataURI": dataURI,
"decimal": decimal,
"divisibleBy": divisibleBy,
"email": email,
"float": float,
"fqdn": fqdn,
"fullWidth": fullWidth,
"halfWidth": halfWidth,
"hash": hash,
"hexColor": hexColor,
"hexadecimal": hexadecimal,
"int": int,
"ip": ip,
"isbn": isbn,
"isin": isin,
"iso31661Alpha2": iso31661Alpha2,
"iso8601": iso8601,
"isrc": isrc,
"issn": issn,
"json": json,
"latLong": latLong,
"length": length,
"lowerCase": lowerCase,
"macAddress": macAddress,
"matches": matches,
"md5": md5,
"mimeType": mimeType,
"mobilePhone": mobilePhone,
"mongoId": mongoId,
"multibyte": multibyte,
"numeric": numeric,
"partial": partial,
"port": port,
"postalCode": postalCode,
"required": required,
"slug": slug,
"surrogatePair": surrogatePair,
"uppercase": uppercase,
"url": url,
"variableWidth": variableWidth,
"whiteListed": whiteListed,
},
"validate": validate,
"validatorVisitor": validatorVisitor,
}
`;
2 changes: 2 additions & 0 deletions test/__snapshots__/visitor.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ Object {
"decorators": Array [
Object {
"kind": "Array",
"target": Animal,
"type": Tag,
Symbol(tinspector:decoratorId): Symbol(array),
Symbol(tinspector:decoratorOption): Object {
Expand Down Expand Up @@ -306,6 +307,7 @@ Object {
"decorators": Array [
Object {
"kind": "Array",
"target": Animal,
"type": Tag,
Symbol(tinspector:decoratorId): Symbol(array),
Symbol(tinspector:decoratorOption): Object {
Expand Down
5 changes: 5 additions & 0 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe("Index", () => {
it("Should export member properly", () => {
expect(require("../src")).toMatchSnapshot()
})
})
Loading

0 comments on commit 3092037

Please sign in to comment.