Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Use superstring instead of individual native modules
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunsfeld committed Dec 28, 2016
1 parent d0732f3 commit c7d1597
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -42,22 +42,19 @@
"json-diff": "^0.3.1",
"random-seed": "^0.2.0",
"rimraf": "~2.2.2",
"regression": "^1.2.1",
"temp": "^0.8.3",
"yargs": "^6.5.0"
},
"dependencies": {
"atom-patch": "1.0.4",
"buffer-offset-index": "0.0.1",
"superstring": "1.0.1",
"delegato": "^1.0.0",
"diff": "^2.2.1",
"display-index": "^0.1.0",
"emissary": "^1.0.0",
"event-kit": "^2.1.0",
"fs-plus": "^2.0.0",
"grim": "1.5.0",
"marker-index": "4.0.1",
"pathwatcher": "6.7.1",
"regression": "^1.2.1",
"serializable": "^1.0.3",
"underscore-plus": "^1.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/test-decoration-layer.coffee
@@ -1,4 +1,4 @@
MarkerIndex = require 'marker-index/dist/js/marker-index'
{MarkerIndex} = require 'superstring'
Random = require 'random-seed'
{Emitter} = require 'event-kit'
{compare: comparePoints, isEqual: isEqualPoint, min: minPoint} = require('../../src/point-helpers')
Expand Down
2 changes: 1 addition & 1 deletion src/display-layer.js
@@ -1,4 +1,4 @@
const Patch = require('atom-patch')
const {Patch} = require('superstring')
const {Emitter} = require('event-kit')
const Point = require('./point')
const Range = require('./range')
Expand Down
2 changes: 1 addition & 1 deletion src/history.coffee
@@ -1,4 +1,4 @@
Patch = require 'atom-patch'
{Patch} = require 'superstring'
MarkerLayer = require './marker-layer'

SerializationVersion = 6
Expand Down
2 changes: 1 addition & 1 deletion src/marker-layer.coffee
Expand Up @@ -3,7 +3,7 @@
Point = require "./point"
Range = require "./range"
Marker = require "./marker"
MarkerIndex = require "marker-index"
{MarkerIndex} = require "superstring"
{intersectSet} = require "./set-helpers"

SerializationVersion = 2
Expand Down
3 changes: 1 addition & 2 deletions src/text-buffer.coffee
@@ -1,12 +1,11 @@
{Emitter, CompositeDisposable, Disposable} = require 'event-kit'
{File} = require 'pathwatcher'
BufferOffsetIndex = require 'buffer-offset-index'
diff = require 'diff'
_ = require 'underscore-plus'
fs = require 'fs-plus'
path = require 'path'
crypto = require 'crypto'
Patch = require 'atom-patch'
{BufferOffsetIndex, Patch} = require 'superstring'
Point = require './point'
Range = require './range'
History = require './history'
Expand Down

0 comments on commit c7d1597

Please sign in to comment.