Socket
Socket
Sign inDemoInstall

cspell-config-lib

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cspell-config-lib - npm Package Compare versions

Comparing version 6.6.1 to 6.7.0

5

dist/deserializers/cspellJson.js

@@ -13,3 +13,3 @@ "use strict";

const cspell = (0, comment_json_1.parse)(content);
if (!cspell || typeof cspell !== 'object' || Array.isArray(cspell)) {
if (!isCSpellSettings(cspell)) {
throw new Error(`Unable to parse ${uri}`);

@@ -23,3 +23,6 @@ }

}
function isCSpellSettings(cfg) {
return !(!cfg || typeof cfg !== 'object' || Array.isArray(cfg));
}
exports.deserializerCSpellJson = _deserializerCSpellJson;
//# sourceMappingURL=cspellJson.js.map

2

dist/test-helpers/util.js

@@ -35,3 +35,3 @@ "use strict";

const testState = expect.getState();
return path.join(__dirname, '../../temp', testState.currentTestName, file);
return path.join(__dirname, '../../temp', testState.currentTestName || 'test', file);
}

@@ -38,0 +38,0 @@ exports.tempPath = tempPath;

{
"name": "cspell-config-lib",
"version": "6.6.1",
"version": "6.7.0",
"description": "CSpell Config library",

@@ -45,4 +45,4 @@ "keywords": [

"dependencies": {
"@cspell/cspell-types": "^6.6.1",
"comment-json": "^4.2.2",
"@cspell/cspell-types": "^6.7.0",
"comment-json": "^4.2.3",
"vscode-uri": "^3.0.3",

@@ -52,7 +52,7 @@ "yaml": "^1.10.2"

"devDependencies": {
"@types/node": "^18.6.5",
"@types/node": "^18.7.6",
"jest": "^28.1.3",
"rimraf": "^3.0.2"
},
"gitHead": "3c9c24d1cebd558ac3729d3fbf441e6ed751d8cf"
"gitHead": "3a7312a15d2df1507d9e01863ec5842f5a99e0cc"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc