cdk-common 2.0.751 → 2.0.753

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "diff",
3
- "version": "5.1.0",
4
- "description": "A javascript text diff implementation.",
3
+ "version": "5.2.0",
4
+ "description": "A JavaScript text diff implementation.",
5
5
  "keywords": [
6
6
  "diff",
7
7
  "jsdiff",
@@ -13,7 +13,8 @@
13
13
  "javascript"
14
14
  ],
15
15
  "maintainers": [
16
- "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)"
16
+ "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)",
17
+ "Mark Amery <markrobertamery+jsdiff@gmail.com>"
17
18
  ],
18
19
  "bugs": {
19
20
  "email": "kpdecker@gmail.com",
@@ -37,7 +38,8 @@
37
38
  "require": "./lib/index.js"
38
39
  },
39
40
  "./package.json": "./package.json",
40
- "./": "./"
41
+ "./": "./",
42
+ "./*": "./*"
41
43
  },
42
44
  "scripts": {
43
45
  "clean": "rm -rf lib/ dist/",
@@ -50,10 +52,10 @@
50
52
  "@babel/plugin-transform-modules-commonjs": "^7.2.0",
51
53
  "@babel/preset-env": "^7.2.3",
52
54
  "@babel/register": "^7.0.0",
55
+ "@colors/colors": "^1.3.3",
53
56
  "babel-eslint": "^10.0.1",
54
57
  "babel-loader": "^8.0.5",
55
58
  "chai": "^4.2.0",
56
- "colors": "^1.3.3",
57
59
  "eslint": "^5.12.0",
58
60
  "grunt": "^1.0.3",
59
61
  "grunt-babel": "^8.0.0",
@@ -69,7 +71,7 @@
69
71
  "grunt-mocha-test": "^0.13.3",
70
72
  "grunt-webpack": "^3.1.3",
71
73
  "istanbul": "github:kpdecker/istanbul",
72
- "karma": "^5.1.1",
74
+ "karma": "^6.3.16",
73
75
  "karma-chrome-launcher": "^3.1.0",
74
76
  "karma-mocha": "^2.0.1",
75
77
  "karma-mocha-reporter": "^2.0.0",
@@ -1,14 +1,22 @@
1
1
  # Release Notes
2
2
 
3
- ## Development
3
+ ## v5.2.0
4
4
 
5
- [Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...master)
5
+ [Commits](https://github.com/kpdecker/jsdiff/compare/v5.1.0...master)
6
+
7
+ - [#411](https://github.com/kpdecker/jsdiff/pull/411) Big performance improvement. Previously an O(n) array-copying operation inside the innermost loop of jsdiff's base diffing code increased the overall worst-case time complexity of computing a diff from O(n²) to O(n³). This is now fixed, bringing the worst-case time complexity down to what it theoretically should be for a Myers diff implementation.
8
+ - [#448](https://github.com/kpdecker/jsdiff/pull/411) Performance improvement. Diagonals whose furthest-reaching D-path would go off the edge of the edit graph are now skipped, rather than being pointlessly considered as called for by the original Myers diff algorithm. This dramatically speeds up computing diffs where the new text just appends or truncates content at the end of the old text.
9
+ - [#351](https://github.com/kpdecker/jsdiff/issues/351) Importing from the lib folder - e.g. `require("diff/lib/diff/word.js")` - will work again now. This had been broken for users on the latest version of Node since Node 17.5.0, which changed how Node interprets the `exports` property in jsdiff's `package.json` file.
10
+ - [#344](https://github.com/kpdecker/jsdiff/issues/344) `diffLines`, `createTwoFilesPatch`, and other patch-creation methods now take an optional `stripTrailingCr: true` option which causes Windows-style `\r\n` line endings to be replaced with Unix-style `\n` line endings before calculating the diff, just like GNU `diff`'s `--strip-trailing-cr` flag.
11
+ - [#451](https://github.com/kpdecker/jsdiff/pull/451) Added `diff.formatPatch`.
12
+ - [#450](https://github.com/kpdecker/jsdiff/pull/450) Added `diff.reversePatch`.
13
+ - [#478](https://github.com/kpdecker/jsdiff/pull/478) Added `timeout` option.
6
14
 
7
15
  ## v5.1.0
8
16
 
9
17
  - [#365](https://github.com/kpdecker/jsdiff/issues/365) Allow early termination to limit execution time with degenerate cases
10
18
 
11
- [Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...v5.0.1)
19
+ [Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...v5.1.0)
12
20
 
13
21
  ## v5.0.0
14
22
 
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v2.0.1](https://github.com/inspect-js/hasOwn/compare/v2.0.0...v2.0.1) - 2024-02-10
9
+
10
+ ### Commits
11
+
12
+ - [types] use a handwritten d.ts file; fix exported type [`012b989`](https://github.com/inspect-js/hasOwn/commit/012b9898ccf91dc441e2ebf594ff70270a5fda58)
13
+ - [Dev Deps] update `@types/function-bind`, `@types/mock-property`, `@types/tape`, `aud`, `mock-property`, `npmignore`, `tape`, `typescript` [`977a56f`](https://github.com/inspect-js/hasOwn/commit/977a56f51a1f8b20566f3c471612137894644025)
14
+ - [meta] add `sideEffects` flag [`3a60b7b`](https://github.com/inspect-js/hasOwn/commit/3a60b7bf42fccd8c605e5f145a6fcc83b13cb46f)
15
+
8
16
  ## [v2.0.0](https://github.com/inspect-js/hasOwn/compare/v1.0.1...v2.0.0) - 2023-10-19
9
17
 
10
18
  ### Commits
@@ -1,3 +1,3 @@
1
- declare const _exports: (o: {}, p: PropertyKey) => p is never;
2
- export = _exports;
3
- //# sourceMappingURL=index.d.ts.map
1
+ declare function hasOwn<T extends {} = {}>(o: T, p: PropertyKey): p is keyof T;
2
+
3
+ export = hasOwn;
@@ -4,5 +4,5 @@ var call = Function.prototype.call;
4
4
  var $hasOwn = Object.prototype.hasOwnProperty;
5
5
  var bind = require('function-bind');
6
6
 
7
- /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
7
+ /** @type {import('.')} */
8
8
  module.exports = bind.call(call, $hasOwn);
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "hasown",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A robust, ES3 compatible, \"has own property\" predicate.",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",
8
8
  "./package.json": "./package.json"
9
9
  },
10
+ "types": "index.d.ts",
11
+ "sideEffects": false,
10
12
  "scripts": {
11
- "prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types",
13
+ "prepack": "npmignore --auto --commentLines=autogenerated",
12
14
  "prepublish": "not-in-publish || npm run prepublishOnly",
13
15
  "prepublishOnly": "safe-publish-latest",
14
16
  "prelint": "evalmd README.md",
15
17
  "lint": "eslint --ext=js,mjs .",
16
18
  "postlint": "npm run tsc",
17
- "preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
18
- "emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly",
19
19
  "pretest": "npm run lint",
20
20
  "tsc": "tsc -p .",
21
21
  "tests-only": "nyc tape 'test/**/*.js'",
@@ -51,20 +51,20 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@ljharb/eslint-config": "^21.1.0",
54
- "@types/function-bind": "^1.1.9",
55
- "@types/mock-property": "^1.0.1",
56
- "@types/tape": "^5.6.3",
57
- "aud": "^2.0.3",
54
+ "@types/function-bind": "^1.1.10",
55
+ "@types/mock-property": "^1.0.2",
56
+ "@types/tape": "^5.6.4",
57
+ "aud": "^2.0.4",
58
58
  "auto-changelog": "^2.4.0",
59
59
  "eslint": "=8.8.0",
60
60
  "evalmd": "^0.0.19",
61
61
  "in-publish": "^2.0.1",
62
- "mock-property": "^1.0.2",
63
- "npmignore": "^0.3.0",
62
+ "mock-property": "^1.0.3",
63
+ "npmignore": "^0.3.1",
64
64
  "nyc": "^10.3.2",
65
65
  "safe-publish-latest": "^2.0.0",
66
- "tape": "^5.7.1",
67
- "typescript": "^5.3.0-dev.20231019"
66
+ "tape": "^5.7.4",
67
+ "typescript": "next"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">= 0.4"
@@ -83,9 +83,7 @@
83
83
  "publishConfig": {
84
84
  "ignore": [
85
85
  ".github/workflows",
86
- "test",
87
- "!*.d.ts",
88
- "!*.d.ts.map"
86
+ "test"
89
87
  ]
90
88
  }
91
89
  }
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "jsii-docgen": "^3.8.31",
54
54
  "jsii-pacmak": "^1.94.0",
55
55
  "jsii-rosetta": "5.3.x",
56
- "projen": "0.79.16",
56
+ "projen": "0.79.17",
57
57
  "standard-version": "^9",
58
58
  "ts-jest": "^27",
59
59
  "typescript": "^5"
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "main": "lib/index.js",
86
86
  "license": "Apache-2.0",
87
- "version": "2.0.751",
87
+ "version": "2.0.753",
88
88
  "jest": {
89
89
  "testMatch": [
90
90
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"8BAqBiB,OAAO,WAAW,EAAE,OAAO,CAAC,YAAY,WAAW,SAAS,OAAO,kBAAkB,OAAO,GAAG,IAAI,gBAAgB,OAAO,GAAG,IAAI,oBAAoB,OAAO,GAAG,IAAI,UAAU,OAAO,KAAK,IAAI"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"4BAMe,EAAE,KAAK,WAAW"}