Skip to content

Commit

Permalink
Merge pull request #29 from cb1kenobi/v6
Browse files Browse the repository at this point in the history
v6.0.0
  • Loading branch information
cb1kenobi committed Feb 24, 2021
2 parents 6c60da8 + ea9aac7 commit 7118b8c
Show file tree
Hide file tree
Showing 21 changed files with 410 additions and 5,106 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

10 changes: 2 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
"node": true
},
"extends": "eslint:recommended",
"globals": {
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"ecmaVersion": "2021",
"sourceType": "module"
},
"plugins": [
Expand All @@ -21,13 +16,12 @@
],
"root": true,
"rules": {
"array-bracket-spacing": [ 'warn', 'always' ],
"array-bracket-spacing": [ "warn", "always" ],
"brace-style": [ 2, "1tbs", { "allowSingleLine": true } ],
"camelcase": "off",
"chai-expect/missing-assertion": "error",
"chai-expect/terminating-properties": "warn",
"curly": [ "error", "all" ],
"no-debugger": "warn",
"eol-last": "error",
"indent": [ "error", "tab", { "SwitchCase": 1 } ],
"keyword-spacing": [ "error" ],
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
._*
.DS_Store*
.nyc_output
/coverage
/dist
/docs
coverage
node_modules
npm-debug.log
yarn-error.log
7 changes: 1 addition & 6 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
._*
.babelrc
.codeclimate.yml
.DS_Store
.eslintrc
.git*
.nyc_output
.travis.yml
appveyor.yml
benchmark
coverage
docs
gulpfile.js
node_modules
npm-debug.log
yarn.lock
yarn-error.log
src
test
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- "10"
- "12"
- "14"
os: linux
Expand All @@ -13,5 +12,3 @@ cache:
install: yarn
before_script: sh -c "git log | head -12"
script: yarn run coverage
after_success:
- coveralls < ./coverage/lcov.info
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v6.0.0 (Feb 24, 2021)

* BREAKING CHANGE: Changed package to a ES module.
* BREAKING CHANGE: Require Node.js 12 or newer.

# v5.0.0 (Nov 18, 2020)

* BREAKING CHANGE: Requires Node.js 10.13.0 or newer.
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![NPM Downloads][downloads-image]][downloads-url]
[![Travis CI Build][travis-image]][travis-url]
[![Appveyor CI Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]
[![Deps][david-image]][david-url]
[![Dev Deps][david-dev-image]][david-dev-url]

Expand Down Expand Up @@ -253,8 +252,6 @@ MIT
[downloads-url]: https://npmjs.org/package/gawk
[travis-image]: https://travis-ci.org/cb1kenobi/gawk.svg?branch=master
[travis-url]: https://travis-ci.org/cb1kenobi/gawk
[coveralls-image]: https://img.shields.io/coveralls/cb1kenobi/gawk/master.svg
[coveralls-url]: https://coveralls.io/r/cb1kenobi/gawk
[appveyor-image]: https://ci.appveyor.com/api/projects/status/1ee7r1drlswy5jk6?svg=true
[appveyor-url]: https://ci.appveyor.com/project/cb1kenobi/gawk
[david-image]: https://img.shields.io/david/cb1kenobi/gawk.svg
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ environment:
# node.js
- nodejs_version: "14"
- nodejs_version: "12"
- nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
2 changes: 1 addition & 1 deletion benchmark/memory.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const gawk = require('../dist/index').gawk;
import gawk from '../src/index.js';

const before = process.memoryUsage();
console.log(before);
Expand Down
2 changes: 1 addition & 1 deletion benchmark/notifications.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const gawk = require('../dist/index').gawk;
import gawk from '../src/index.js';

const gobj = gawk({
foo: {
Expand Down
192 changes: 0 additions & 192 deletions gulpfile.js

This file was deleted.

51 changes: 15 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "gawk",
"version": "5.0.0",
"version": "6.0.0",
"description": "Observable JavaScript object model",
"main": "./dist/index.js",
"type": "module",
"exports": "./src/index.js",
"author": "Chris Barber <[email protected]> (https://github.com/cb1kenobi)",
"license": "MIT",
"keywords": [
Expand All @@ -16,52 +17,30 @@
"model"
],
"scripts": {
"build": "gulp build",
"coverage": "gulp coverage",
"docs": "gulp docs",
"prepare": "gulp build",
"test": "gulp test"
"coverage": "c8 npm run test",
"lint": "eslint src test",
"prepack": "npm run lint",
"test": "npm run lint && mocha test/**/test-*.js --require test/setup.js --reporter spec"
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"source-map-support": "^0.5.19"
"fast-deep-equal": "^3.1.3"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/register": "^7.12.1",
"ansi-colors": "^4.1.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.1",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^7.13.0",
"c8": "^7.6.0",
"chai": "^4.3.0",
"eslint": "^7.20.0",
"eslint-plugin-chai-expect": "^2.2.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-security": "^1.4.0",
"fancy-log": "^1.3.3",
"fs-extra": "^9.0.1",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-debug": "^4.0.0",
"gulp-eslint": "^6.0.0",
"gulp-load-plugins": "^2.0.5",
"gulp-plumber": "^1.2.1",
"gulp-sourcemaps": "^3.0.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"sinon": "^9.2.1",
"mocha": "^8.3.0",
"sinon": "^9.2.4",
"sinon-chai": "^3.5.0"
},
"homepage": "https://github.com/cb1kenobi/gawk",
"bugs": "https://github.com/cb1kenobi/gawk/issues",
"repository": "https://github.com/cb1kenobi/gawk",
"engines": {
"node": ">=10.13.0"
"node": ">=12"
}
}
Loading

0 comments on commit 7118b8c

Please sign in to comment.