fiftyone.pipeline.core
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 @@ const evidenceKeyFilter = require("./evidenceKeyFilter"); |
@@ -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 elementData { |
@@ -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 elementData = require("./elementData"); |
@@ -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 url = require("url"); |
@@ -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 evidenceKeyFilter { |
@@ -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. | ||
* ********************************************************************* */ | ||
@@ -25,6 +30,20 @@ | ||
module.exports = new flowElement({ | ||
dataKey: "async", | ||
processInternal: function (flowData) { | ||
class async extends flowElement { | ||
constructor() { | ||
super(); | ||
this.dataKey = "async"; | ||
this.properties = { | ||
string: { | ||
type: "string" | ||
} | ||
} | ||
} | ||
processInternal(flowData) { | ||
let flowElement = this; | ||
@@ -48,8 +67,6 @@ | ||
}, | ||
properties: { | ||
string: { | ||
type: "string" | ||
} | ||
} | ||
}); | ||
} | ||
module.exports = async; |
@@ -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. | ||
* ********************************************************************* */ | ||
@@ -24,6 +29,14 @@ // This flowElement is a dummy for putting in a pipeline after the stopElement (demonstrating that it will never process) | ||
module.exports = new flowElement({ | ||
dataKey: "neverRun", | ||
processInternal: function (flowData) { | ||
class neverRun extends flowElement { | ||
constructor() { | ||
super(); | ||
this.dataKey = "neverRun"; | ||
} | ||
processInternal(flowData) { | ||
let data = new elementDataDictionary({ flowElement: this, contents: { "no": false } }); | ||
@@ -34,2 +47,5 @@ | ||
} | ||
}); | ||
} | ||
module.exports = neverRun; |
@@ -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. | ||
* ********************************************************************* */ | ||
@@ -23,9 +28,21 @@ // This flowElement stops processing of any further flowElements | ||
module.exports = new flowElement({ | ||
dataKey: "stopElement", | ||
processInternal: function (flowData) { | ||
class stop extends flowElement { | ||
constructor() { | ||
super(); | ||
this.dataKey = "stopElement"; | ||
} | ||
processInternal(flowData) { | ||
flowData.stop(); | ||
} | ||
}); | ||
} | ||
module.exports = stop; |
@@ -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. | ||
* ********************************************************************* */ | ||
@@ -25,7 +30,24 @@ // This flowElement runs syncronously and checks the value of the async flowElement in order to demonstrate sync vs async pipelines | ||
module.exports = new flowElement({ | ||
dataKey: "sync", | ||
evidenceKeyFilter: new basicListEvidenceKeyFilter(["header.user_agent"]), | ||
processInternal: function (flowData) { | ||
class sync extends flowElement { | ||
constructor() { | ||
super(); | ||
this.dataKey = "sync"; | ||
this.evidenceKeyFilter = new basicListEvidenceKeyFilter(["header.user_agent"]); | ||
this.properties = { | ||
integer: { | ||
type: "int" | ||
}, | ||
boolean: { | ||
type: "bool" | ||
} | ||
} | ||
} | ||
processInternal(flowData) { | ||
let contents = { integer: 5 }; | ||
@@ -47,11 +69,6 @@ | ||
}, | ||
properties: { | ||
integer: { | ||
type: "int" | ||
}, | ||
boolean: { | ||
type: "bool" | ||
} | ||
} | ||
}); | ||
} | ||
module.exports = sync; |
@@ -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. | ||
* ********************************************************************* */ | ||
@@ -25,2 +30,4 @@ /* | ||
// First require the core Pipeline (change this to `fiftyone.pipeline.core` | ||
// to use the modules from NPM rather than your local code) | ||
let pipelineCore = require("../"); | ||
@@ -34,14 +41,14 @@ | ||
let async = new require("./flowElementsForExamples/async"); | ||
let async = new (require("./flowElementsForExamples/async")); | ||
// A flowElement that runs syncronously which loads a different result if the async one has already finished processing | ||
let sync = new require("./flowElementsForExamples/sync"); | ||
let sync = new (require("./flowElementsForExamples/sync")); | ||
// A flowElement that stops processing | ||
let stop = new require("./flowElementsForExamples/stop"); | ||
let stop = new (require("./flowElementsForExamples/stop")); | ||
// A dummy flowElement to show that subsequent flowElements don't process once the flowData has been stopped | ||
let neverRun = new require("./flowElementsForExamples/neverRun"); | ||
let neverRun = new (require("./flowElementsForExamples/neverRun")); | ||
@@ -48,0 +55,0 @@ // Build a pipeline that runs all its elements in series |
@@ -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 evidence = require("./evidence"); |
@@ -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 evidenceKeyFilterBase = require("./evidenceKeyFilter"); |
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 = { |
{ | ||
"name": "fiftyone.pipeline.core", | ||
"version": "4.1.0-beta.4", | ||
"version": "4.1.0-beta.7", | ||
"description": "Core library for the 51Degrees Pipeline API", | ||
@@ -22,3 +22,3 @@ "directories": { | ||
], | ||
"license": "AGPL-3.0-or-later", | ||
"license": "EUPL-1.2", | ||
"bugs": { | ||
@@ -25,0 +25,0 @@ "url": "https://github.com/51Degrees/pipeline-node/issues" |
@@ -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 flowData = require("./flowData"); |
@@ -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 pipeline = require("./pipeline"); |
@@ -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 flowElement = require("../flowElement"); |
@@ -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 flowElement = require("../flowElement"); |
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
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
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
74608
23
1
90
1662
0
12
2