Skip to content

Commit

Permalink
chore: clean root folder (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-tymoshenko authored Mar 13, 2023
1 parent e503c9f commit eaf35de
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bench-thread.js → benchmark/bench-thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Benchmark.options.minSamples = 500

const suite = Benchmark.Suite()

const FindMyWay = require('./')
const FindMyWay = require('..')
const findMyWay = new FindMyWay()

for (const { method, url, opts } of benchmark.setupURLs) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const querystring = require('fast-querystring')
const isRegexSafe = require('safe-regex2')
const deepEqual = require('fast-deep-equal')
const { prettyPrintTree } = require('./lib/pretty-print')
const { StaticNode, NODE_TYPES } = require('./custom_node')
const { StaticNode, NODE_TYPES } = require('./lib/node')
const Constrainer = require('./lib/constrainer')
const httpMethods = require('./lib/http-methods')
const httpMethodStrategy = require('./lib/strategies/http-method')
Expand Down
2 changes: 1 addition & 1 deletion handler_storage.js → lib/handler-storage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const httpMethodStrategy = require('./lib/strategies/http-method')
const httpMethodStrategy = require('./strategies/http-method')

class HandlerStorage {
constructor () {
Expand Down
2 changes: 1 addition & 1 deletion custom_node.js → lib/node.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const HandlerStorage = require('./handler_storage')
const HandlerStorage = require('./handler-storage')

const NODE_TYPES = {
STATIC: 0,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"bench": "node bench.js",
"bench:cmp": "node bench-cmp.js",
"bench:cmp:ci": "node bench-cmp.js --ci",
"bench": "node ./benchmark/bench.js",
"bench:cmp": "node ./benchmark/compare-branches.js",
"bench:cmp:ci": "node ./benchmark/compare-branches.js --ci",
"test:lint": "standard",
"test:typescript": "tsd",
"test": "standard && tap -J test/*.test.js && npm run test:typescript",
Expand Down

0 comments on commit eaf35de

Please sign in to comment.