Fix static method for objects
This commit is contained in:
parent
43b69880b1
commit
7c2273e26c
4 changed files with 7 additions and 4 deletions
|
@ -11,7 +11,7 @@ class utils {
|
|||
return require('./mutate')
|
||||
}
|
||||
|
||||
static Objects () {
|
||||
static get objects () {
|
||||
return require('./objects')
|
||||
}
|
||||
|
||||
|
|
|
@ -114,4 +114,7 @@ class Objects {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = {Objects, o}
|
||||
module.exports = {
|
||||
o,
|
||||
Objects
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
const random = require('../random')
|
||||
const make = require('../make')
|
||||
const utils = require('../utils')
|
||||
const {o} = require('../objects')
|
||||
const {o} = require('./objects')
|
||||
|
||||
class script extends utils {
|
||||
static methodHead (list, numOptional) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "octo",
|
||||
"name": "@mozillasecurity/octo",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"keywords": ["fuzzing", "browser", "javascript", "node", "library"],
|
||||
|
|
Loading…
Reference in a new issue