Skip to content

Commit

Permalink
fix: update possibly vulnerable deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aldeed committed Apr 8, 2021
1 parent 3810591 commit 84d047b
Show file tree
Hide file tree
Showing 6 changed files with 1,847 additions and 1,655 deletions.
1 change: 0 additions & 1 deletion package/lib/SimpleSchema.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ describe('SimpleSchema', function () {
});
});


describe('extend', function () {
it('works for plain object', function () {
const schema = new SimpleSchema({
Expand Down
1 change: 0 additions & 1 deletion package/lib/SimpleSchema_regEx.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ describe('SimpleSchema', function () {
// only Number.MAX_SAFE_INTEGER
expectThrows(10, 9007199254740992);


const isTrue = (expr, s) => expect(expr.test(s)).toBe(true);
const isFalse = (expr, s) => expect(expr.test(s)).toBe(false);

Expand Down
1 change: 0 additions & 1 deletion package/lib/expandShorthand.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import MongoObject from 'mongo-object';


/**
* Clones a schema object, expanding shorthand as it does it.
*/
Expand Down
1 change: 0 additions & 1 deletion package/lib/validation/requiredValidator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { SimpleSchema } from '../SimpleSchema';
import { getKeysWithValueInObj } from '../utility';


// Check for missing required values. The general logic is this:
// * If the operator is $unset or $rename, it's invalid.
// * If the value is null, it's invalid.
Expand Down
Loading

0 comments on commit 84d047b

Please sign in to comment.