Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-schema-matcher

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-schema-matcher - npm Package Compare versions

Comparing version 1.7.5 to 1.7.6

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.7.6](https://github.com/ryparker/jest-schema-matcher/compare/v1.7.5...v1.7.6) (2020-08-27)
### Bug Fixes
* **fix file path replacements for windows:** replaced \ with / for windows users ([7235550](https://github.com/ryparker/jest-schema-matcher/commit/72355501f238769d071c37fa536ceabb2ad897f6))
## [1.7.5](https://github.com/ryparker/jest-schema-matcher/compare/v1.7.4...v1.7.5) (2020-08-13)

@@ -2,0 +9,0 @@

6

dist/index.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
var to_match_schema_1 = require("./to-match-schema");
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return to_match_schema_1.default; } });
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(to_match_schema_1).default; } });
//# sourceMappingURL=index.js.map

3

dist/to-match-schema.js

@@ -9,2 +9,3 @@ "use strict";

const schematized_1 = __importDefault(require("schematized"));
const lodash_1 = __importDefault(require("lodash"));
const chalk_1 = __importDefault(require("chalk"));

@@ -15,3 +16,2 @@ const variable_diff_1 = __importDefault(require("variable-diff"));

const pretty_format_1 = __importDefault(require("pretty-format"));
const lodash_1 = __importDefault(require("lodash"));
const { SHOULD_UPDATE_SCHEMAS } = global;

@@ -82,2 +82,3 @@ /**

function findSchema(testPath, schemaName) {
testPath.replace('\\', '/');
const testDir = testPath.replace(/(?<=\/)[\w-.]*\.test\.ts/gm, '');

@@ -84,0 +85,0 @@ const schemaDir = path_1.default.resolve(testDir, 'schemas');

{
"name": "jest-schema-matcher",
"version": "1.7.5",
"version": "1.7.6",
"license": "MIT",

@@ -59,7 +59,7 @@ "files": [

"dependencies": {
"ajv": "^6.12.3",
"ajv": "^6.12.4",
"chalk": "^4.1.0",
"jest-matcher-utils": "^26.4.0",
"jest-matcher-utils": "^26.4.2",
"lodash": "^4.17.20",
"pretty-format": "^26.4.0",
"pretty-format": "^26.4.2",
"schematized": "^1.8.5",

@@ -71,18 +71,18 @@ "variable-diff": "^2.0.1"

"@semantic-release/git": "^9.0.0",
"@types/jest": "^26.0.9",
"@types/lodash": "^4.14.159",
"@types/node": "^14.0.27",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"@types/jest": "^26.0.10",
"@types/lodash": "^4.14.160",
"@types/node": "^14.6.1",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-xo-typescript": "^0.32.0",
"eslint-plugin-jest": "^23.20.0",
"husky": "^4.2.5",
"jest": "^26.4.0",
"lint-staged": "^10.2.11",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"semantic-release": "^17.1.1",
"ts-jest": "^26.2.0",
"typescript": "^3.9.7",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2",
"xo": "^0.33.0"

@@ -89,0 +89,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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