worksafe-component-library
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -13,1 +13,17 @@ # Code Style Decisions | ||
- No trailing semicolons | ||
## Linting | ||
Keep the code clean. Just use smart defaults. Don’t bike shed. Can adjust if we really need to. Nuxt includes ESLint out of the box. | ||
### How to lint | ||
- `npm run lint` Check the whole codebase at once | ||
- `git commit` Any JS or Vue files staged for commit will be linted. Commit is refused if files don't pass ESLint. | ||
### Issues | ||
If `npm run lint` doesn't run on a `git commit`, the precommit script isn’t working. Make sure to run `chmod +x .git/hooks/pre-commit`. | ||
[h/t @shettyrahul8june](https://medium.com/@shettyrahul8june/how-to-run-eslint-using-pre-commit-hook-25984fbce17e) | ||
[Precommit script](https://gist.github.com/rashtay/328da46a99a9d7c746636df1cf769675) |
# Changelog | ||
- v0.1.4 12 Feb 2018 | ||
- Add ESLint | ||
- v0.1.3 | ||
@@ -4,0 +6,0 @@ - InstructionalContent - fix javascript error |
{ | ||
"name": "worksafe-component-library", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A Vue.js component library for use in WorkSafe family websites", | ||
@@ -10,3 +10,4 @@ "main": "./src/index.js", | ||
"dev": "npm start", | ||
"build": "build-storybook -c .storybook -o dist" | ||
"build": "build-storybook -c .storybook -o dist", | ||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ." | ||
}, | ||
@@ -30,2 +31,3 @@ "contributors": [ | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-loader": "^7.1.2", | ||
@@ -35,2 +37,9 @@ "babel-preset-env": "^1.6.1", | ||
"css-loader": "^0.28.8", | ||
"eslint": "^4.17.0", | ||
"eslint-config-standard": "^11.0.0-beta.0", | ||
"eslint-plugin-html": "^4.0.2", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-node": "^6.0.0", | ||
"eslint-plugin-promise": "^3.6.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"file-loader": "^1.1.6", | ||
@@ -37,0 +46,0 @@ "html-loader": "^0.5.4", |
@@ -1,186 +0,184 @@ | ||
import Vue from 'vue'; | ||
import { storiesOf } from '@storybook/vue' | ||
import { withReadme } from 'storybook-readme' | ||
import { storiesOf } from '@storybook/vue'; | ||
import { withReadme } from 'storybook-readme'; | ||
import PageContent from './index.vue' | ||
import readme from './README.md' | ||
import PageContent from './index.vue'; | ||
import readme from './README.md'; | ||
const content = [ | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/content/a41bdfa4-9979-4aa3-92f5-3c82d7f8c018" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/content/a41bdfa4-9979-4aa3-92f5-3c82d7f8c018' | ||
}, | ||
"id": "a41bdfa4-9979-4aa3-92f5-3c82d7f8c018", | ||
"uuid": "a41bdfa4-9979-4aa3-92f5-3c82d7f8c018", | ||
"revision_id": 681, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596134, | ||
"parent_id": "301", | ||
"parent_type": "node", | ||
"parent_field_name": "field_content", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_body": { | ||
"value": "<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\"#\">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>\r\n\r\n<h2>Header Level 2</h2>\r\n\r\n<ol>\r\n <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>\r\n <li>Aliquam tincidunt mauris eu risus.</li>\r\n</ol>\r\n\r\n<blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote>\r\n\r\n<h3>Header Level 3</h3>\r\n\r\n<ul>\r\n <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>\r\n <li>Aliquam tincidunt mauris eu risus.</li>\r\n</ul>\r\n\r\n<pre><code>\r\n#header h1 a {\r\n display: block;\r\n width: 300px;\r\n height: 80px;\r\n}\r\n</code></pre>", | ||
"format": "rich_text" | ||
'id': 'a41bdfa4-9979-4aa3-92f5-3c82d7f8c018', | ||
'uuid': 'a41bdfa4-9979-4aa3-92f5-3c82d7f8c018', | ||
'revision_id': 681, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596134, | ||
'parent_id': '301', | ||
'parent_type': 'node', | ||
'parent_field_name': 'field_content', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_body': { | ||
'value': '<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\'#\'>Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>\r\n\r\n<h2>Header Level 2</h2>\r\n\r\n<ol>\r\n <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>\r\n <li>Aliquam tincidunt mauris eu risus.</li>\r\n</ol>\r\n\r\n<blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote>\r\n\r\n<h3>Header Level 3</h3>\r\n\r\n<ul>\r\n <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>\r\n <li>Aliquam tincidunt mauris eu risus.</li>\r\n</ul>\r\n\r\n<pre><code>\r\n#header h1 a {\r\n display: block;\r\n width: 300px;\r\n height: 80px;\r\n}\r\n</code></pre>', | ||
'format': 'rich_text' | ||
}, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "cd3467fe-d2b7-491b-87cd-de58a09171df" | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': 'cd3467fe-d2b7-491b-87cd-de58a09171df' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
}, | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/video/cc9a512a-9b03-4c91-a33e-c5fd56b63818" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/video/cc9a512a-9b03-4c91-a33e-c5fd56b63818' | ||
}, | ||
"id": "cc9a512a-9b03-4c91-a33e-c5fd56b63818", | ||
"uuid": "cc9a512a-9b03-4c91-a33e-c5fd56b63818", | ||
"revision_id": 686, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596134, | ||
"parent_id": "301", | ||
"parent_type": "node", | ||
"parent_field_name": "field_content", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_video_subtitle": "TEST VIDEO", | ||
"field_video_url": { | ||
"input": "https://www.youtube.com/watch?v=1cYjvrWnTTI", | ||
"video_id": "1cYjvrWnTTI" | ||
'id': 'cc9a512a-9b03-4c91-a33e-c5fd56b63818', | ||
'uuid': 'cc9a512a-9b03-4c91-a33e-c5fd56b63818', | ||
'revision_id': 686, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596134, | ||
'parent_id': '301', | ||
'parent_type': 'node', | ||
'parent_field_name': 'field_content', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_video_subtitle': 'TEST VIDEO', | ||
'field_video_url': { | ||
'input': 'https://www.youtube.com/watch?v=1cYjvrWnTTI', | ||
'video_id': '1cYjvrWnTTI' | ||
}, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "4bcedda9-2659-492d-ba46-f23137bb9561" | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '4bcedda9-2659-492d-ba46-f23137bb9561' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
}, | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs/34344cd4-6997-41a4-b20b-6663de8a5415" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs/34344cd4-6997-41a4-b20b-6663de8a5415' | ||
}, | ||
"id": "34344cd4-6997-41a4-b20b-6663de8a5415", | ||
"uuid": "34344cd4-6997-41a4-b20b-6663de8a5415", | ||
"revision_id": 701, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596139, | ||
"parent_id": "301", | ||
"parent_type": "node", | ||
"parent_field_name": "field_content", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": true, | ||
"field_instructs_body": { | ||
"value": "<p>TEST INSTRCTUION OVERVIEW</p>\r\n", | ||
"format": "rich_text" | ||
'id': '34344cd4-6997-41a4-b20b-6663de8a5415', | ||
'uuid': '34344cd4-6997-41a4-b20b-6663de8a5415', | ||
'revision_id': 701, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596139, | ||
'parent_id': '301', | ||
'parent_type': 'node', | ||
'parent_field_name': 'field_content', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': true, | ||
'field_instructs_body': { | ||
'value': '<p>TEST INSTRCTUION OVERVIEW</p>\r\n', | ||
'format': 'rich_text' | ||
}, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "7e0fc17a-18f7-4830-ad7e-e54002d88b02" | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '7e0fc17a-18f7-4830-ad7e-e54002d88b02' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"field_instructs_item": [ | ||
'field_instructs_item': [ | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs_item/c822a92b-71b4-4fb3-841d-8daf4fdc2b59" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs_item/c822a92b-71b4-4fb3-841d-8daf4fdc2b59' | ||
}, | ||
"id": "c822a92b-71b4-4fb3-841d-8daf4fdc2b59", | ||
"uuid": "c822a92b-71b4-4fb3-841d-8daf4fdc2b59", | ||
"revision_id": 691, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596139, | ||
"parent_id": "356", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_instructs_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_body": { | ||
"value": "<p>TEST INSTRCTUION A BODY</p>\r\n", | ||
"format": "rich_text" | ||
'id': 'c822a92b-71b4-4fb3-841d-8daf4fdc2b59', | ||
'uuid': 'c822a92b-71b4-4fb3-841d-8daf4fdc2b59', | ||
'revision_id': 691, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596139, | ||
'parent_id': '356', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_instructs_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_body': { | ||
'value': '<p>TEST INSTRCTUION A BODY</p>\r\n', | ||
'format': 'rich_text' | ||
}, | ||
"field_link": { | ||
"uri": "http://google.com", | ||
"title": "", | ||
"options": [] | ||
'field_link': { | ||
'uri': 'http://google.com', | ||
'title': '', | ||
'options': [] | ||
}, | ||
"field_title": "TEST INSTRCTUION A TITLE", | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "1094f125-d4cb-48d7-af1d-459cd58a2313" | ||
'field_title': 'TEST INSTRCTUION A TITLE', | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '1094f125-d4cb-48d7-af1d-459cd58a2313' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
}, | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs_item/8fb557d2-b2b8-4916-a248-9952e5152192" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/instructs_item/8fb557d2-b2b8-4916-a248-9952e5152192' | ||
}, | ||
"id": "8fb557d2-b2b8-4916-a248-9952e5152192", | ||
"uuid": "8fb557d2-b2b8-4916-a248-9952e5152192", | ||
"revision_id": 696, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596164, | ||
"parent_id": "356", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_instructs_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_body": { | ||
"value": "<p>TEST INSTRCTUION B TITLE</p>\r\n", | ||
"format": "rich_text" | ||
'id': '8fb557d2-b2b8-4916-a248-9952e5152192', | ||
'uuid': '8fb557d2-b2b8-4916-a248-9952e5152192', | ||
'revision_id': 696, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596164, | ||
'parent_id': '356', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_instructs_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_body': { | ||
'value': '<p>TEST INSTRCTUION B TITLE</p>\r\n', | ||
'format': 'rich_text' | ||
}, | ||
"field_link": { | ||
"uri": "http://yahoo.com", | ||
"title": "", | ||
"options": [] | ||
'field_link': { | ||
'uri': 'http://yahoo.com', | ||
'title': '', | ||
'options': [] | ||
}, | ||
"field_title": "TEST INSTRCTUION B TITLE", | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "1094f125-d4cb-48d7-af1d-459cd58a2313" | ||
'field_title': 'TEST INSTRCTUION B TITLE', | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '1094f125-d4cb-48d7-af1d-459cd58a2313' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
@@ -191,99 +189,99 @@ } | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links/ad44462e-1552-45ad-ba05-56a5233eec85" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links/ad44462e-1552-45ad-ba05-56a5233eec85' | ||
}, | ||
"id": "ad44462e-1552-45ad-ba05-56a5233eec85", | ||
"uuid": "ad44462e-1552-45ad-ba05-56a5233eec85", | ||
"revision_id": 716, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596177, | ||
"parent_id": "301", | ||
"parent_type": "node", | ||
"parent_field_name": "field_content", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": true, | ||
"field_links_title": "TEST LINKS LIST", | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "f13a1b57-f50d-437b-a12f-2612fee5c054" | ||
'id': 'ad44462e-1552-45ad-ba05-56a5233eec85', | ||
'uuid': 'ad44462e-1552-45ad-ba05-56a5233eec85', | ||
'revision_id': 716, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596177, | ||
'parent_id': '301', | ||
'parent_type': 'node', | ||
'parent_field_name': 'field_content', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': true, | ||
'field_links_title': 'TEST LINKS LIST', | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': 'f13a1b57-f50d-437b-a12f-2612fee5c054' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"field_links_item": [ | ||
'field_links_item': [ | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links_item/0263514e-b88f-439e-a251-58ca1eb1aa40" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links_item/0263514e-b88f-439e-a251-58ca1eb1aa40' | ||
}, | ||
"id": "0263514e-b88f-439e-a251-58ca1eb1aa40", | ||
"uuid": "0263514e-b88f-439e-a251-58ca1eb1aa40", | ||
"revision_id": 706, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596177, | ||
"parent_id": "371", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_links_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": true, | ||
"field_link": { | ||
"uri": "http://google.com", | ||
"title": "LINK A", | ||
"options": [] | ||
'id': '0263514e-b88f-439e-a251-58ca1eb1aa40', | ||
'uuid': '0263514e-b88f-439e-a251-58ca1eb1aa40', | ||
'revision_id': 706, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596177, | ||
'parent_id': '371', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_links_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': true, | ||
'field_link': { | ||
'uri': 'http://google.com', | ||
'title': 'LINK A', | ||
'options': [] | ||
}, | ||
"field_title": null, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "852b8e21-859a-4f9f-b6ac-50eec2336767" | ||
'field_title': null, | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '852b8e21-859a-4f9f-b6ac-50eec2336767' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
}, | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links_item/b306639d-d4b4-4b20-bf68-4936fd0b4989" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/links_item/b306639d-d4b4-4b20-bf68-4936fd0b4989' | ||
}, | ||
"id": "b306639d-d4b4-4b20-bf68-4936fd0b4989", | ||
"uuid": "b306639d-d4b4-4b20-bf68-4936fd0b4989", | ||
"revision_id": 711, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596190, | ||
"parent_id": "371", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_links_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": true, | ||
"field_link": { | ||
"uri": "http://yahoo.com", | ||
"title": "LINK B", | ||
"options": [] | ||
'id': 'b306639d-d4b4-4b20-bf68-4936fd0b4989', | ||
'uuid': 'b306639d-d4b4-4b20-bf68-4936fd0b4989', | ||
'revision_id': 711, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596190, | ||
'parent_id': '371', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_links_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': true, | ||
'field_link': { | ||
'uri': 'http://yahoo.com', | ||
'title': 'LINK B', | ||
'options': [] | ||
}, | ||
"field_title": null, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "852b8e21-859a-4f9f-b6ac-50eec2336767" | ||
'field_title': null, | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '852b8e21-859a-4f9f-b6ac-50eec2336767' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
@@ -294,97 +292,97 @@ } | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks/4c85c863-f788-4d33-a82e-ead897f30d1d" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks/4c85c863-f788-4d33-a82e-ead897f30d1d' | ||
}, | ||
"id": "4c85c863-f788-4d33-a82e-ead897f30d1d", | ||
"uuid": "4c85c863-f788-4d33-a82e-ead897f30d1d", | ||
"revision_id": 731, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596200, | ||
"parent_id": "301", | ||
"parent_type": "node", | ||
"parent_field_name": "field_content", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": true, | ||
"field_tasks_title": "TEST TASKS", | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "5f110285-5b16-4aec-9a82-4a3acb850916" | ||
'id': '4c85c863-f788-4d33-a82e-ead897f30d1d', | ||
'uuid': '4c85c863-f788-4d33-a82e-ead897f30d1d', | ||
'revision_id': 731, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596200, | ||
'parent_id': '301', | ||
'parent_type': 'node', | ||
'parent_field_name': 'field_content', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': true, | ||
'field_tasks_title': 'TEST TASKS', | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '5f110285-5b16-4aec-9a82-4a3acb850916' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"field_tasks_item": [ | ||
'field_tasks_item': [ | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks_item/efaab09e-6dc3-4af6-969c-a6d9b190cf81" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks_item/efaab09e-6dc3-4af6-969c-a6d9b190cf81' | ||
}, | ||
"id": "efaab09e-6dc3-4af6-969c-a6d9b190cf81", | ||
"uuid": "efaab09e-6dc3-4af6-969c-a6d9b190cf81", | ||
"revision_id": 721, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596200, | ||
"parent_id": "386", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_tasks_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_link": { | ||
"uri": "http://google.com", | ||
"title": "An task", | ||
"options": [] | ||
'id': 'efaab09e-6dc3-4af6-969c-a6d9b190cf81', | ||
'uuid': 'efaab09e-6dc3-4af6-969c-a6d9b190cf81', | ||
'revision_id': 721, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596200, | ||
'parent_id': '386', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_tasks_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_link': { | ||
'uri': 'http://google.com', | ||
'title': 'An task', | ||
'options': [] | ||
}, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "64d5f4b7-7edf-43c3-892b-b219e0d402db" | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '64d5f4b7-7edf-43c3-892b-b219e0d402db' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
}, | ||
{ | ||
"links": { | ||
"self": "http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks_item/2761ba91-3e5d-4d08-a806-a44962433f7f" | ||
'links': { | ||
'self': 'http://worksafestg.prod.acquia-sites.com/jsonapi/paragraph/tasks_item/2761ba91-3e5d-4d08-a806-a44962433f7f' | ||
}, | ||
"id": "2761ba91-3e5d-4d08-a806-a44962433f7f", | ||
"uuid": "2761ba91-3e5d-4d08-a806-a44962433f7f", | ||
"revision_id": 726, | ||
"langcode": "en", | ||
"status": true, | ||
"created": 1516596211, | ||
"parent_id": "386", | ||
"parent_type": "paragraph", | ||
"parent_field_name": "field_tasks_item", | ||
"behavior_settings": "a:0:{}", | ||
"default_langcode": true, | ||
"revision_translation_affected": null, | ||
"field_link": { | ||
"uri": "http://yahoo.com", | ||
"title": "Do the needful", | ||
"options": [] | ||
'id': '2761ba91-3e5d-4d08-a806-a44962433f7f', | ||
'uuid': '2761ba91-3e5d-4d08-a806-a44962433f7f', | ||
'revision_id': 726, | ||
'langcode': 'en', | ||
'status': true, | ||
'created': 1516596211, | ||
'parent_id': '386', | ||
'parent_type': 'paragraph', | ||
'parent_field_name': 'field_tasks_item', | ||
'behavior_settings': 'a:0:{}', | ||
'default_langcode': true, | ||
'revision_translation_affected': null, | ||
'field_link': { | ||
'uri': 'http://yahoo.com', | ||
'title': 'Do the needful', | ||
'options': [] | ||
}, | ||
"type": { | ||
"type": "paragraphs_type--paragraphs_type", | ||
"id": "64d5f4b7-7edf-43c3-892b-b219e0d402db" | ||
'type': { | ||
'type': 'paragraphs_type--paragraphs_type', | ||
'id': '64d5f4b7-7edf-43c3-892b-b219e0d402db' | ||
}, | ||
"uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
}, | ||
"revision_uid": { | ||
"type": "user--user", | ||
"id": "ab15f19d-ed47-401b-95fb-20fc71d8fa4c" | ||
'revision_uid': { | ||
'type': 'user--user', | ||
'id': 'ab15f19d-ed47-401b-95fb-20fc71d8fa4c' | ||
} | ||
@@ -400,3 +398,3 @@ } | ||
template: '<page-content :content="content"></page-content>', | ||
data() { | ||
data () { | ||
return { | ||
@@ -406,2 +404,2 @@ content | ||
} | ||
}))) | ||
}))) |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
187770
119
1584
26