Procházet zdrojové kódy

remove wrong node_modules

luis před 7 roky
rodič
revize
25e38835fe

+ 1 - 1
browser/vue-flow/package.json

@@ -29,7 +29,7 @@
     "cross-env": "^5.1.3",
     "css-loader": "^0.28.7",
     "eslint": "^4.16.0",
-    "eslint-config-esnext": "^2.0.0",
+    "eslint-config-esnext": "2.0.0",
     "eslint-config-node": "^2.0.0",
     "eslint-config-standard": "^11.0.0-beta.0",
     "eslint-plugin-babel": "^4.1.2",

+ 1 - 1
browser/vue-flow/yarn.lock

@@ -2061,7 +2061,7 @@ escope@^3.6.0:
     esrecurse "^4.1.0"
     estraverse "^4.1.1"
 
-eslint-config-esnext@^2.0.0:
+eslint-config-esnext@2.0.0, eslint-config-esnext@^2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/eslint-config-esnext/-/eslint-config-esnext-2.0.0.tgz#3d6c9e87ed0a0ee72f2797138eb0bceb20897ca2"
   dependencies:

+ 0 - 16
node_modules/.yarn-integrity

@@ -1,16 +0,0 @@
-{
-  "nodeVersion": "v9.4.0",
-  "modulesFolders": [
-    "node_modules"
-  ],
-  "flags": [],
-  "linkedModules": [],
-  "topLevelPatterns": [
-    "vuex-router-sync@^5.0.0"
-  ],
-  "lockfileEntries": {
-    "vuex-router-sync@^5.0.0": "https://registry.yarnpkg.com/vuex-router-sync/-/vuex-router-sync-5.0.0.tgz#1a225c17a1dd9e2f74af0a1b2c62072e9492b305"
-  },
-  "files": [],
-  "artifacts": {}
-}

+ 0 - 21
node_modules/vuex-router-sync/LICENSE

@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Evan You
-
-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.

+ 0 - 51
node_modules/vuex-router-sync/README.md

