Skip to content

fix: package.json to reduce vulnerabilities

7b44028
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Security upgrade @babel/runtime-corejs2 from 7.19.0 to 7.26.10 #792

fix: package.json to reduce vulnerabilities
7b44028
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Mar 14, 2025 in 3m 11s

Build Passed

The build passed.

Details

This is a normal build for the snyk-fix-6676c3da929436ec606add9c178a2861 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Xenial)
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": false,
  "services": [
    "mysql"
  ],
  "env": [
    "global={:WP_VERSION=>\"master\", :WP_MULTISITE=>\"0\"}=TRAVIS_API_TOKEN=[secure]"
  ],
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "U0C7obTxqgI1blt1RIhIY+M3mU94CgSVMCP3oWtPyVaXrDwYdlSZvqXGCdezJXqVzFOcMEytDlKMJxo1zM6fnXlpqvUllBGm2IJkpQj6ijUr+uQy6bVqMWQiIWDho8XRKH3GoYa812XSsNJOROX+let9JiXiO5qz0DWSs3FQ4gl+Ti+E/Znck9yE32AfY5rHEhtkbN2ih/Agx7o+8PkdGG2BGr6hqfn/Gf1sHiUA6KifdoD6lZRR/nym/1osEMlkuavbY4tOf+RBvUTpSpyBDthPXmgXCPJZ8iGGTKySic7KF367AXITWNWdZxX0ChzNB6WcmJWvdvghbxRnIZXN3nML+gtXclmNnH8GOO4iLyXtUbyh7JpoZh/5KVnqP2hmgjPzBGNm84JBmZuqB7jIKHAZwWh66u9k03uteM5wrYNxQBYvDHvTaeeP7TnOBDWhUkjvEacx61TpxmUCb6VGHahSv/MuqaAEpvolcj83BPBC4fjrLA3dj6u+WjYxTqRZeA9A35eW6qT3182beKHCj+GfN1PfsMRGCyqebxcj6CMLgGti0UMgFUBBp1w30z54vKq/lpIRCgMYXQWbETJPLhez76u9MqVCc1j9JoxD6o7we3BsvYtOhngnCbKLcpDzsQK8q/TTtVB/etfQcYdir6lkJn4wAQbvoM5US8uPQ7w="
          }
        ]
      }
    ]
  },
  "before_script": [
    "nvm install 10.13.0",
    "nvm use 10.13.0",
    "npm install --global gulp-cli",
    "yarn install && yarn run build",
    "export WP_DEVELOP_DIR=/tmp/wordpress/",
    "export BGTFW_THEME_DIR=$WP_DEVELOP_DIR/src/wp-content/themes/prime",
    "mkdir -p $WP_DEVELOP_DIR",
    "git clone --depth=1 --branch=\"$WP_VERSION\" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR",
    "framework_dir=$(basename $(pwd))/boldgrid-theme-framework",
    "cd ..",
    "git clone -b master https://github.com/boldgrid/prime $BGTFW_THEME_DIR",
    "cp -r $framework_dir/. $BGTFW_THEME_DIR/inc/boldgrid-theme-framework",
    "cd $WP_DEVELOP_DIR",
    "echo $WP_DEVELOP_DIR",
    "cp wp-tests-config-sample.php wp-tests-config.php",
    "sed -i \"s/youremptytestdbnamehere/wordpress_test/\" wp-tests-config.php",
    "sed -i \"s/yourusernamehere/root/\" wp-tests-config.php",
    "sed -i \"s/yourpasswordhere//\" wp-tests-config.php",
    "mysql -e 'CREATE DATABASE wordpress_test;' -uroot",
    "mkdir php-codesniffer && curl -L https://github.com/squizlabs/PHP_CodeSniffer/archive/2.9.tar.gz | tar xz --strip-components=1 -C php-codesniffer",
    "mkdir wordpress-coding-standards && curl -L https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/archive/0.10.0.tar.gz | tar xz --strip-components=1 -C wordpress-coding-standards",
    "cd php-codesniffer",
    "scripts/phpcs --config-set installed_paths ../wordpress-coding-standards",
    "cd $BGTFW_THEME_DIR",
    "phpenv rehash",
    "echo 'error_reporting = E_ERROR' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini"
  ],
  "script": [
    "find . \\( -name '*.php' \\) -exec php -lf {} \\; >/dev/null",
    "$WP_DEVELOP_DIR/php-codesniffer/scripts/phpcs -p -s -v -n . --standard=$TRAVIS_BUILD_DIR/phpcs.ruleset.xml --ignore=*partials/hover-colors-only.php,*/scssphp/*,*/kirki/*,*/wp_bootstrap_navwalker.php,*/woocommerce/*,*/sa_templates/*,functions.php --extensions=php",
    "cd $TRAVIS_BUILD_DIR"
  ],
  "deploy": [
    {
      "provider": "script",
      "script": "node build/build-zip.js",
      "skip_cleanup": true,
      "on": {
        "tags": true,
        "php": "7.3"
      }
    },
    {
      "provider": "releases",
      "skip_cleanup": true,
      "file": [
        "bgtfw.zip"
      ],
      "on": {
        "tags": true,
        "php": "7.3"
      },
      "token": "${GITHUB_TOKEN}"
    },
    {
      "provider": "script",
      "skip_cleanup": true,
      "script": "node build/remote-update.js",
      "on": {
        "tags": true,
        "php": "7.3"
      }
    }
  ],
  "jobs": {
    "include": [
      {
        "php": "7.3"
      }
    ]
  }
}