webext-schema
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -27,3 +27,3 @@ { | ||
"json5": "^2.1.0", | ||
"node-fetch": "^2.5.0" | ||
"node-fetch": "^2.6.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
}, | ||
"version": "0.6.0" | ||
"version": "0.6.1" | ||
} |
@@ -52,6 +52,6 @@ [![Build Status](https://travis-ci.org/asamuzaK/webext-schema.svg?branch=master)](https://travis-ci.org/asamuzaK/webext-schema) | ||
* sinon-chrome | ||
* [sinon-chrome](https://www.npmjs.com/package/sinon-chrome) | ||
``` | ||
const schema = (new Schema()).arrange({name: "sinon-chrome"}); | ||
const schema = new Schema().arrange({name: "sinon-chrome"}); | ||
// [{namespace: "alarms", functions: [{...}], ...}]; | ||
@@ -69,3 +69,3 @@ ``` | ||
``` | ||
const schema = (new Schema()).get("browserAction"); | ||
const schema = new Schema().get("browserAction"); | ||
// [{namespace: "browserAction", events: [...], ...}] | ||
@@ -75,3 +75,3 @@ ``` | ||
``` | ||
const schema = (new Schema()).get("browser_action.json"); | ||
const schema = new Schema().get("browser_action.json"); | ||
// [{namespace: "browserAction", events: [...], ...}] | ||
@@ -88,3 +88,3 @@ ``` | ||
``` | ||
const schema = (new Schema()).getAll(); | ||
const schema = new Schema().getAll(); | ||
// {"alarms.json": [{...}], "bookmarks.json": [{...}], ...} | ||
@@ -100,4 +100,4 @@ ``` | ||
``` | ||
const list = (new Schema()).list(); | ||
const list = new Schema().list(); | ||
// ["alarms.json", "bookmarks.json", ...] | ||
``` |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2006359
56195
Updatednode-fetch@^2.6.0