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')
|
return require('./mutate')
|
||||||
}
|
}
|
||||||
|
|
||||||
static Objects () {
|
static get objects () {
|
||||||
return require('./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 random = require('../random')
|
||||||
const make = require('../make')
|
const make = require('../make')
|
||||||
const utils = require('../utils')
|
const utils = require('../utils')
|
||||||
const {o} = require('../objects')
|
const {o} = require('./objects')
|
||||||
|
|
||||||
class script extends utils {
|
class script extends utils {
|
||||||
static methodHead (list, numOptional) {
|
static methodHead (list, numOptional) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "octo",
|
"name": "@mozillasecurity/octo",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": ["fuzzing", "browser", "javascript", "node", "library"],
|
"keywords": ["fuzzing", "browser", "javascript", "node", "library"],
|
||||||
|
|
Loading…
Reference in a new issue