Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade tree-sitter-cli from 0.21.0 to 0.22.6 #14

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5df341c
Set up CI with Azure Pipelines
abdulrahman305 May 15, 2024
b193413
Merge branch 'getgrit:main' into main
abdulrahman305 May 30, 2024
b55f36b
Merge branch 'getgrit:main' into main
abdulrahman305 Jun 11, 2024
dc8fa6f
Merge branch 'getgrit:main' into main
abdulrahman305 Jun 20, 2024
1d0f25e
Create generator-generic-ossf-slsa3-publish.yml
abdulrahman305 Jun 21, 2024
060abf0
Create rust.yml
abdulrahman305 Jun 21, 2024
4d8a25a
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Jul 2, 2024
265555a
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Jul 2, 2024
10b6721
fix: upgrade com.github.javaparser:javaparser-core from 3.5.9 to 3.26.0
snyk-bot Jul 2, 2024
7a24a23
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Jul 2, 2024
783265b
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Jul 2, 2024
4091067
fix: resources/language-metavariables/tree-sitter-sql/docs/Gemfile & …
snyk-bot Aug 2, 2024
e0c6ab3
Merge branch 'getgrit:main' into main
abdulrahman305 Aug 10, 2024
f5108aa
Merge pull request #6 from abdulrahman305/snyk-fix-39f4eaa93b1f0c30ef…
abdulrahman305 Aug 10, 2024
9d743a6
Merge pull request #5 from abdulrahman305/snyk-upgrade-96379ce5535129…
abdulrahman305 Aug 10, 2024
a8cde46
Merge pull request #3 from abdulrahman305/snyk-upgrade-09b55833c0da45…
abdulrahman305 Aug 10, 2024
c8581b1
Merge pull request #4 from abdulrahman305/snyk-upgrade-1d5567d5cc7343…
abdulrahman305 Aug 10, 2024
502ac0e
Merge pull request #2 from abdulrahman305/snyk-upgrade-8819b597134cef…
abdulrahman305 Aug 10, 2024
384685c
Merge pull request #1 from abdulrahman305/snyk-upgrade-cb0647b3e9bd1a…
abdulrahman305 Aug 10, 2024
a00c3a8
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Aug 10, 2024
c80d1ae
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Aug 10, 2024
19cd9d6
fix: upgrade tree-sitter-cli from 0.20.8 to 0.22.6
snyk-bot Aug 10, 2024
8f5b674
fix: upgrade nan from 2.17.0 to 2.20.0
snyk-bot Aug 10, 2024
4e27727
Merge branch 'getgrit:main' into main
abdulrahman305 Aug 12, 2024
560b54f
Merge pull request #11 from abdulrahman305/snyk-upgrade-e6809ff00fc07…
abdulrahman305 Aug 12, 2024
903a434
Merge pull request #9 from abdulrahman305/snyk-upgrade-1ce720ab311cbe…
abdulrahman305 Aug 12, 2024
df134ca
Merge pull request #8 from abdulrahman305/snyk-upgrade-d917d6369100a0…
abdulrahman305 Aug 12, 2024
d5df4b3
Merge pull request #7 from abdulrahman305/snyk-upgrade-966bbe873fca6c…
abdulrahman305 Aug 12, 2024
ba878aa
fix: upgrade tree-sitter-cli from 0.21.0 to 0.22.6
snyk-bot Aug 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .github/workflows/generator-generic-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow lets you generate SLSA provenance file for your project.
# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.

name: SLSA generic generator
on:
workflow_dispatch:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
outputs:
digests: ${{ steps.hash.outputs.digests }}

steps:
- uses: actions/checkout@v4

# ========================================================
#
# Step 1: Build your artifacts.
#
# ========================================================
- name: Build artifacts
run: |
# These are some amazing artifacts.
echo "artifact1" > artifact1
echo "artifact2" > artifact2

# ========================================================
#
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
#
# ========================================================
- name: Generate subject for provenance
id: hash
run: |
set -euo pipefail

# List the artifacts the provenance will refer to.
files=$(ls artifact*)
# Generate the subjects (base64 encoded).
echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"

provenance:
needs: [build]
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To add assets to a release.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.digests }}"
upload-assets: true # Optional: Upload to a new release
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
30 changes: 30 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml

trigger:
- main

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
platform: 'x86'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"nan": "^2.14.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.0"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"test": "tree-sitter test && script/update-file-sizes && script/parse-examples",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"eslint": ">=5.16.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "ISC",
"dependencies": {
"nan": "^2.14.2",
"tree-sitter-cli": "^0.20.6"
"tree-sitter-cli": "^0.22.6"
},
"tree-sitter": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"eslint": "^8.50.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dependency>
<groupId>com.github.javaparser</groupId>
<artifactId>javaparser-core</artifactId>
<version>3.5.9</version>
<version>3.26.0</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"eslint": ">=8.56.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.20.8",
"tree-sitter-cli": "^0.22.6",
"node-gyp": "^10.0.1"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"license": "MIT",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.9",
"nan": "^2.17.0",
"nan": "^2.20.0",
"node-pre-gyp": "^0.17.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"test": "(cd tree-sitter-markdown && tree-sitter test) && (cd tree-sitter-markdown-inline && tree-sitter test)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"eslint-config-google": "^0.14.0",
"node-gyp": "^10.0.1",
"shelljs": "^0.8.5",
"tree-sitter-cli": "^0.21.0"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"build": "npm run build-php && npm run build-php_only && node-gyp rebuild",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"eslint": "^8.47.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "^0.22.6"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "jekyll", "~> 4.3.2"
gem "jekyll", "~> 4.3.3"

group :development do
gem 'webrick'
Expand Down
44 changes: 25 additions & 19 deletions resources/language-metavariables/tree-sitter-sql/docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
byebug (11.1.3)
coderay (1.1.3)
colorator (1.1.0)
concurrent-ruby (1.2.0)
concurrent-ruby (1.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.22.0-arm64-darwin)
google-protobuf (3.22.0-x86_64-linux)
google-protobuf (3.25.3)
google-protobuf (3.25.3-arm64-darwin)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.12.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -43,7 +44,7 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
Expand All @@ -56,29 +57,34 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
public_suffix (5.0.1)
public_suffix (5.1.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.1.0)
rexml (3.3.4)
strscan
rouge (4.3.0)
safe_yaml (1.0.5)
sass-embedded (1.58.2-arm64-darwin)
google-protobuf (~> 3.21)
sass-embedded (1.58.2-x86_64-linux-gnu)
google-protobuf (~> 3.21)
sass-embedded (1.54.6)
google-protobuf (~> 3.19)
rake (>= 10.0.0)
sass-embedded (1.54.6-arm64-darwin)
google-protobuf (~> 3.19)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
ruby
x86_64-linux

DEPENDENCIES
jekyll (~> 4.3.2)
jekyll (~> 4.3.3)
pry-byebug
webrick

Expand Down
Loading