mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 05:50:50 +00:00
nhj
more
This commit is contained in:
24
unified-ai-platform/node_modules/istanbul-lib-instrument/LICENSE
generated
vendored
Normal file
24
unified-ai-platform/node_modules/istanbul-lib-instrument/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
Copyright 2012-2015 Yahoo! Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the Yahoo! Inc. nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
14
unified-ai-platform/node_modules/istanbul-lib-instrument/src/constants.js
generated
vendored
Normal file
14
unified-ai-platform/node_modules/istanbul-lib-instrument/src/constants.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
const { createHash } = require('crypto');
|
||||
const { name } = require('../package.json');
|
||||
// TODO: increment this version if there are schema changes
|
||||
// that are not backwards compatible:
|
||||
const VERSION = '4';
|
||||
|
||||
const SHA = 'sha1';
|
||||
module.exports = {
|
||||
SHA,
|
||||
MAGIC_KEY: '_coverageSchema',
|
||||
MAGIC_VALUE: createHash(SHA)
|
||||
.update(name + '@' + VERSION)
|
||||
.digest('hex')
|
||||
};
|
||||
21
unified-ai-platform/node_modules/istanbul-lib-instrument/src/index.js
generated
vendored
Normal file
21
unified-ai-platform/node_modules/istanbul-lib-instrument/src/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
const { defaults } = require('@istanbuljs/schema');
|
||||
const Instrumenter = require('./instrumenter');
|
||||
const programVisitor = require('./visitor');
|
||||
const readInitialCoverage = require('./read-coverage');
|
||||
|
||||
/**
|
||||
* createInstrumenter creates a new instrumenter with the
|
||||
* supplied options.
|
||||
* @param {Object} opts - instrumenter options. See the documentation
|
||||
* for the Instrumenter class.
|
||||
*/
|
||||
function createInstrumenter(opts) {
|
||||
return new Instrumenter(opts);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
createInstrumenter,
|
||||
programVisitor,
|
||||
readInitialCoverage,
|
||||
defaultOpts: defaults.instrumenter
|
||||
};
|
||||
0
unified-ai-platform/node_modules/istanbul-lib-instrument/src/instrumenter.js
generated
vendored
Normal file
0
unified-ai-platform/node_modules/istanbul-lib-instrument/src/instrumenter.js
generated
vendored
Normal file
Reference in New Issue
Block a user