Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier-plugin-apex

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-apex - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.3

25

CHANGELOG.md
## Unreleased
## 1.0.0-rc.3
- Update dependency requirement for Prettier.
- Fix incorrect format for SOQL query with multiple types in FROM clause ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/76)).
- Fix incorrect order of expressions in SOSL query ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/75)).
- Add support for class and interface generics ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/77)).
## 1.0.0-rc.2
- Remove references to deleted vendor file `apex-ast-serializer-ng`.
## 1.0.0-rc.1
- CLI/Option change:

@@ -23,13 +32,15 @@ - Remove `apex-verify-ast` option. Please use `--debug-check` instead.

## 1.0.0-beta.2
- Fix long static method calls producing undeployable code ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/69)).
## 1.0.0-beta.1
- Add support for Anonymous Code block with `--apex-anonymous` option.
- CLI/Option change:
- `use-standalone-server` option is now `apex-standalone-parser`,
and it is now a choice between `none` and `built-in`.
and it is now a choice between `none` and `built-in`.
- `server-port` option is now `apex-standalone-port`.
- Add `apex-verify-ast` option.
- Fix dangling comments being printed incorrectly for Triggers ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/13)).
Thanks to @praksb, @ntotten and @vazexqi for their help on getting jorje fixed.
Thanks to @praksb, @ntotten and @vazexqi for their help on getting jorje fixed.
- Fix SOQL unary expression not generating space before next expression.

@@ -60,2 +71,3 @@ - Add support for SOQL WHERE Calculation Expression ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/34)).

## 1.0.0-alpha.9
- Fix trailing comments after class names not being printed ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/20)).

@@ -73,2 +85,3 @@ - Add new lines in empty blocks for Enum.

## 1.0.0-alpha.8
- Fix comments not being printed if they appear before the root node ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/17)).

@@ -78,5 +91,6 @@ - Fix dangling comments not being printed for Class, Interface, Enum and Block Statement ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/13)).

- Fix trailing comment being mistaken as leading comment in certain situations,
because `jorje` provides wrong start and end indexes for some node types ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/19)).
because `jorje` provides wrong start and end indexes for some node types ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/19)).
## 1.0.0-alpha.7
- Fix Annotated Declaration being indented too far ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/18)).

@@ -87,2 +101,3 @@ - Getter and setter will no longer break if they can fit on the same line.

## 1.0.0-alpha.6
- Fix formatting for trailing comments at the end of block statements ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/12)).

@@ -95,3 +110,3 @@ - Fix issue in which comments right before semi colon are not printed ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/11)).

- Fix `apex-ast-serializer` executables not having their execute bits set on *nix ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/10)).
- Fix `apex-ast-serializer` executables not having their execute bits set on \*nix ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/10)).

@@ -112,3 +127,3 @@ ## 1.0.0-alpha.4

- Invoke `apex-ast-serializer` directly by default,
with option to use Nailgun server.
with option to use Nailgun server.

@@ -115,0 +130,0 @@ ## 1.0.0-alpha.1

8

package.json
{
"name": "prettier-plugin-apex",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "Salesforce Apex plugin for Prettier",

@@ -24,3 +24,3 @@ "main": "src/index.js",

"lint": "eslint \"{src,tests_config}/**/*.js\"",
"prettier": "prettier --write \"{src,tests_config}/**/*.js\"",
"prettier": "prettier --write \"{src,tests_config}/**/*.js\" \"./*.md\"",
"debug-check": "prettier --apex-standalone-parser built-in --apex-standalone-port 2117 --debug-check --plugin=."

@@ -42,6 +42,6 @@ },

"jest": "^24.1.0",
"prettier": "^1.16.4"
"prettier": "^1.17.0"
},
"peerDependencies": {
"prettier": "^1.15.0"
"prettier": "^1.17.0"
},

@@ -48,0 +48,0 @@ "dependencies": {

@@ -1,2 +0,2 @@

# Prettier Apex [![Build Status](https://travis-ci.org/dangmai/prettier-plugin-apex.svg)](https://travis-ci.org/dangmai/prettier-plugin-apex) [![npm](https://img.shields.io/npm/v/prettier-plugin-apex.svg)](https://www.npmjs.com/package/prettier-plugin-apex) ![NPM](https://img.shields.io/npm/l/prettier-plugin-apex.svg) [![codecov](https://codecov.io/gh/dangmai/prettier-plugin-apex/branch/master/graph/badge.svg)](https://codecov.io/gh/dangmai/prettier-plugin-apex) [![Join the chat at https://gitter.im/prettier-plugin-apex/community](https://badges.gitter.im/prettier-plugin-apex/community.svg)](https://gitter.im/prettier-plugin-apex/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# Prettier Apex [![Build Status](https://travis-ci.org/dangmai/prettier-plugin-apex.svg)](https://travis-ci.org/dangmai/prettier-plugin-apex) [![npm](https://img.shields.io/npm/v/prettier-plugin-apex.svg)](https://www.npmjs.com/package/prettier-plugin-apex) ![NPM](https://img.shields.io/npm/l/prettier-plugin-apex.svg) [![codecov](https://codecov.io/gh/dangmai/prettier-plugin-apex/branch/master/graph/badge.svg)](https://codecov.io/gh/dangmai/prettier-plugin-apex) [![Join the chat at https://gitter.im/prettier-plugin-apex/community](https://badges.gitter.im/prettier-plugin-apex/community.svg)](https://gitter.im/prettier-plugin-apex/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -122,3 +122,3 @@ ![Prettier Banner](https://raw.githubusercontent.com/prettier/prettier-logo/master/images/prettier-banner-light.png)

"printWidth": 80,
"useTab": false
"useTabs": false
}

@@ -125,0 +125,0 @@ ```

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc