profile
viewpoint
Aaron Heckmann aheckmann @paypal Earth

aheckmann/gm 6335

GraphicsMagick for node

aheckmann/gridfs-stream 586

Easily stream files to and from MongoDB

aheckmann/greadme 70

Locally preview your markdown, Github style

aheckmann/gleak 69

Global variable leak detection for Node.js

aheckmann/gridform 60

Stream formidable uploads into MongoDB GridFS

aheckmann/jquery.hook 33

Enables hooking into any jQuery method

aheckmann/connect-multipart-gridform 18

Connect multipart middleware configured to use MongoDB GridFS for file storage.

aheckmann/gm-demo 16

image manipulation demo on heroku

aheckmann/graceful-shutdown 13

Shuts down a server gracefully upon the first specified signal received

aheckmann/jQuery.use 11

jQuery.use provides you on demand asynchronously loaded jQuery plugins at your fingertips.

fork fb55/html-entities

Faster html entities library

fork in an hour

CommitCommentEvent

startedstrapi/strapi

started time in 6 hours

startedchriskiehl/Gooey

started time in 15 hours

startedcaddyserver/caddy

started time in a day

startedcaddyserver/certmagic

started time in a day

PR opened mongodb/node-mongodb-native

fix(write_concern): avoid throwing error when `options` is null

Description

What changed?

If you call createCollection() with null for options, you get a "Cannot read property 'writeConcern' of null" error. Not a problem in TypeScript because technically this function doesn't accept null as a parameter, but might be worth fixing in case JS developers run into it.

Are there any files to ignore?

+1 -1

0 comment

1 changed file

pr created time in a day

startedsix2dez/reconftw

started time in a day

starteddocumentationjs/documentation

started time in a day

startedaheckmann/gm

started time in a day

startedWebReflection/dom-identifier

started time in 2 days

created repositoryWebReflection/dom-identifier

An utility to retrieve a unique node path, and find it later on.

created time in 2 days

startedbnkamalesh/webgo

started time in 2 days

issue openedaheckmann/mquery

Typescript support

This library is great! Is it planned to support typescript ?

created time in 2 days

issue openedkoajs/parameter

你好,请问数组如何进行校验?

数据格式如下: [ { "type": "article", "objectId": "5ffd6f8f3b75108c28b1bebf", "name": "articleLike", "email": "xd.qq.com" }, { "type": "article", "objectId": "5ffd6f8f3b75108c28b9bebf", "name": "articleLike", "email": "xd.qq.com" } ]

created time in 2 days

startedkettanaito/naming-cheatsheet

started time in 2 days

Pull request review commentmongodb/node-mongodb-native

fix: Compatibility with mongodb-client-encryption

 export const OPTIONS = {   passphrase: { type: 'any' },   pfx: { type: 'any' },   secureProtocol: { type: 'any' },-  index: { type: 'any' }+  index: { type: 'any' },+  // Legacy Options, these are unused but left here to avoid errors with CSFLE lib+  useNewUrlParser: { type: 'boolean' } as OptionDescriptor,+  useUnifiedTopology: { type: 'boolean' } as OptionDescriptor

And here that's supporting the old options. These still aren't listed in the props for MongoClientOptions (which is why we have the as casting). I would add that they are deprecated but then our CSFLE lib would emit the warnings with no way to disable.

nbbeeken

comment created time in 2 days

Pull request review commentmongodb/node-mongodb-native

fix: Compatibility with mongodb-client-encryption

 export class Collection {     options?: InsertOneOptions | Callback<InsertOneResult>,     callback?: Callback<InsertOneResult>   ): Promise<InsertOneResult> | void {-    if (typeof options === 'function') (callback = options), (options = {});+    if (typeof options === 'function') {+      callback = options;+      options = {};+    }++    // CSFLE passes in { w: 'majority' } to ensure the lib works in both 3.x and 4.x+    // we support that option style here only+    if (options && Reflect.get(options, 'w')) {+      options.writeConcern = WriteConcern.fromOptions(Reflect.get(options, 'w'));+    }

Here that is just checking for the legacy writeConcern shape

nbbeeken

comment created time in 2 days

PR opened mongodb/node-mongodb-native

fix: Compatibility with mongodb-client-encryption

Permits legacy options being used by mongodb-client-encryption's use of the MongoClient constructor. Permits legacy WC option style in insertOne.

NODE-3006

+18 -6

0 comment

4 changed files

pr created time in 2 days

create barnchmongodb/node-mongodb-native

branch : NODE-3006/CSFLE-fixes

created branch time in 2 days

push eventmongodb/node-mongodb-native

Anna Henningsen

commit sha 25ef87026bca935b00d30ad943ddd28784f801e8

fix: restore `createAutoEncrypter()` functionality (#2710) Corrects the import name of the AutoEncrypter class. Passes through client constructor options to CSFLE lib. NODE-3042

view details

push time in 2 days

PR merged mongodb/node-mongodb-native

fix: restore `createAutoEncrypter()` functionality

See the ticket description in NODE-3042 for details.

+12 -7

0 comment

2 changed files

addaleax

pr closed time in 2 days

startedpfrazee/ctzn

started time in 2 days

fork chrisdickinson/workshopper

A terminal workshop runner framework

fork in 2 days

fork chrisdickinson/workshopper-exercise

An exercise runner component for the Workshopper framework

fork in 2 days

push eventmongodb/node-mongodb-native

Neal Beeken

commit sha 62e48d4a175fd2ae5da9622bfcc2bdac5116c5c4

fix: run on requirement check

view details

push time in 2 days

started2tvenom/myreplication

started time in 2 days

startedbenbjohnson/litestream

started time in 2 days

PublicEvent

startedaheckmann/gm

started time in 3 days

more