packages/liferay-theme-tasks/lib/devDependencies.js
/**
 * Helper method that will complain noisily if we pass a non-strict version
 * specifier (eg. "^1.0.0", "~1.0.0", ">1.0.0" etc).
 */
Helper method that will complain noisily if we pass a non-strict version
specifier .
Helper method that will complain noisily if we pass a non - strict version specifier .
function strict(version) {
	if (!version.match(/^\d/)) {
		throw new Error(`Version ${version} is not strict`);
	}
	return version;
}
function strict ( version ) { if ( ! version . match ( / ^\d / ) ) { throw new Error ( ` ${ version } ` ) ; } return version ; }
Helper method that will complain noisily if we pass a non-strict version
 specifier (eg.
Helper method that will complain noisily if we pass a non - strict version specifier ( eg .