Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
12
node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md
generated
vendored
12
node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md
generated
vendored
@@ -1,3 +1,15 @@
|
||||
## 6.4.0 (2019-11-26)
|
||||
|
||||
### New features
|
||||
|
||||
Add a static `acorn` property to the `Parser` class that contains the entire module interface, to allow plugins to access the instance of the library that they are acting on.
|
||||
|
||||
## 6.3.0 (2019-08-12)
|
||||
|
||||
### New features
|
||||
|
||||
`sourceType: "module"` can now be used even when `ecmaVersion` is less than 6, to parse module-style code that otherwise conforms to an older standard.
|
||||
|
||||
## 6.2.1 (2019-07-21)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
3
node_modules/acorn-globals/node_modules/acorn/README.md
generated
vendored
3
node_modules/acorn-globals/node_modules/acorn/README.md
generated
vendored
@@ -64,6 +64,9 @@ an object containing any of these fields:
|
||||
either `"script"` or `"module"`. This influences global strict mode
|
||||
and parsing of `import` and `export` declarations.
|
||||
|
||||
**NOTE**: If set to `"module"`, then static `import` / `export` syntax
|
||||
will be valid, even if `ecmaVersion` is less than 6.
|
||||
|
||||
- **onInsertedSemicolon**: If given a callback, that callback will be
|
||||
called whenever a missing semicolon is inserted by the parser. The
|
||||
callback will be given the character offset of the point where the
|
||||
|
||||
10
node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts
generated
vendored
10
node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts
generated
vendored
@@ -36,14 +36,14 @@ declare namespace acorn {
|
||||
|
||||
class Parser {
|
||||
constructor(options: Options, input: string, startPos?: number)
|
||||
parse(): Node
|
||||
static parse(input: string, options?: Options): Node
|
||||
static parseExpressionAt(input: string, pos: number, options?: Options): Node
|
||||
static tokenizer(input: string, options?: Options): {
|
||||
parse(this: Parser): Node
|
||||
static parse(this: typeof Parser, input: string, options?: Options): Node
|
||||
static parseExpressionAt(this: typeof Parser, input: string, pos: number, options?: Options): Node
|
||||
static tokenizer(this: typeof Parser, input: string, options?: Options): {
|
||||
getToken(): Token
|
||||
[Symbol.iterator](): Iterator<Token>
|
||||
}
|
||||
static extend(...plugins: ((BaseParser: typeof Parser) => typeof Parser)[]): typeof Parser
|
||||
static extend(this: typeof Parser, ...plugins: ((BaseParser: typeof Parser) => typeof Parser)[]): typeof Parser
|
||||
}
|
||||
|
||||
interface Position { line: number; column: number; offset: number }
|
||||
|
||||
36
node_modules/acorn-globals/node_modules/acorn/dist/acorn.js
generated
vendored
36
node_modules/acorn-globals/node_modules/acorn/dist/acorn.js
generated
vendored
@@ -20,6 +20,7 @@
|
||||
|
||||
var keywords = {
|
||||
5: ecma5AndLessKeywords,
|
||||
"5module": ecma5AndLessKeywords + " export import",
|
||||
6: ecma5AndLessKeywords + " const class extends export import super"
|
||||
};
|
||||
|
||||
@@ -467,7 +468,7 @@
|
||||
var Parser = function Parser(options, input, startPos) {
|
||||
this.options = options = getOptions(options);
|
||||
this.sourceFile = options.sourceFile;
|
||||
this.keywords = wordsRegexp(keywords[options.ecmaVersion >= 6 ? 6 : 5]);
|
||||
this.keywords = wordsRegexp(keywords[options.ecmaVersion >= 6 ? 6 : options.sourceType === "module" ? "5module" : 5]);
|
||||
var reserved = "";
|
||||
if (options.allowReserved !== true) {
|
||||
for (var v = options.ecmaVersion;; v--)
|
||||
@@ -754,9 +755,7 @@
|
||||
} }
|
||||
this.adaptDirectivePrologue(node.body);
|
||||
this.next();
|
||||
if (this.options.ecmaVersion >= 6) {
|
||||
node.sourceType = this.options.sourceType;
|
||||
}
|
||||
node.sourceType = this.options.sourceType;
|
||||
return this.finishNode(node, "Program")
|
||||
};
|
||||
|
||||
@@ -2113,7 +2112,7 @@
|
||||
if (computed || this.eat(types.dot)) {
|
||||
var node = this.startNodeAt(startPos, startLoc);
|
||||
node.object = base;
|
||||
node.property = computed ? this.parseExpression() : this.parseIdent(true);
|
||||
node.property = computed ? this.parseExpression() : this.parseIdent(this.options.allowReserved !== "never");
|
||||
node.computed = !!computed;
|
||||
if (computed) { this.expect(types.bracketR); }
|
||||
base = this.finishNode(node, "MemberExpression");
|
||||
@@ -2580,7 +2579,7 @@
|
||||
prop.computed = false;
|
||||
}
|
||||
}
|
||||
return prop.key = this.type === types.num || this.type === types.string ? this.parseExprAtom() : this.parseIdent(true)
|
||||
return prop.key = this.type === types.num || this.type === types.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never")
|
||||
};
|
||||
|
||||
// Initialize empty function node.
|
||||
@@ -2760,7 +2759,6 @@
|
||||
|
||||
pp$3.parseIdent = function(liberal, isBinding) {
|
||||
var node = this.startNode();
|
||||
if (liberal && this.options.allowReserved === "never") { liberal = false; }
|
||||
if (this.type === types.name) {
|
||||
node.name = this.value;
|
||||
} else if (this.type.keyword) {
|
||||
@@ -4914,7 +4912,29 @@
|
||||
|
||||
// Acorn is a tiny, fast JavaScript parser written in JavaScript.
|
||||
|
||||
var version = "6.2.1";
|
||||
var version = "6.4.0";
|
||||
|
||||
Parser.acorn = {
|
||||
Parser: Parser,
|
||||
version: version,
|
||||
defaultOptions: defaultOptions,
|
||||
Position: Position,
|
||||
SourceLocation: SourceLocation,
|
||||
getLineInfo: getLineInfo,
|
||||
Node: Node,
|
||||
TokenType: TokenType,
|
||||
tokTypes: types,
|
||||
keywordTypes: keywords$1,
|
||||
TokContext: TokContext,
|
||||
tokContexts: types$1,
|
||||
isIdentifierChar: isIdentifierChar,
|
||||
isIdentifierStart: isIdentifierStart,
|
||||
Token: Token,
|
||||
isNewLine: isNewLine,
|
||||
lineBreak: lineBreak,
|
||||
lineBreakG: lineBreakG,
|
||||
nonASCIIwhitespace: nonASCIIwhitespace
|
||||
};
|
||||
|
||||
// The main exported interface (under `self.acorn` when in the
|
||||
// browser) is a `parse` function that takes a code string and
|
||||
|
||||
36
node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs
generated
vendored
36
node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs
generated
vendored
@@ -14,6 +14,7 @@ var ecma5AndLessKeywords = "break case catch continue debugger default do else f
|
||||
|
||||
var keywords = {
|
||||
5: ecma5AndLessKeywords,
|
||||
"5module": ecma5AndLessKeywords + " export import",
|
||||
6: ecma5AndLessKeywords + " const class extends export import super"
|
||||
};
|
||||
|
||||
@@ -461,7 +462,7 @@ var
|
||||
var Parser = function Parser(options, input, startPos) {
|
||||
this.options = options = getOptions(options);
|
||||
this.sourceFile = options.sourceFile;
|
||||
this.keywords = wordsRegexp(keywords[options.ecmaVersion >= 6 ? 6 : 5]);
|
||||
this.keywords = wordsRegexp(keywords[options.ecmaVersion >= 6 ? 6 : options.sourceType === "module" ? "5module" : 5]);
|
||||
var reserved = "";
|
||||
if (options.allowReserved !== true) {
|
||||
for (var v = options.ecmaVersion;; v--)
|
||||
@@ -748,9 +749,7 @@ pp$1.parseTopLevel = function(node) {
|
||||
} }
|
||||
this.adaptDirectivePrologue(node.body);
|
||||
this.next();
|
||||
if (this.options.ecmaVersion >= 6) {
|
||||
node.sourceType = this.options.sourceType;
|
||||
}
|
||||
node.sourceType = this.options.sourceType;
|
||||
return this.finishNode(node, "Program")
|
||||
};
|
||||
|
||||
@@ -2107,7 +2106,7 @@ pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArro
|
||||
if (computed || this.eat(types.dot)) {
|
||||
var node = this.startNodeAt(startPos, startLoc);
|
||||
node.object = base;
|
||||
node.property = computed ? this.parseExpression() : this.parseIdent(true);
|
||||
node.property = computed ? this.parseExpression() : this.parseIdent(this.options.allowReserved !== "never");
|
||||
node.computed = !!computed;
|
||||
if (computed) { this.expect(types.bracketR); }
|
||||
base = this.finishNode(node, "MemberExpression");
|
||||
@@ -2574,7 +2573,7 @@ pp$3.parsePropertyName = function(prop) {
|
||||
prop.computed = false;
|
||||
}
|
||||
}
|
||||
return prop.key = this.type === types.num || this.type === types.string ? this.parseExprAtom() : this.parseIdent(true)
|
||||
return prop.key = this.type === types.num || this.type === types.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never")
|
||||
};
|
||||
|
||||
// Initialize empty function node.
|
||||
@@ -2754,7 +2753,6 @@ pp$3.checkUnreserved = function(ref) {
|
||||
|
||||
pp$3.parseIdent = function(liberal, isBinding) {
|
||||
var node = this.startNode();
|
||||
if (liberal && this.options.allowReserved === "never") { liberal = false; }
|
||||
if (this.type === types.name) {
|
||||
node.name = this.value;
|
||||
} else if (this.type.keyword) {
|
||||
@@ -4908,7 +4906,29 @@ pp$9.readWord = function() {
|
||||
|
||||
// Acorn is a tiny, fast JavaScript parser written in JavaScript.
|
||||
|
||||
var version = "6.2.1";
|
||||
var version = "6.4.0";
|
||||
|
||||
Parser.acorn = {
|
||||
Parser: Parser,
|
||||
version: version,
|
||||
defaultOptions: defaultOptions,
|
||||
Position: Position,
|
||||
SourceLocation: SourceLocation,
|
||||
getLineInfo: getLineInfo,
|
||||
Node: Node,
|
||||
TokenType: TokenType,
|
||||
tokTypes: types,
|
||||
keywordTypes: keywords$1,
|
||||
TokContext: TokContext,
|
||||
tokContexts: types$1,
|
||||
isIdentifierChar: isIdentifierChar,
|
||||
isIdentifierStart: isIdentifierStart,
|
||||
Token: Token,
|
||||
isNewLine: isNewLine,
|
||||
lineBreak: lineBreak,
|
||||
lineBreakG: lineBreakG,
|
||||
nonASCIIwhitespace: nonASCIIwhitespace
|
||||
};
|
||||
|
||||
// The main exported interface (under `self.acorn` when in the
|
||||
// browser) is a `parse` function that takes a code string and
|
||||
|
||||
34
node_modules/acorn-globals/node_modules/acorn/package.json
generated
vendored
34
node_modules/acorn-globals/node_modules/acorn/package.json
generated
vendored
@@ -1,39 +1,35 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"acorn@6.2.1",
|
||||
"/Users/drew.heavner/Documents/Github/upload-google-play"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "acorn@6.2.1",
|
||||
"_id": "acorn@6.2.1",
|
||||
"_from": "acorn@^6.0.1",
|
||||
"_id": "acorn@6.4.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",
|
||||
"_integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==",
|
||||
"_location": "/acorn-globals/acorn",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "acorn@6.2.1",
|
||||
"raw": "acorn@^6.0.1",
|
||||
"name": "acorn",
|
||||
"escapedName": "acorn",
|
||||
"rawSpec": "6.2.1",
|
||||
"rawSpec": "^6.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "6.2.1"
|
||||
"fetchSpec": "^6.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/acorn-globals"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",
|
||||
"_spec": "6.2.1",
|
||||
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play",
|
||||
"_resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz",
|
||||
"_shasum": "b659d2ffbafa24baf5db1cdbb2c94a983ecd2784",
|
||||
"_spec": "acorn@^6.0.1",
|
||||
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play/node_modules/acorn-globals",
|
||||
"bin": {
|
||||
"acorn": "./bin/acorn"
|
||||
"acorn": "bin/acorn"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/acornjs/acorn/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "ECMAScript parser",
|
||||
"engines": {
|
||||
"node": ">=0.4.0"
|
||||
@@ -66,5 +62,5 @@
|
||||
"scripts": {
|
||||
"prepare": "cd ..; npm run build:main && npm run build:bin"
|
||||
},
|
||||
"version": "6.2.1"
|
||||
"version": "6.4.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user