Izmjenjena struktura, dodan backand

This commit is contained in:
GotPPay
2017-10-16 11:19:46 +02:00
parent 1ec88afacb
commit 048e32c4aa
37153 changed files with 2975854 additions and 1 deletions

View File

@@ -0,0 +1 @@
test/

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{"/Users/ben/git/eslint-plugin-import/resolvers/node/index.js":{"path":"/Users/ben/git/eslint-plugin-import/resolvers/node/index.js","statementMap":{"1":{"start":{"line":1,"column":14},"end":{"line":1,"column":32}},"2":{"start":{"line":2,"column":11},"end":{"line":2,"column":26}},"3":{"start":{"line":3,"column":13},"end":{"line":3,"column":37}},"4":{"start":{"line":5,"column":10},"end":{"line":5,"column":64}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":28}},"6":{"start":{"line":9,"column":0},"end":{"line":26,"column":1}},"7":{"start":{"line":10,"column":2},"end":{"line":10,"column":42}},"8":{"start":{"line":13,"column":2},"end":{"line":16,"column":3}},"9":{"start":{"line":14,"column":4},"end":{"line":14,"column":27}},"10":{"start":{"line":15,"column":4},"end":{"line":15,"column":38}},"11":{"start":{"line":18,"column":2},"end":{"line":25,"column":3}},"12":{"start":{"line":19,"column":4},"end":{"line":19,"column":59}},"13":{"start":{"line":20,"column":4},"end":{"line":20,"column":37}},"14":{"start":{"line":21,"column":4},"end":{"line":21,"column":46}},"15":{"start":{"line":23,"column":4},"end":{"line":23,"column":36}},"16":{"start":{"line":24,"column":4},"end":{"line":24,"column":27}},"17":{"start":{"line":29,"column":2},"end":{"line":39,"column":6}},"18":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"19":{"start":{"line":44,"column":4},"end":{"line":44,"column":36}},"20":{"start":{"line":46,"column":2},"end":{"line":46,"column":12}}},"fnMap":{"1":{"name":"(anonymous_1)","decl":{"start":{"line":9,"column":18},"end":{"line":9,"column":19}},"loc":{"start":{"line":9,"column":50},"end":{"line":26,"column":1}}},"2":{"name":"opts","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":13}},"loc":{"start":{"line":28,"column":28},"end":{"line":40,"column":1}}},"3":{"name":"packageFilter","decl":{"start":{"line":42,"column":9},"end":{"line":42,"column":22}},"loc":{"start":{"line":42,"column":28},"end":{"line":47,"column":1}}}},"branchMap":{"1":{"loc":{"start":{"line":13,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":13,"column":30},"end":{"line":16,"column":3}},{"start":{"line":1,"column":0},"end":{"line":1,"column":0}}]},"2":{"loc":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"type":"if","locations":[{"start":{"line":43,"column":26},"end":{"line":45,"column":3}},{"start":{"line":1,"column":0},"end":{"line":1,"column":0}}]}},"s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":3,"8":3,"9":0,"10":0,"11":3,"12":3,"13":2,"14":2,"15":1,"16":1,"17":3,"18":1,"19":0,"20":1},"f":{"1":3,"2":3,"3":1},"b":{"1":[0,3],"2":[0,1]},"hash":"6c784176dfab6e499c1d7cb9d7b3007733fcd8ca"}}

View File

