Skip to content

Commit

Permalink
Chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott authored and not-an-aardvark committed Oct 1, 2018
1 parent bfe459c commit 1ec94c8
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 223 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@
},
"homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",
"dependencies": {
"fast-diff": "^1.1.1"
"fast-diff": "^1.1.2"
},
"peerDependencies": {
"prettier": ">= 1.13.0"
},
"devDependencies": {
"@not-an-aardvark/node-release-script": "^0.1.0",
"eslint": "^5.6.0",
"eslint-config-not-an-aardvark": "^2.0.0",
"eslint-config-prettier": "^1.3.0",
"eslint-plugin-eslint-plugin": "^0.7.1",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-self": "^1.0.1",
"mocha": "^3.1.2",
"eslint-config-not-an-aardvark": "^2.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-eslint-plugin": "^1.4.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-self": "^1.1.0",
"mocha": "^5.2.0",
"prettier": "^1.13.0",
"vue-eslint-parser": "^2.0.2"
"vue-eslint-parser": "^2.0.3"
},
"engines": {
"node": ">=6.0.0"
Expand Down
8 changes: 4 additions & 4 deletions test/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ vueRuleTester.run('prettier', rule, {

describe('showInvisibles', () => {
it('shows invisibles', () => {
assert.equal(
assert.strictEqual(
eslintPluginPrettier.showInvisibles('1 2\n3\t4\r5'),
'1·2⏎3↹4␍5'
);
Expand All @@ -127,7 +127,7 @@ describe('generateDifferences', () => {
'abc',
'abcdef'
);
assert.deepEqual(differences, [
assert.deepStrictEqual(differences, [
{ operation: 'insert', offset: 3, insertText: 'def' }
]);
});
Expand All @@ -136,13 +136,13 @@ describe('generateDifferences', () => {
'abcdef',
'abc'
);
assert.deepEqual(differences, [
assert.deepStrictEqual(differences, [
{ operation: 'delete', offset: 3, deleteText: 'def' }
]);
});
it('operation: replace', () => {
const differences = eslintPluginPrettier.generateDifferences('abc', 'def');
assert.deepEqual(differences, [
assert.deepStrictEqual(differences, [
{ operation: 'replace', offset: 0, deleteText: 'abc', insertText: 'def' }
]);
});
Expand Down
Loading

0 comments on commit 1ec94c8

Please sign in to comment.