Skip to content

Commit

Permalink
Migrate to new wasm validator (#6293)
Browse files Browse the repository at this point in the history
* Migrate to new wasm validator

Upgrade linter and pageexperience checker + all references to
validator.js.

* migrate to new validator API
  • Loading branch information
sebastianbenz authored Feb 11, 2022
1 parent cfdda52 commit ba78a01
Show file tree
Hide file tree
Showing 7 changed files with 434 additions and 793 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js/testSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const fetch = require('node-fetch');
const signale = require('signale');
const {BUILD} = require('@lib/utils/project').paths;

const VALIDATOR_SCRIPT_URL = 'https://cdn.ampproject.org/v0/validator.js';
const VALIDATOR_SCRIPT_URL = 'https://cdn.ampproject.org/v0/validator_wasm.js';
const VALIDATOR_TARGET_PATH = join(BUILD, 'testing/validator.js');

/**
Expand Down
220 changes: 49 additions & 171 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba78a01

Please sign in to comment.