Deployed the page to Github Pages.

This commit is contained in:
Batuhan Berk Başoğlu 2024-11-03 21:30:09 -05:00
parent 1d79754e93
commit 2c89899458
Signed by: batuhan-basoglu
SSH key fingerprint: SHA256:kEsnuHX+qbwhxSAXPUQ4ox535wFHu/hIRaa53FzxRpo
62797 changed files with 6551425 additions and 15279 deletions

13
node_modules/karma-source-map-support/.travis.yml generated vendored Normal file
View file

@ -0,0 +1,13 @@
sudo: false
language: node_js
node_js:
- "10"
cache:
directories:
- node_modules
branches:
only:
- master
- /^greenkeeper/.*$/

20
node_modules/karma-source-map-support/LICENSE generated vendored Normal file
View file

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright 2018 Tim Schaub
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1
node_modules/karma-source-map-support/lib/client.js generated vendored Normal file
View file

@ -0,0 +1 @@
sourceMapSupport.install();

20
node_modules/karma-source-map-support/lib/index.js generated vendored Normal file
View file

@ -0,0 +1,20 @@
const path = require('path');
const smsPath = path.dirname(require.resolve('source-map-support'));
const createPattern = function(pattern) {
return {pattern: pattern, included: true, served: true, watched: false};
};
const init = function(files) {
files.unshift(createPattern(path.join(__dirname, 'client.js')));
files.unshift(
createPattern(path.join(smsPath, 'browser-source-map-support.js'))
);
};
init.$inject = ['config.files'];
module.exports = {
'framework:source-map-support': ['factory', init]
};

42
node_modules/karma-source-map-support/package.json generated vendored Normal file
View file

@ -0,0 +1,42 @@
{
"name": "karma-source-map-support",
"version": "1.4.0",
"description": "Karma plugin for inline sourcemap support",
"main": "lib/index.js",
"dependencies": {
"source-map-support": "^0.5.5"
},
"homepage": "https://github.com/tschaub/karma-source-map-support",
"author": {
"name": "Tim Schaub",
"url": "http://tschaub.net/"
},
"keywords": [
"karma-plugin",
"karma-framework",
"browserify",
"inline",
"sourcemap"
],
"repository": {
"type": "git",
"url": "git://github.com/tschaub/karma-source-map-support.git"
},
"bugs": {
"url": "https://github.com/tschaub/karma-source-map-support/issues"
},
"license": "MIT",
"scripts": {
"test": "eslint lib"
},
"eslintConfig": {
"extends": "tschaub",
"globals": {
"sourceMapSupport": false
}
},
"devDependencies": {
"eslint": "^5.13.0",
"eslint-config-tschaub": "^12.0.1"
}
}

80
node_modules/karma-source-map-support/readme.md generated vendored Normal file
View file

@ -0,0 +1,80 @@
# karma-source-map-support
[![Greenkeeper badge](https://badges.greenkeeper.io/tschaub/karma-source-map-support.svg)](https://greenkeeper.io/)
Karma plugin for inline sourcemap support.
## Motivation
When loading Browserify bundles with inline source maps (via [`karma-browserify`](https://www.npmjs.com/package/karma-browserify)), the stack traces in Chrome don't mention the original modules. This plugin uses [`source-map-support`](https://www.npmjs.com/package/source-map-support) to improve the situation.
## Use
Install the plugin with `npm`:
npm install karma-source-map-support
Configure Karma to load the plugin as a framework:
```js
module.exports = function(config) {
config.set({
frameworks: ['source-map-support']
// additional settings here ...
});
};
```
## Example
The config settings below are a complete example using Mocha and Browserify with source map support:
```js
module.exports = function(config) {
config.set({
frameworks: ['browserify', 'source-map-support', 'mocha'],
files: [
'src/**/*.test.js'
],
preprocessors: {
'src/**/*.test.js': ['browserify']
},
browsers: ['PhantomJS'],
singleRun: false,
browserify: {
debug: true // include inline source maps
}
});
};
```
Sample stack trace without this plugin:
```
AssertionError: case 2: expected [ 0, 0.6666666666666666 ] to deeply equal [ 0, 0.5 ]
at Function.assert.deepEqual (http://localhost:9876/absolute/var/folders/6m/3grlt52x7w3047wy0n6j7dr00000gn/T/2d4c510ad9122153a42db199d1cc8e9553208184.browserify:1848:32)
at Context.<anonymous> (http://localhost:9876/absolute/var/folders/6m/3grlt52x7w3047wy0n6j7dr00000gn/T/2d4c510ad9122153a42db199d1cc8e9553208184.browserify:6061:14)
at callFn (http://localhost:9876/base/node_modules/mocha/mocha.js:4496:21)
at Test.Runnable.run (http://localhost:9876/base/node_modules/mocha/mocha.js:4489:7)
at Runner.runTest (http://localhost:9876/base/node_modules/mocha/mocha.js:4892:10)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4970:12
at next (http://localhost:9876/base/node_modules/mocha/mocha.js:4817:14)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4827:7
at next (http://localhost:9876/base/node_modules/mocha/mocha.js:4766:23)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4794:5
```
Sample stack trace with this plugin:
```
AssertionError: case 2: expected [ 0, 0.6666666666666666 ] to deeply equal [ 0, 0.5 ]
at Function.assert.deepEqual (node_modules/chai/lib/chai/interface/assert.js:205:1)
at Context.<anonymous> (src/scenes/util/geom.test.js:27:1)
at callFn (http://localhost:9876/base/node_modules/mocha/mocha.js:4496:21)
at Test.Runnable.run (http://localhost:9876/base/node_modules/mocha/mocha.js:4489:7)
at Runner.runTest (http://localhost:9876/base/node_modules/mocha/mocha.js:4892:10)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4970:12
at next (http://localhost:9876/base/node_modules/mocha/mocha.js:4817:14)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4827:7
at next (http://localhost:9876/base/node_modules/mocha/mocha.js:4766:23)
at http://localhost:9876/base/node_modules/mocha/mocha.js:4794:5
```