jest-haste-map
Advanced tools
Comparing version 20.0.1 to 20.0.2
@@ -1,10 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
/* eslint-disable sort-keys */ | ||
@@ -11,0 +11,0 @@ |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -15,10 +14,10 @@ | ||
const fs = require('fs'); | ||
const path = require('path');var _require = | ||
require('child_process');const spawn = _require.spawn; | ||
const H = require('../constants'); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const spawn = require('child_process').spawn; | ||
function find( | ||
@@ -25,0 +24,0 @@ roots, |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -15,6 +14,5 @@ | ||
const H = require('../constants'); | ||
const path = require('path'); | ||
const watchman = require('fb-watchman'); | ||
const H = require('../constants'); | ||
@@ -21,0 +19,0 @@ const watchmanURL = |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -12,0 +11,0 @@ const path = require('path'); |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -15,7 +14,7 @@ | ||
const path = require('path'); | ||
const micromatch = require('micromatch'); | ||
const H = require('./constants'); | ||
const micromatch = require('micromatch'); | ||
const path = require('path'); | ||
class HasteFS { | ||
@@ -22,0 +21,0 @@ |
@@ -1,11 +0,2 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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 = | ||
'use strict'; | ||
@@ -25,3 +16,21 @@ | ||
require('events');const EventEmitter = _require.EventEmitter; | ||
const EventEmitter = require('events'); /** | ||
* Copyright (c) 2014-present, 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 os = require('os');const path = require('path');const crypto = require('crypto');var _require = require('child_process');const execSync = _require.execSync;const fs = require('graceful-fs');const sane = require('sane');const workerFarm = require('worker-farm'); | ||
const VERSION = require('../package.json').version; | ||
const H = require('./constants'); | ||
@@ -32,13 +41,6 @@ const HasteFS = require('./HasteFS'); | ||
const crypto = require('crypto'); | ||
const execSync = require('child_process').execSync; | ||
const fs = require('graceful-fs'); | ||
const getPlatformExtension = require('./lib/getPlatformExtension'); | ||
const nodeCrawl = require('./crawlers/node'); | ||
const os = require('os'); | ||
const path = require('path'); | ||
const sane = require('sane'); | ||
const watchmanCrawl = require('./crawlers/watchman'); | ||
const worker = require('./worker'); | ||
const workerFarm = require('worker-farm'); | ||
@@ -93,3 +95,2 @@ | ||
const NODE_MODULES = path.sep + 'node_modules' + path.sep; | ||
const VERSION = require('../package.json').version; | ||
@@ -96,0 +97,0 @@ const canUseWatchman = (() => { |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -15,3 +14,2 @@ const blockCommentRe = /\/\*[^]*?\*\//g; | ||
/* eslint-disable max-len */ | ||
const replacePatterns = { | ||
@@ -23,3 +21,2 @@ EXPORT_RE: /(\bexport\s+(?:[^'"]+\s+from\s+)??)(['"])([^'"]+)(\2)/g, | ||
/* eslint-enable max-len */ | ||
@@ -26,0 +23,0 @@ function extractRequires(code) { |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -12,0 +11,0 @@ const SUPPORTED_PLATFORM_EXTS = { |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -12,0 +11,0 @@ |
@@ -1,10 +0,1 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; |
@@ -1,11 +0,10 @@ | ||
/** | ||
* Copyright (c) 2014-present, 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'; | ||
'use strict'; /** | ||
* Copyright (c) 2014-present, 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. | ||
* | ||
* | ||
*/ | ||
@@ -15,8 +14,7 @@ | ||
const path = require('path'); | ||
const docblock = require('jest-docblock'); | ||
const fs = require('graceful-fs'); | ||
const H = require('./constants'); | ||
const docblock = require('jest-docblock'); | ||
const extractRequires = require('./lib/extractRequires'); | ||
const fs = require('graceful-fs'); | ||
const path = require('path'); | ||
@@ -23,0 +21,0 @@ const JSON_EXTENSION = '.json'; |
{ | ||
"name": "jest-haste-map", | ||
"version": "20.0.1", | ||
"version": "20.0.2", | ||
"repository": { | ||
@@ -13,3 +13,3 @@ "type": "git", | ||
"graceful-fs": "^4.1.11", | ||
"jest-docblock": "^20.0.1", | ||
"jest-docblock": "^20.0.2", | ||
"micromatch": "^2.3.11", | ||
@@ -16,0 +16,0 @@ "sane": "~1.6.0", |
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
38261
1106
Updatedjest-docblock@^20.0.2