jest-resolve-dependencies
Advanced tools
Comparing version 20.0.1 to 20.0.2
@@ -1,11 +0,1 @@ | ||
/** | ||
* Copyright (c) 2014, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* | ||
*/ | ||
'use strict';var _require = | ||
@@ -17,11 +7,19 @@ | ||
require('jest-regex-util');const replacePathSepForRegex = _require.replacePathSepForRegex; | ||
const snapshotDirRegex = new RegExp( | ||
replacePathSepForRegex('\/__snapshots__\/')); | ||
const snapshotFileRegex = new RegExp( | ||
replacePathSepForRegex('__snapshots__\/(.*)\.snap')); | ||
const isSnapshotPath = path => | ||
require('jest-regex-util');const replacePathSepForRegex = _require.replacePathSepForRegex; /** | ||
* Copyright (c) 2014, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* | ||
*/const snapshotDirRegex = new RegExp(replacePathSepForRegex('\/__snapshots__\/'));const snapshotFileRegex = new RegExp(replacePathSepForRegex('__snapshots__\/(.*)\.snap'));const isSnapshotPath = path => | ||
!!path.match(snapshotDirRegex); | ||
@@ -28,0 +26,0 @@ |
{ | ||
"name": "jest-resolve-dependencies", | ||
"version": "20.0.1", | ||
"version": "20.0.2", | ||
"repository": { | ||
@@ -11,4 +11,4 @@ "type": "git", | ||
"dependencies": { | ||
"jest-regex-util": "^20.0.1" | ||
"jest-regex-util": "^20.0.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4084
94
Updatedjest-regex-util@^20.0.2