Comparing version 2.0.7 to 2.0.8
@@ -0,1 +1,7 @@ | ||
## [2.0.8](https://github.com/GMOD/bed-js/compare/v2.0.7...v2.0.8) (2022-03-30) | ||
- Publish src directory for better source maps | ||
## [2.0.7](https://github.com/GMOD/bed-js/compare/v2.0.6...v2.0.7) (2022-03-07) | ||
@@ -2,0 +8,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@gmod/bed", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "A BED file format parser with autoSql support", | ||
@@ -20,3 +20,4 @@ "main": "dist/index.js", | ||
"dist", | ||
"esm" | ||
"esm", | ||
"src" | ||
], | ||
@@ -44,3 +45,3 @@ "engines": { | ||
"@typescript-eslint/parser": "^5.7.0", | ||
"eslint": "^7.0.0", | ||
"eslint": "^8.10.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
@@ -47,0 +48,0 @@ "eslint-plugin-import": "^2.25.3", |
@@ -15,2 +15,7 @@ # bed-js | ||
```js | ||
import BED from '@gmod/bed' | ||
// you might require compatibility with node.js to use the default export with require e.g. | ||
// const BED = require('@gmod/bed').default | ||
var parser = new BED() | ||
@@ -17,0 +22,0 @@ var text = fs.readFileSync('file.txt', 'utf8') |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
345768
46
5397
148
0