@@ -1,51 +0,0 @@
-# vuex-router-sync [![CircleCI](https://circleci.com/gh/vuejs/vuex-router-sync.svg?style=svg)](https://circleci.com/gh/vuejs/vuex-router-sync)
-
-> Sync vue-router's current $route as part of vuex store's state.
-
-### Usage
-
-``` bash
-# the latest version works only with vue-router >= 2.0
-npm install vuex-router-sync
-
-# for usage with vue-router < 2.0:
-npm install vuex-router-sync@2
-```
-
-``` js
-import { sync } from 'vuex-router-sync'
-import store from './vuex/store' // vuex store instance
-import router from './router' // vue-router instance
-
-const unsync = sync(store, router) // done. Returns an unsync callback fn
-
-// bootstrap your app...
-
-// During app/Vue teardown (e.g., you only use Vue.js in a portion of your app and you 
-// navigate away from that portion and want to release/destroy Vue components/resources)
-unsync() // Unsyncs store from router
-```
-
-You can optionally set a custom vuex module name:
-
-```js
-sync(store, router, { moduleName: 'RouteModule' } )
-```
-
-### How does it work?
-
-- It adds a `route` module into the store, which contains the state representing the current route:
-
-  ``` js
-  store.state.route.path   // current path (string)
-  store.state.route.params // current params (object)
-  store.state.route.query  // current query (object)
-  ```
-
-- When the router navigates to a new route, the store's state is updated.
-
-- **`store.state.route` is immutable, because it is derived state from the URL, which is the source of truth**. You should not attempt to trigger navigations by mutating the route object. Instead, just call `$router.push()` or `$router.go()`. Note that you can do `$router.push({ query: {...}})` to update the query string on the current path.
-
-### License
-
-[MIT](http://opensource.org/licenses/MIT)

+ 0 - 75
node_modules/vuex-router-sync/index.js

@@ -1,75 +0,0 @@
-exports.sync = function (store, router, options) {
-  var moduleName = (options || {}).moduleName || 'route'
-
-  store.registerModule(moduleName, {
-    namespaced: true,
-    state: cloneRoute(router.currentRoute),
-    mutations: {
-      'ROUTE_CHANGED': function ROUTE_CHANGED (state, transition) {
-        store.state[moduleName] = cloneRoute(transition.to, transition.from)
-      }
-    }
-  })
-
-  var isTimeTraveling = false
-  var currentPath
-
-  // sync router on store change
-  var storeUnwatch = store.watch(
-    function (state) { return state[moduleName]; },
-    function (route) {
-      var fullPath = route.fullPath;
-      if (fullPath === currentPath) {
-        return
-      }
-      if (currentPath != null) {
-        isTimeTraveling = true
-        router.push(route)
-      }
-      currentPath = fullPath
-    },
-    { sync: true }
-  )
-
-  // sync store on router navigation
-  var afterEachUnHook = router.afterEach(function (to, from) {
-    if (isTimeTraveling) {
-      isTimeTraveling = false
-      return
-    }
-    currentPath = to.fullPath
-    store.commit(moduleName + '/ROUTE_CHANGED', { to: to, from: from })
-  })
-
-  return function unsync () {
-    // On unsync, remove router hook
-    if (afterEachUnHook != null) {
-      afterEachUnHook()
-    }
-
-    // On unsync, remove store watch
-    if (storeUnwatch != null) {
-      storeUnwatch()
-    }
-
-    // On unsync, unregister Module with store
-    store.unregisterModule(moduleName)
-  }
-}
-
-function cloneRoute (to, from) {
-  var clone = {
-    name: to.name,
-    path: to.path,
-    hash: to.hash,
-    query: to.query,
-    params: to.params,
-    fullPath: to.fullPath,
-    meta: to.meta
-  }
-  if (from) {
-    clone.from = cloneRoute(from)
-  }
-  return Object.freeze(clone)
-}
-

+ 0 - 45
node_modules/vuex-router-sync/package.json

@@ -1,45 +0,0 @@
-{
-  "name": "vuex-router-sync",
-  "version": "5.0.0",
-  "description": "Effortlessly keep vue-router and vuex store in sync.",
-  "main": "index.js",
-  "files": [
-    "index.js",
-    "types/*.d.ts"
-  ],
-  "typings": "types/index.d.ts",
-  "scripts": {
-    "test": "jest && npm run test:types",
-    "test:types": "tsc -p types/test",
-    "build": "buble src/index.js > index.js",
-    "pretest": "npm run build",
-    "prepublishOnly": "npm run build"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/vuejs/vuex-router-sync.git"
-  },
-  "keywords": [
-    "vuex",
-    "vue-router",
-    "vue"
-  ],
-  "author": "Evan You",
-  "license": "MIT",
-  "bugs": {
-    "url": "https://github.com/vuejs/vuex-router-sync/issues"
-  },
-  "homepage": "https://github.com/vuejs/vuex-router-sync#readme",
-  "devDependencies": {
-    "buble": "^0.16.0",
-    "jest": "^21.2.1",
-    "typescript": "^2.5.3",
-    "vue": "github:vuejs/vue#dev",
-    "vue-router": "^3.0.0",
-    "vuex": "^3.0.0"
-  },
-  "peerDependencies": {
-    "vue-router": "^3.0.0",
-    "vuex": "^3.0.0"
-  }
-}

+ 0 - 12
node_modules/vuex-router-sync/types/index.d.ts

@@ -1,12 +0,0 @@
-import { Store } from 'vuex';
-import VueRouter from 'vue-router';
-
-interface SyncOptions {
-  moduleName: string;
-}
-
-export declare function sync(
-  store: Store<any>,
-  router: VueRouter,
-  options?: SyncOptions
-): Function;

+ 0 - 5
package.json

@@ -1,5 +0,0 @@
-{
-  "devDependencies": {
-    "vuex-router-sync": "^5.0.0"
-  }
-}

+ 0 - 7
yarn.lock

@@ -1,7 +0,0 @@
-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-# yarn lockfile v1
-
-
-vuex-router-sync@^5.0.0:
-  version "5.0.0"
-  resolved "https://registry.yarnpkg.com/vuex-router-sync/-/vuex-router-sync-5.0.0.tgz#1a225c17a1dd9e2f74af0a1b2c62072e9492b305"