| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 13fd09b commit d46446a
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -143,7 +143,7 @@ const arrayBufferViewTypeToIndex = new Map(); | |||
| 143 | 143 | } | |
| 144 | 144 | } | |
| 145 | 145 | ||
| 146 | - const bufferConstructorIndex = arrayBufferViewTypes.push(Buffer) - 1; | ||
| 146 | + const bufferConstructorIndex = arrayBufferViewTypes.push(FastBuffer) - 1; | ||
| 147 | 147 | ||
| 148 | 148 | class DefaultSerializer extends Serializer { | |
| 149 | 149 | constructor() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,8 @@ | |||
| 1 | + // Flags: --pending-deprecation --no-warnings | ||
| 2 | + 'use strict'; | ||
| 3 | + | ||
| 4 | + const common = require('../common'); | ||
| 5 | + const v8 = require('v8'); | ||
| 6 | + | ||
| 7 | + process.on('warning', common.mustNotCall()); | ||
| 8 | + v8.deserialize(v8.serialize(Buffer.alloc(0))); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments