New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

groq-js

Package Overview
Dependencies
Maintainers
16
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groq-js - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

dist/evaluator/equality.d.ts

5

CHANGELOG.md
# Changelog
## Unreleased
## v0.1.6 - 2020-06-15
- Migrate to TypeScript (#18, @rexxars, @judofyr)
- Update semantics to work with latest GROQ spec
## v0.1.5 - 2020-03-17

@@ -6,0 +9,0 @@

3

LICENSE.md

@@ -0,1 +1,3 @@

MIT License
Copyright (C) 2019 Sanity Inc.

@@ -8,2 +10,1 @@

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{
"name": "groq-js",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",
"main": "src/index.js",
"author": "Sanity.io <hello@sanity.io>",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/groq-js.esm.js",
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"test": "jest",
"build-api": "jsdoc2md -t utils/docs.hbs 'src/**/*.js' > API.md",
"prettify": "prettier --write src/**/*.js"
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"coverage": "tsdx test --coverage",
"lint": "tsdx lint",
"prepare": "tsdx build",
"prettify": "prettier --write src/**/*.ts"
},
"peerDependencies": {},
"devDependencies": {
"jest": "^24.8.0",
"jsdoc-to-markdown": "^5.0.1",
"@types/jest": "^25.1.4",
"ndjson": "^1.5.0",
"prettier": "^1.18.2"
"tsdx": "^0.13.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
},
"files": [
"src",
"README.md"
]
"jest": {
"testEnvironment": "node",
"globals": {
"ts-jest": {
"diagnostics": false
}
}
}
}

@@ -14,4 +14,4 @@ # GROQ-JS

let dataset = [
{_type: "user", name: "Michael"},
{_type: "company", name: "Bluth Company"}
{_type: 'user', name: 'Michael'},
{_type: 'company', name: 'Bluth Company'}
]

@@ -54,7 +54,7 @@

See [the changelog](CHANGELOG.md) for recent changes.
This is an "experimental" release and anything *may* change at any time, but we're trying to keep changes as minimal as possible:
This is an "experimental" release and anything _may_ change at any time, but we're trying to keep changes as minimal as possible:
- The public API of the parser/evaluator will most likely stay the same in future version.
- The syntax tree is *not* considered a public API and may change at any time.
- This package always implements the latest version of [GROQ according to the specification](https://github.com/sanity-io/groq).
- The syntax tree is _not_ considered a public API and may change at any time.
- This package always implements the latest version of [GROQ according to the specification](https://github.com/sanity-io/groq).
- The goal is to release a v1.0.0 by the end of 2019.

@@ -72,6 +72,6 @@

# Install dependencies
yarn
npm i
# Run tests
yarn test
npm test
```

@@ -82,13 +82,7 @@

```bash
# Clone the repo somewhere:
git clone https://github.com/sanity-io/groq-test-suite somewhere
# Fecth and generate test file:
./test/generate.sh
# Install dependencies:
(cd somewhere && yarn)
# Generate test file (in this repo):
./test/generate.sh somewhere
# Run tests as usual:
yarn test
npm test
```
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