@@ -0,0 +1,27 @@
# Change Log
All notable changes to this resolver will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
## v0.2.3 - 2016-08-20
### Added
- debug logging (use `DEBUG=eslint-plugin-import:resolver:node eslint [...]`)
## v0.2.2 - 2016-07-14
### Fixed
- Node resolver no longer declares the import plugin as a `peerDependency`. See [#437]
for a well-articulated and thoughtful expression of why this doesn't make sense.
Thanks [@jasonkarns] for the issue and the PR to fix it ([#438]).
Also, apologies to the others who expressed this before, but I never understood
what the problem was.😅
## v0.2.1
### Fixed
- find files with `.json` extensions (#333, thanks for noticing @jfmengels)
[#438]: https://github.com/benmosher/eslint-plugin-import/pull/438
[#437]: https://github.com/benmosher/eslint-plugin-import/issues/437
[@jasonkarns]: https://github.com/jasonkarns

44
web/node_modules/eslint-import-resolver-node/README.md generated vendored Normal file
View File

@@ -0,0 +1,44 @@
# eslint-import-resolver-node
[![npm](https://img.shields.io/npm/v/eslint-import-resolver-node.svg)](https://www.npmjs.com/package/eslint-import-resolver-node)
Default Node-style module resolution plugin for [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import).
Published separately to allow pegging to a specific version in case of breaking
changes.
Config is passed directly through to [`resolve`](https://www.npmjs.com/package/resolve#resolve-sync-id-opts) as options:
```yaml
settings:
import/resolver:
node:
extensions:
# if unset, default is just '.js', but it must be re-added explicitly if set
- .js
- .jsx
- .es6
- .coffee
paths:
# an array of absolute paths which will also be searched
# think NODE_PATH
- /usr/local/share/global_modules
# this is technically for identifying `node_modules` alternate names
moduleDirectory:
- node_modules # defaults to 'node_modules', but...
- bower_components
- project/src # can add a path segment here that will act like
# a source root, for in-project aliasing (i.e.
# `import MyStore from 'stores/my-store'`)
```
or to use the default options:
```yaml
settings:
import/resolver: node
```

47
web/node_modules/eslint-import-resolver-node/index.js generated vendored Normal file
View File

@@ -0,0 +1,47 @@
var resolve = require('resolve')
, path = require('path')
, assign = require('object-assign')
var log = require('debug')('eslint-plugin-import:resolver:node')
exports.interfaceVersion = 2
exports.resolve = function (source, file, config) {
log('Resolving:', source, 'from:', file)
var resolvedPath
if (resolve.isCore(source)) {
log('resolved to core')
return { found: true, path: null }
}
try {
resolvedPath = resolve.sync(source, opts(file, config))
log('Resolved to:', resolvedPath)
return { found: true, path: resolvedPath }
} catch (err) {
log('resolve threw error:', err)
return { found: false }
}
}
function opts(file, config) {
return assign({
// more closely matches Node (#333)
extensions: ['.js', '.json'],
},
config,
{
// path.resolve will handle paths relative to CWD
basedir: path.dirname(path.resolve(file)),
packageFilter: packageFilter,
})
}
function packageFilter(pkg) {
if (pkg['jsnext:main']) {
pkg['main'] = pkg['jsnext:main']
}
return pkg
}

View File

@@ -0,0 +1,64 @@
{
"_from": "eslint-import-resolver-node@^0.2.0",
"_id": "eslint-import-resolver-node@0.2.3",
"_inBundle": false,
"_integrity": "sha1-Wt2BBujJKNssuiMrzZ76hG49oWw=",
"_location": "/eslint-import-resolver-node",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "eslint-import-resolver-node@^0.2.0",
"name": "eslint-import-resolver-node",
"escapedName": "eslint-import-resolver-node",
"rawSpec": "^0.2.0",
"saveSpec": null,
"fetchSpec": "^0.2.0"
},
"_requiredBy": [
"/eslint-plugin-import"
],
"_resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz",
"_shasum": "5add8106e8c928db2cba232bcd9efa846e3da16c",
"_spec": "eslint-import-resolver-node@^0.2.0",
"_where": "/home/bilal/Saburly/slucajna-televizija/node_modules/eslint-plugin-import",
"author": {
"name": "Ben Mosher",
"url": "me@benmosher.com"
},
"bugs": {
"url": "https://github.com/benmosher/eslint-plugin-import/issues"
},
"bundleDependencies": false,
"dependencies": {
"debug": "^2.2.0",
"object-assign": "^4.0.1",
"resolve": "^1.1.6"
},
"deprecated": false,
"description": "Node default behavior import resolution plugin for eslint-plugin-import.",
"devDependencies": {
"chai": "^3.4.1",
"mocha": "^2.3.4",
"nyc": "^7.0.0"
},
"homepage": "https://github.com/benmosher/eslint-plugin-import",
"keywords": [
"eslint",
"eslintplugin",
"esnext",
"modules",
"eslint-plugin-import"
],
"license": "MIT",
"main": "index.js",
"name": "eslint-import-resolver-node",
"repository": {
"type": "git",
"url": "git+https://github.com/benmosher/eslint-plugin-import.git"
},
"scripts": {
"test": "nyc mocha"
},
"version": "0.2.3"
}