🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@atlaskit/jql-ast

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/jql-ast - npm Package Compare versions

Comparing version

to
3.0.0

# @atlaskit/jql-ast
## 1.0.0
## 3.0.0
### Major Changes
- [`9b4a9aa9793`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9b4a9aa9793) - Migrate `jql-ast` package to the `@atlaskit` namespace. Any consumers should update their imports to `@atlaskit/jql-ast`.
- [`978cfcda881`](https://bitbucket.org/atlassian/atlassian-frontend/commits/978cfcda881) - Migrate `jql-ast` package to the `@atlaskit` namespace. Any consumers should update their imports to `@atlaskit/jql-ast`.
## 0.0.0
### Patch Changes
We are moving the `jql-ast` package from `@atlassiansox` and `@atlassianlabs` namespaces to `@atlaskit`. From now on,
there will be a single publish to the public npm registry, and any imports should be updated to `@atlaskit/jql-ast`.
- Updated dependencies
We are keeping the changelog for older versions in the section below, for historical reasons.
## 2.4.2
---
### Patch Changes
#### 2.4.2
##### Patch Changes
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
#### 2.4.1
## 2.4.1
[![Labs version](https://img.shields.io/badge/labs-2.1.0-blue)](https://www.npmjs.com/package/@atlassianlabs/jql-ast)
##### Patch Changes
### Patch Changes
- [`7926dc060ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7926dc060ff) - Clamp antlr4ts version to 0.5.0-alpha.4
#### 2.4.0
## 2.4.0
##### Minor Changes
### Minor Changes
- [`337298e67b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/337298e67b8) - Added argumentByText to creators that let you add an argument that has been pre-treated to produce a valid JQL string
#### 2.3.2
## 2.3.2
[![Labs version](https://img.shields.io/badge/labs-2.0.0-blue)](https://www.npmjs.com/package/@atlassianlabs/jql-ast)
##### Patch Changes
### Patch Changes
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
#### 2.3.1
## 2.3.1
##### Patch Changes
### Patch Changes
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
#### 2.3.0
## 2.3.0
##### Minor Changes
### Minor Changes
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
#### 2.2.0
## 2.2.0
##### Minor Changes
### Minor Changes
- [`0d5ab9875fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d5ab9875fc) - Add new `isOperandNode` type guard which can be called to identify AST nodes of type operand
#### 2.1.0
## 2.1.0
##### Minor Changes
### Minor Changes
- [`35d641e8956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35d641e8956) - Introduce valueOperandByText creator which allows creation of value operand AST nodes by text instead of value
#### 2.0.1
## 2.0.1
##### Patch Changes
### Patch Changes
- [`4ca006051df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ca006051df) - Migrate @atlassiansox/jql-ast package to the Atlassian Frontend monorepo
#### 2.0.0
## 2.0.0
##### Major Changes
### Major Changes
- ###### AstNode
- #### AstNode
Added `enterNode`, `exitNode` and `getChildren` methods to the `AstNode` interface to simplify listener/visitor tree traversal.
###### JastListener
#### JastListener

@@ -102,3 +97,3 @@ Added `enterEveryNode` and `exitEveryNode` method to allow consumers to perform logic for all nodes in the tree.

- ###### JastVisitor
- #### JastVisitor

@@ -111,3 +106,3 @@ Added `visit` method. Default implementation should delegate to `AstNode#accept` and return a user-defined result of the operation.

###### AbstractJastVisitor
#### AbstractJastVisitor

@@ -122,3 +117,3 @@ Introduced new abstract class to simplify traversal of AST's.

##### Minor Changes
### Minor Changes

@@ -132,11 +127,11 @@ - Introduce print API to print a provided AST object into a formatted JQL string.

##### Patch Changes
### Patch Changes
- Minor refactor of internal node creator functions.
#### 1.0.5
## 1.0.5
[![Labs version](https://img.shields.io/badge/labs-1.0.0-blue)](https://www.npmjs.com/package/@atlassianlabs/jql-ast)
##### Patch Changes
### Patch Changes

@@ -147,7 +142,7 @@ - Bump labs version.

#### 1.0.4
## 1.0.4
[![Labs version](https://img.shields.io/badge/labs-0.0.1-blue)](https://www.npmjs.com/package/@atlassianlabs/jql-ast)
##### Patch Changes
### Patch Changes

@@ -158,5 +153,5 @@ - Migrate packages from tslint to eslint

#### 1.0.3
## 1.0.3
##### Patch Changes
### Patch Changes

@@ -169,5 +164,5 @@ - Bump dependencies to patch vulnerabilities

#### 1.0.2
## 1.0.2
##### Patch Changes
### Patch Changes

@@ -179,5 +174,5 @@ - Use isolatedModules to fix Babel transpilation of type only exports.

#### 1.0.1
## 1.0.1
##### Patch Changes
### Patch Changes

@@ -190,13 +185,13 @@ - Update storybook and de-dupe babel dependencies.

#### 1.0.0
## 1.0.0
##### Major Changes
### Major Changes
- Bump all TypeScript packages to 1.0.0 for release to production. From this point on, semver will be used in all packages.
##### Minor Changes
### Minor Changes
- Update attributes for JQL insight and external JQL error analytics.
##### Patch Changes
### Patch Changes

@@ -207,5 +202,5 @@ - Updated dependencies

#### 0.11.1
## 0.11.1
##### Patch Changes
### Patch Changes

@@ -215,5 +210,5 @@ - Updated dependencies

#### 0.11.0
## 0.11.0
##### Minor Changes
### Minor Changes

@@ -224,3 +219,3 @@ - Lift represents property to the root AST object and match source query value

##### Patch Changes
### Patch Changes

@@ -231,5 +226,5 @@ - Updated dependencies

#### 0.10.1
## 0.10.1
##### Patch Changes
### Patch Changes

@@ -242,9 +237,9 @@ - Disable autocomplete for predicate operands

#### 0.10.0
## 0.10.0
##### Minor Changes
### Minor Changes
- Improved definition of valid operands for different terminal clause types
##### Patch Changes
### Patch Changes

@@ -257,9 +252,9 @@ - Fix type checking in operand visitor.

#### 0.9.0
## 0.9.0
##### Minor Changes
### Minor Changes
- Use babel for build output.
##### Patch Changes
### Patch Changes

@@ -269,5 +264,5 @@ - Updated dependencies

#### 0.8.1
## 0.8.1
##### Patch Changes
### Patch Changes

@@ -278,9 +273,9 @@ - Use es2017 target to align with jira.

#### 0.8.0
## 0.8.0
##### Minor Changes
### Minor Changes
- Move token constants from jql-parser to jql-ast package.
##### Patch Changes
### Patch Changes

@@ -290,9 +285,9 @@ - Updated dependencies

#### 0.7.0
## 0.7.0
##### Minor Changes
### Minor Changes
- Operator-specific parsing for terminal clauses. Consolidation of terminal clause and operator nodes in AST.
##### Patch Changes
### Patch Changes

@@ -304,5 +299,5 @@ - Add separate cjs and esm build outputs.

#### 0.6.2
## 0.6.2
##### Patch Changes
### Patch Changes

@@ -312,21 +307,21 @@ - Updated dependencies

#### 0.6.1
## 0.6.1
##### Patch Changes
### Patch Changes
- Unescape all escaped characters in AST strings
#### 0.6.0
## 0.6.0
##### Minor Changes
### Minor Changes
- Entity properties support. Return raw and clean text for string nodes. Unify AST naming.
##### Patch Changes
### Patch Changes
- Reset error handler when building AST.
#### 0.5.1
## 0.5.1
##### Patch Changes
### Patch Changes

@@ -337,21 +332,21 @@ - Rename jql-grammar package to jql-parser

#### 0.5.0
## 0.5.0
##### Minor Changes
### Minor Changes
- Correctly handle NOT clauses when producing the AST and update attributes for editor searched event.
#### 0.4.0
## 0.4.0
##### Minor Changes
### Minor Changes
- Auto insert opening parenthesis following a list operator
#### 0.3.0
## 0.3.0
##### Minor Changes
### Minor Changes
- Update operator node to include value property for the raw text value and type property as a constant reference.
##### Patch Changes
### Patch Changes

@@ -362,5 +357,5 @@ - Update dependencies with security vulnerabilities reported by SourceClear.

#### 0.2.1
## 0.2.1
##### Patch Changes
### Patch Changes

@@ -373,9 +368,9 @@ - Update jest and typedoc packages.

#### 0.2.0
## 0.2.0
##### Minor Changes
### Minor Changes
- Introduce autocomplete unhandled rules and position autocomplete based on first suggestion replace position
##### Patch Changes
### Patch Changes

@@ -385,5 +380,5 @@ - Updated dependencies

#### 0.1.8
## 0.1.8
##### Patch Changes
### Patch Changes

@@ -394,5 +389,5 @@ - Add validation indicator to JQL editor and minor package restructure.

#### 0.1.7
## 0.1.7
##### Patch Changes
### Patch Changes

@@ -402,11 +397,11 @@ - Updated dependencies

#### 0.1.6
## 0.1.6
##### Patch Changes
### Patch Changes
- Refactor of component rendering for JQL editor plugins
#### 0.1.5
## 0.1.5
##### Patch Changes
### Patch Changes

@@ -417,5 +412,5 @@ - Prefix grammar rules

#### 0.1.4
## 0.1.4
##### Patch Changes
### Patch Changes

@@ -426,5 +421,5 @@ - Used the tslib package and reduced the size of the output

#### 0.1.3
## 0.1.3
##### Patch Changes
### Patch Changes

@@ -435,5 +430,5 @@ - Update `jql-autosuggest` to accept a selection range which impacts the matchedText and replacePosition for suggestions

#### 0.1.2
## 0.1.2
##### Patch Changes
### Patch Changes

@@ -444,17 +439,17 @@ - Improve accuracy of autocomplete suggestions from `jql-autosuggest` package and include information for token replacement.

#### 0.1.1
## 0.1.1
##### Patch Changes
### Patch Changes
- Added !~ operator
#### 0.1.0
## 0.1.0
##### Minor Changes
### Minor Changes
- Return unexpected parse errors and JAST building errors in JAST builder
#### 0.0.3
## 0.0.3
##### Patch Changes
### Patch Changes

@@ -465,5 +460,5 @@ - Remove flow types from build

#### 0.0.2
## 0.0.2
##### Patch Changes
### Patch Changes

@@ -474,5 +469,5 @@ - Bump patch version

#### 0.0.1
## 0.0.1
##### Patch Changes
### Patch Changes

@@ -479,0 +474,0 @@ - Use bolt for project management.

@@ -9,4 +9,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var computeFlatWidth = function computeFlatWidth(doc) {

@@ -13,0 +13,0 @@ if (typeof doc === 'string') {

import _defineProperty from "@babel/runtime/helpers/defineProperty";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var computeFlatWidth = function computeFlatWidth(doc) {

@@ -5,0 +5,0 @@ if (typeof doc === 'string') {

{
"name": "@atlaskit/jql-ast",
"version": "1.0.0",
"version": "3.0.0",
"description": "JQL Abstract Syntax Tree",

@@ -38,3 +38,3 @@ "author": "Atlassian Pty Ltd",

"dependencies": {
"@atlaskit/jql-parser": "^1.0.0",
"@atlaskit/jql-parser": "^2.0.0",
"@babel/runtime": "^7.0.0",

@@ -41,0 +41,0 @@ "antlr4ts": "0.5.0-alpha.4",