Skip to content

Commit

Permalink
chore: remove date-fns (#250)
Browse files Browse the repository at this point in the history
date-fns is 16 megs and seems unused to me, so remove it.
  • Loading branch information
tkurki authored Sep 25, 2023
1 parent 0501128 commit 920c6fd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/fromPgn.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const BitStream = require('bit-buffer').BitStream
const BitView = require('bit-buffer').BitView
const Int64LE = require('int64-buffer').Int64LE
const Uint64LE = require('int64-buffer').Uint64LE
const { parse: parseDate } = require('date-fns')

const { getPGNFromCanId } = require('./utilities')
const { getIndustryName, getManufacturerName } = require('./codes')
Expand Down
1 change: 0 additions & 1 deletion lib/stringMsg.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const {
const {
buildCanId, encodeCanIdString, parseCanId, parseCanIdStr,
} = require('./canId')
const { parse: parseDate } = require('date-fns')

/**
* Helper function that helps merge canId fields with format, data, and others.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"dependencies": {
"@canboat/pgns": "3.x.x",
"bit-buffer": "0.2.3",
"date-fns": "2.0.0-alpha.27",
"debug": "^4.3.4",
"dnssd": "^0.4.1",
"int64-buffer": "^0.1.10",
Expand Down

0 comments on commit 920c6fd

Please sign in to comment.