Skip to content

Commit

Permalink
build: latest depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Nov 20, 2024
1 parent 7335c6d commit 2effc9a
Show file tree
Hide file tree
Showing 32 changed files with 198 additions and 86 deletions.
2 changes: 1 addition & 1 deletion demo/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"csv-generate": "^4.4.1",
"csv-parse": "^5.5.6",
"csv-stringify": "^6.5.1",
"express": "^4.19.2",
"express": "^4.21.1",
"stream-transform": "^3.3.2"
}
}
6 changes: 3 additions & 3 deletions demo/cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"csv-stringify": "^6.5.1"
},
"devDependencies": {
"@types/node": "^22.5.0",
"@types/node": "^22.9.1",
"coffeescript": "^2.7.0",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"should": "^13.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
},
"mocha": {
"inline-diffs": true,
Expand Down
4 changes: 2 additions & 2 deletions demo/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"csv-stringify": "^6.5.1"
},
"devDependencies": {
"eslint": "^9.9.1",
"eslint": "^9.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1"
"eslint-plugin-import": "^2.31.0"
}
}
2 changes: 1 addition & 1 deletion demo/esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"coffeescript": "^2.7.0",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"should": "^13.2.3"
},
"mocha": {
Expand Down
2 changes: 1 addition & 1 deletion demo/issues-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"coffeescript": "^2.7.0",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"should": "^13.2.3"
},
"mocha": {
Expand Down
4 changes: 2 additions & 2 deletions demo/issues-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devDependencies": {
"coffeescript": "^2.7.0",
"dirname-filename-esm": "^1.1.2",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"should": "^13.2.3"
},
"mocha": {
Expand Down Expand Up @@ -38,6 +38,6 @@
"csv-stringify": "^6.5.1",
"dedent": "^1.5.3",
"desm": "^1.3.1",
"duckdb-async": "^1.1.1"
"duckdb-async": "^1.1.3"
}
}
2 changes: 1 addition & 1 deletion demo/ts-cjs-node16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"private": true,
"devDependencies": {
"typescript": "^5.5.4"
"typescript": "^5.6.3"
},
"scripts": {
"test": "tsc --noEmit"
Expand Down
6 changes: 3 additions & 3 deletions demo/ts-esm-node16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"stream-transform": "^3.3.2"
},
"devDependencies": {
"@types/node": "^22.5.0",
"@types/node": "^22.9.1",
"coffeescript": "^2.7.0",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"should": "^13.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
},
"mocha": {
"inline-diffs": true,
Expand Down
4 changes: 2 additions & 2 deletions demo/webpack-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"node-polyfill-webpack-plugin": "^4.0.0",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion demo/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"webpack": "^5.94.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"private": true,
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"cz-conventional-changelog": "^3.3.0",
"glob": "^11.0.0",
"husky": "^9.1.5",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9"
"husky": "^9.1.7",
"lerna": "^8.1.9",
"lint-staged": "^15.2.10"
},
"lint-staged": {
"*.js": "npm run lint:fix",
Expand Down
18 changes: 9 additions & 9 deletions packages/csv-generate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
"bugs": "https://github.com/adaltas/node-csv-generate/issues",
"author": "David Worms <[email protected]> (https://www.adaltas.com)",
"devDependencies": {
"@eslint/js": "^9.9.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/mocha": "^10.0.7",
"@types/node": "^22.5.0",
"@eslint/js": "^9.15.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/mocha": "^10.0.9",
"@types/node": "^22.9.1",
"coffeescript": "~2.7.0",
"each": "^2.7.0",
"eslint": "^9.9.1",
"each": "^2.7.2",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"mocha": "~10.7.3",
"mocha": "~10.8.2",
"prettier": "^3.3.3",
"rollup": "^4.21.0",
"rollup": "^4.27.3",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"should": "~13.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
},
"exports": {
".": {
Expand Down
20 changes: 10 additions & 10 deletions packages/csv-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@
}
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/mocha": "^10.0.7",
"@types/node": "^22.5.0",
"@eslint/js": "^9.15.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/mocha": "^10.0.9",
"@types/node": "^22.9.1",
"coffeescript": "^2.7.0",
"csv-generate": "^4.4.1",
"csv-spectrum": "^2.0.0",
"each": "^2.7.0",
"eslint": "^9.9.1",
"each": "^2.7.2",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"mocha": "^10.7.3",
"pad": "^3.2.0",
"mocha": "^10.8.2",
"pad": "^3.3.0",
"prettier": "^3.3.3",
"rollup": "^4.21.0",
"rollup": "^4.27.3",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"should": "^13.2.3",
"stream-transform": "^3.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
},
"files": [
"dist",
Expand Down
9 changes: 8 additions & 1 deletion packages/csv-stringify/dist/cjs/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,19 @@ const rePropName = RegExp(
);
const reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
const reIsPlainProp = /^\w*$/;

const getTag = function (value) {
return Object.prototype.toString.call(value);
};

const isSymbol = function (value) {
const type = typeof value;
return (
type === "symbol" ||
(type === "object" && value && getTag(value) === "[object Symbol]")
);
};

const isKey = function (value, object) {
if (Array.isArray(value)) {
return false;
Expand All @@ -80,6 +83,7 @@ const isKey = function (value, object) {
(object != null && value in Object(object))
);
};

const stringToPath = function (string) {
const result = [];
if (string.charCodeAt(0) === charCodeOfDot) {
Expand All @@ -96,19 +100,22 @@ const stringToPath = function (string) {
});
return result;
};

const castPath = function (value, object) {
if (Array.isArray(value)) {
return value;
} else {
return isKey(value, object) ? [value] : stringToPath(value);
}
};

const toKey = function (value) {
if (typeof value === "string" || isSymbol(value)) return value;
const result = `${value}`;
// eslint-disable-next-line
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
};

const get = function (object, path) {
path = castPath(path, object);
let index = 0;
Expand Down
9 changes: 8 additions & 1 deletion packages/csv-stringify/dist/cjs/sync.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ const rePropName = RegExp(
);
const reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
const reIsPlainProp = /^\w*$/;

const getTag = function (value) {
return Object.prototype.toString.call(value);
};

const isSymbol = function (value) {
const type = typeof value;
return (
type === "symbol" ||
(type === "object" && value && getTag(value) === "[object Symbol]")
);
};

const isKey = function (value, object) {
if (Array.isArray(value)) {
return false;
Expand All @@ -53,6 +56,7 @@ const isKey = function (value, object) {
(object != null && value in Object(object))
);
};

const stringToPath = function (string) {
const result = [];
if (string.charCodeAt(0) === charCodeOfDot) {
Expand All @@ -69,19 +73,22 @@ const stringToPath = function (string) {
});
return result;
};

const castPath = function (value, object) {
if (Array.isArray(value)) {
return value;
} else {
return isKey(value, object) ? [value] : stringToPath(value);
}
};

const toKey = function (value) {
if (typeof value === "string" || isSymbol(value)) return value;
const result = `${value}`;
// eslint-disable-next-line
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
};

const get = function (object, path) {
path = castPath(path, object);
let index = 0;
Expand Down
9 changes: 8 additions & 1 deletion packages/csv-stringify/dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5172,16 +5172,19 @@ const rePropName = RegExp(
);
const reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
const reIsPlainProp = /^\w*$/;

const getTag = function (value) {
return Object.prototype.toString.call(value);
};

const isSymbol = function (value) {
const type = typeof value;
return (
type === "symbol" ||
(type === "object" && value && getTag(value) === "[object Symbol]")
);
};

const isKey = function (value, object) {
if (Array.isArray(value)) {
return false;
Expand All @@ -5202,6 +5205,7 @@ const isKey = function (value, object) {
(object != null && value in Object(object))
);
};

const stringToPath = function (string) {
const result = [];
if (string.charCodeAt(0) === charCodeOfDot) {
Expand All @@ -5218,19 +5222,22 @@ const stringToPath = function (string) {
});
return result;
};

const castPath = function (value, object) {
if (Array.isArray(value)) {
return value;
} else {
return isKey(value, object) ? [value] : stringToPath(value);
}
};

const toKey = function (value) {
if (typeof value === "string" || isSymbol(value)) return value;
const result = `${value}`;
// eslint-disable-next-line
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
};

const get = function (object, path) {
path = castPath(path, object);
let index = 0;
Expand Down
Loading

0 comments on commit 2effc9a

Please sign in to comment.