其中,json 类型的 Import Attributes 现在已经被拆分为一个独立的 Stage 3 提案,见 proposal-json-modules。 这一提案的提出主要是为了解决导入文件和其 MIME 类型可能不一致的问题,如导入 JSON 时,MIME 类型意外返回了 text/javascript,那去执行 JSON 模块就会导致错误,因此我们需要一种独立于 MIME 之外,由 Client...
Luckily, the automation of our typeformer could re-construct each step of the migration with a commit, which also helped with review. On top of that, our test suite and all of our external test infrastructure really gave us confidence to make the move. So finally, we asked our team to ...
All provided option values are case-insensitive. Do not include the @ when supplying directive names to the directives or ignoreDirectives lists. Supplying Options to the Parser To supply parser options, you must have an instance of BladeDocument before you parse the template contents. Each Blade...
:hash: Hardened tokenize/parse, esp. comment parsing, see #713 :hash: Exclude any fields part of some oneof when populating defaults in toObject, see #710 :hash: Most of the parser is not case insensitive, see #705 :hash: Retain options argument in Root#load when used with promises, ...
// ].map((match) => match.groups.variable);// console.log(JSON.stringify(variables, undefined, 2));// Deprecated for (const module of source.modules) { if (module.path.startsWith("src/deprecatedCompat/")) { @@ -328,16 +317,6 @@ function modifyTypescriptModule(text) { }); ...
Update parser to treat file extensions as case-insensitive Details Add babel-template and babel-types to package.json Details Improve Code Coverage Details Safe cssnano transforms by default Details Make sure bundles is an array in loadBundlesLazy Details Bump dependencies Details Allows for dots in ...
(line) => JSON.parse(line.slice(1))) .map((obj) => { obj.$index = {}; for (const f of fullTextSearchFieldNames) { const text = obj[f]; for (const word of text.split(' ')) { obj.$index[word.toLowerCase()] = true; } } return obj; }); } async find(query: Query)...
toString(), { onCaseInsensitiveFileSystem: false }); create(id: number, uri: vscode.Uri, watchParentDirs: boolean, isRecursive: boolean, listeners: { create?: (uri: vscode.Uri) => void; change?: (uri: vscode.Uri) => void; delete?: (uri: vscode.Uri) => void }): void { const...
eslint-plugin: [member-ordering] add option to sort case insensitive (#3896) (e3533d5) eslint-plugin: array-type distinguish whether readonly or not (#4066) (314af44)5.4.0 (2021-11-15)Bug Fixescorrect issues with circular imports (#4140) (4c87b24) eslint-plugin: [explicit-member-...
import { boolean, object, validate } from 'justus' const validator = object({ foo: boolean({ fromString: true }), }) // Here myValue can be a boolean or the string "true" or "false" (case insensitive) const bool = validate(validator, myValue)...