@code-name-jack/ngx-linkifyjs 21.0.0 → 22.0.1

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.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://badge.fury.io/js/ngx-linkifyjs.svg)](https://badge.fury.io/js/ngx-linkifyjs)
4
4
  [![license](https://img.shields.io/github/license/anthonynahas/ngx-linkifyjs.svg?style=flat-square)](https://github.com/AnthonyNahas/ngx-linkifyjs/blob/master/LICENSE)
5
5
 
6
- > **Angular 20+ wrapper for linkifyjs** - Automatically find and convert URLs, emails, hashtags, and mentions in text to HTML links.
6
+ > **Angular 22+ wrapper for linkifyjs** - Automatically find and convert URLs, emails, hashtags, and mentions in text to HTML links.
7
7
 
8
8
  <p align="center">
9
9
  <img alt="ngx-linkifyjs demo" width="320px" style="text-align: center;"
@@ -17,7 +17,7 @@
17
17
  - #️⃣ **Hashtags** - Linkify hashtags for social media content
18
18
  - @ **Mentions** - Convert @mentions to links
19
19
  - 🎨 **Customizable** - Full control over link styling and behavior
20
- - 🚀 **Angular 20+** - Built for modern Angular with standalone-first architecture
20
+ - 🚀 **Angular 22+** - Built for modern Angular with standalone-first architecture
21
21
  - 📦 **Tree-shakeable** - Optimized bundle size
22
22
  - 🔧 **TypeScript** - Full type safety
23
23
 
@@ -18,10 +18,10 @@ class NgxLinkifyjsPipe {
18
18
  }
19
19
  return linkifyStr(value, options);
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
22
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsPipe, isStandalone: true, name: "linkify" }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
22
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsPipe, isStandalone: true, name: "linkify" }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsPipe, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsPipe, decorators: [{
25
25
  type: Pipe,
26
26
  args: [{
27
27
  name: 'linkify',
@@ -67,10 +67,10 @@ class NgxLinkifyjsService {
67
67
  }
68
68
  return value.every(v => linkify.test(v));
69
69
  }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
71
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsService, providedIn: 'root' }); }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
71
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsService, providedIn: 'root' }); }
72
72
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgxLinkifyjsService, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: NgxLinkifyjsService, decorators: [{
74
74
  type: Injectable,
75
75
  args: [{ providedIn: 'root' }]
76
76
  }] });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@code-name-jack/ngx-linkifyjs",
3
3
  "description": "Angular wrapper for linkifyjs(v4) - library for finding links in plain text and converting them to HTML &lt;a&gt; tags via linkifyjs",
4
- "version": "21.0.0",
4
+ "version": "22.0.1",
5
5
  "homepage": "https://github.com/code-name-jack/ngx-linkifyjs-v2",
6
6
  "author": {
7
7
  "name": "Code Name Jack",
@@ -33,14 +33,17 @@
33
33
  "engines": {
34
34
  "node": ">=22.0.0"
35
35
  },
36
+ "dependencies": {
37
+ "tslib": "^2.4.1"
38
+ },
36
39
  "peerDependencies": {
37
- "@angular/common": "^21.0.0",
38
- "@angular/core": "^21.0.0",
39
- "@schematics/angular": "^21.0.0",
40
- "linkify-plugin-hashtag": "^4.0.2",
41
- "linkify-plugin-mention": "^4.0.2",
42
- "linkify-string": "^4.0.2",
43
- "linkifyjs": "^4.0.2"
40
+ "@angular/common": "^22.0.0",
41
+ "@angular/core": "^22.0.0",
42
+ "@schematics/angular": "^22.0.0",
43
+ "linkify-plugin-hashtag": "^4.3.3",
44
+ "linkify-plugin-mention": "^4.3.3",
45
+ "linkify-string": "^4.3.3",
46
+ "linkifyjs": "^4.3.3"
44
47
  },
45
48
  "release-it": {
46
49
  "github": {
@@ -81,7 +84,5 @@
81
84
  }
82
85
  },
83
86
  "sideEffects": false,
84
- "dependencies": {
85
- "tslib": "^2.4.1"
86
- }
87
+ "type": "module"
87
88
  }
@@ -1,8 +1,5 @@
1
1
  import { Tree } from '@angular-devkit/schematics';
2
2
  import { NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies';
3
- /**
4
- * Simplified dependency helper for Angular 20
5
- */
6
3
  /**
7
4
  * Add a dependency to package.json
8
5
  */
@@ -4,9 +4,6 @@ exports.NodeDependencyType = void 0;
4
4
  exports.addPackageJsonDependency = addPackageJsonDependency;
5
5
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
6
6
  Object.defineProperty(exports, "NodeDependencyType", { enumerable: true, get: function () { return dependencies_1.NodeDependencyType; } });
7
- /**
8
- * Simplified dependency helper for Angular 20
9
- */
10
7
  /**
11
8
  * Add a dependency to package.json
12
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../../projects/ngx-linkifyjs-v2/schematics/helpers/dependencies.ts"],"names":[],"mappings":";;;AAcA,4DAKC;AAlBD,2EAIkD;AAgBzB,mGAjBvB,iCAAkB,OAiBuB;AAd3C;;GAEG;AAEH;;GAEG;AACH,SAAgB,wBAAwB,CACtC,IAAU,EACV,UAA0B;IAE1B,IAAA,uCAAa,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAClC,CAAC"}
1
+ {"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../../projects/ngx-linkifyjs-v2/schematics/helpers/dependencies.ts"],"names":[],"mappings":";;;AAUA,4DAKC;AAdD,2EAIkD;AAYzB,mGAbvB,iCAAkB,OAauB;AAV3C;;GAEG;AACH,SAAgB,wBAAwB,CACtC,IAAU,EACV,UAA0B;IAE1B,IAAA,uCAAa,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAClC,CAAC"}