fiftyone.pipeline.engines
Advanced tools
Comparing version 4.1.0-beta.4 to 4.1.0-beta.7
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ let require51 = (requestedPackage) => { |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ const aspectData = require("./aspectData"); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ class aspectPropertyValue { |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ let os = require("os"); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ const fs = require("fs"); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ class dataKeyedCache { |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ let require51 = (requestedPackage) => { |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -36,3 +41,3 @@ /* | ||
const pipeline = require("fiftyone.pipeline.core"); | ||
const engine = require("../"); | ||
const engine = require(".."); // change this to fiftyone.pipeline.engines in your code | ||
@@ -39,0 +44,0 @@ const lruCache = new engine.lruCache(100); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -21,3 +26,7 @@ /* | ||
This example demonstrates the creation of a custom flow element which takes a birth date as evidence and uses it to check a lookup table for a starsign. This lookup table is stored in a JSON file which is registered using the datafile update service. In this case the file has a simple watcher which checks if the file has changed. | ||
This example demonstrates the creation of a custom flow element which takes a | ||
birth date as evidence and uses it to check a lookup table for a starsign. | ||
This lookup table is stored in a JSON file which is registered using the | ||
datafile update service. In this case the file has a simple watcher which | ||
checks if the file has changed. | ||
@@ -32,4 +41,5 @@ */ | ||
// Next require the engines extension that extends flowElements to support functionality such as auto updating datafiles, caches and missing property services | ||
const FiftyOnePipelineEngines = require("../"); | ||
// Next require the engines extension that extends flowElements to support | ||
// functionality such as auto updating datafiles, caches and missing property services | ||
const FiftyOnePipelineEngines = require(__dirname +"/../"); // Change this to fiftyone.pipeline.engines in your code | ||
@@ -43,3 +53,5 @@ // Astrology flowElement | ||
// Create a datafile including a filesystem watcher that checks if the datafile has changed. Test by changing the names of the starsigns to see it update | ||
// Create a datafile including a filesystem watcher that checks if | ||
// the datafile has changed. Test by changing the names of the | ||
// starsigns to see it update | ||
this.dataFile = new FiftyOnePipelineEngines.dataFile({ flowElement: this, path: datafile, autoUpdate: false, fileSystemWatcher: true }); | ||
@@ -49,5 +61,8 @@ | ||
this.dataKey = "astrology"; // datakey used to categorise data coming back from this flowElement in a pipeline | ||
// datakey used to categorise data coming back from this flowElement in a pipeline | ||
this.dataKey = "astrology"; | ||
this.evidenceKeyFilter = new FiftyOnePipelineCore.basicListEvidenceKeyFilter(["query.dateOfBirth"]); // A filter (in this case a basic list) stating which evidence the flowElement is interested in, in this case a query string | ||
// A filter (in this case a basic list) stating which evidence the | ||
// flowElement is interested in, in this case a query string | ||
this.evidenceKeyFilter = new FiftyOnePipelineCore.basicListEvidenceKeyFilter(["query.dateOfBirth"]); | ||
@@ -59,3 +74,4 @@ // Update the datafile | ||
// A function called when the datafile is updated / refreshed. In this case it simply loads the JSON from the file into the engine's memory. | ||
// A function called when the datafile is updated / refreshed. In this | ||
// case it simply loads the JSON from the file into the engine's memory. | ||
@@ -159,3 +175,3 @@ refresh() { | ||
let astrologyElement = new astrology({ datafile: __dirname + "/astrology.json" }); | ||
let astrologyElement = new astrology({ datafile: (process.env.directory || __dirname) + "/astrology.json" }); | ||
@@ -195,6 +211,7 @@ const http = require('http'); | ||
}); | ||
let portNum = 3000; | ||
let portNum = process.env.PORT || 3000; | ||
console.info("To test this example, browse to http://localhost:" + portNum); | ||
server.listen(portNum); |
31
index.js
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ module.exports = { |
31
lru.js
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ class Node { |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ const dataKeyedCache = require("./dataKeyedCache"); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ class missingPropertyService { |
{ | ||
"name": "fiftyone.pipeline.engines", | ||
"version": "4.1.0-beta.4", | ||
"version": "4.1.0-beta.7", | ||
"description": "Shared base functionality for implementing engines for the 51Degrees Pipeline API", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
], | ||
"license": "AGPL-3.0-or-later" | ||
"license": "EUPL-1.2" | ||
} |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ let engine = require(__dirname + "/../engine"); |
@@ -1,17 +0,22 @@ | ||
/* ******************************************************************** | ||
* Copyright (C) 2019 51Degrees Mobile Experts Limited. | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* ******************************************************************** */ | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
@@ -18,0 +23,0 @@ const dataKeyedCache = require("./dataKeyedCache"); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
50966
18
1207
0
7
18
4